Loading...
Loading...
Validate a Steedos package after creation or modification. Run this tool to check that all files conform to Steedos conventions: correct naming, required fields, valid enum values, proper file organization. TRIGGER: After creating or modifying files in a Steedos package (objects, fields, buttons, triggers, functions, listviews, permissions, apps, tabs, pages). Run before completing the task to catch issues early. SKIP: When only reading files, answering questions, or working outside a Steedos package context.
npx skill4agent add steedos/steedos-platform steedos-validate-packagepackage.json{
"devDependencies": {
"@steedos/validate": "latest"
},
"scripts": {
"validate": "steedos-validate"
}
}yarn add --dev @steedos/validate
# or
npm install --save-dev @steedos/validate# Validate a single package
yarn validate steedos-packages/my-package
# Or use npx without installing
npx @steedos/validate steedos-packages/my-package
# JSON output (for CI)
yarn validate steedos-packages/my-package --jsonpackage.jsonmain: package.service.jspackage.service.jspackageLoadernamespacepackageInfo.object.ymlnamelabeliconnameiconnameis_name.field.ymlnametypelabelname.field.ymltypeselectlookupsummaryformula.trigger.ymlnamelistenTowhentypeisEnabledhandlertype"code"whentriggers/objects/.function.ymlnameobjectApiNameisEnabledis_restscriptfunctions/objects/.button.ymlnamelabelonamis_schematype"amis_button"amis_schematype"service"label_zhstandard_deletevisible: false.listview.ymlnamelabel.permission.ymlnamepermission_set_id.app.ymlnamecodetabs.tab.ymlnamelabel.page.yml.page.amis.json| Error | Fix |
|---|---|
| Wrap amis_schema with |
| Move trigger files to |
| Move function files to |
| File name must match |
| Remove |
| Create matching |