Knowledge
Search knowledge... ⌘K
Knowledge · Framework · Capabilities
Automation
Code generation recipe — HOW to regenerate this function for new entities. The meta-capability: automation of automation. Every function can be templated.
Overview
Code generation recipe — HOW to regenerate this function for new entities. The meta-capability: automation of automation. Every function can be templated.
Automation eliminates repetitive development tasks through CLI commands, code generation, and governance hooks. In SBX, the sbx CLI wraps platform tools (Go, npm, Playwright) with workspace-aware context and governance enforcement. Pre-commit hooks, conformance checks, and SDLC state machine transitions are all automated to reduce manual error and enforce workflow.
Layer Guidance
- PD
- template: validate_{entity}_field, params: {entity, constraints}
- MD
- template: crud_create, params: {entity, table, schema, columns}
- SI
- template: api_handler_create, params: {entity, route, auth_role}
- UI
- template: entity_form, params: {entity, attributes, validation_rules}
Examples
- Component auto-generation sbx generate component