/rockets-sdk-config:rockets-from-doc <path/to/spec.md>from rockets-sdk-config
Implement a full project from a requirements document (PRD/spec/RFC). Coordinates planning, orchestrated CRUD generation, business logic, and validation — end to end.
Ships in rockets-sdk-config. Installing the plugin adds it to Claude Code.
Single command to go from spec to working project.
/rockets-from-doc examples/PRD.md
/rockets-from-doc /path/to/spec.md
/rockets-from-doc docs/requirements.md into ./apps/api
Invoke the rockets-planner agent with the spec document. The planner:
.rockets/plan.json (machine-readable, for orchestrate.js)Do NOT duplicate planning logic here. The planner is the single owner of plan creation.
If no project exists at the target path:
node skills/rockets-project-bootstrap/scripts/bootstrap.js --dest <target>
Verify: package.json exists, src/ directory present, dependencies installed, database accessible.
If Agent Teams enabled AND plan has 3+ entities:
→ Form team per CLAUDE.md > Agent Teams section
→ Lead creates tasks with blockedBy from topological sort
→ Teammates self-claim and execute
→ All CRUD generation costs 0 tokens (pure scripts)
Otherwise (sequential fallback):
node skills/rockets-orchestrator/scripts/orchestrate.js \
--project <project-path> \
--spec .rockets/plan.json
→ Topological sort + wave-based execution (0 tokens)
→ Quality gates: stops on validation failure
→ Resume on failure: orchestrate.js --project <path> --resume
For modules listed in plan.json.nonCrud[]:
CRITICAL: Non-CRUD services MUST NOT use DataSource or repositories directly (non-model services must consume model services, never repositories).
Inject CrudService/ModelService from CRUD modules. For aggregation, use getMany() + in-memory processing.
Only exception: DataSource.transaction() for transaction boundaries (workflow services use model services for entity access except DataSource.transaction()).
rockets-business-logic skilldevelopment-guides/BUSINESS_LOGIC_PATTERNS_GUIDE.md# Structural + build validation
node skills/rockets-crud-generator/scripts/validate.js --project <path> --build
# Endpoint smoke test (optional but recommended)
node skills/rockets-runtime-diagnostics/scripts/smoke-test-endpoints.js --project <path>
Return:
| Step | Tool | Tokens |
|---|---|---|
| Plan | rockets-planner (opus) | ~15k |
| Bootstrap | script | 0 |
| CRUD generation | orchestrate.js (scripts) | 0 |
| Business logic | agent (sonnet) | ~10k/module |
| Validation | validate.js (script) | 0 |
| Smoke test | smoke-test-endpoints.js (script) | 0 |
Enforced automatically by validate.js + hooks/hooks.json. See CLAUDE.md Mandatory Engineering Rules for the full list.
agents/rockets-planner.md — owns plan creationskills/rockets-orchestrator/SKILL.md — owns CRUD orchestrationskills/rockets-crud-generator/SKILL.md — owns file generationskills/rockets-business-logic/SKILL.md — owns non-CRUD patternsdevelopment-guides/ROCKETS_AI_INDEX.md — guide routingWhat the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
8 commands in this plugin
/rockets-aclRockets ACL CommandAdd or modify access control for a Rockets SDK resource. Updates AppResource enum, acRules, and Access Query Service with ownership logic via queryServices pattern./rockets-build-fixRockets Build Fix CommandIncrementally fix TypeScript, NestJS, and TypeORM build errors in Rockets SDK projects. Fixes one error at a time and re-checks./rockets-business-logicRockets Business Logic CommandImplement business logic patterns on existing Rockets projects — state machines, workflows, notifications, file uploads, API integrations. Use after CRUD modules are generated./rockets-moduleRockets Module CommandGenerate a complete Rockets SDK module with the 12-file pattern. Creates entity, interfaces, DTOs, adapter, services, controller, and module files. Auto-integrates into project and validates./rockets-planRockets Plan CommandPlan a Rockets SDK feature with architecture, module structure, ACL, and implementation phases. WAIT for user confirmation before writing code./rockets-reviewRockets Review CommandReview code changes against Rockets SDK patterns, access control, and NestJS best practices. Checks module structure, DTOs, security, and TypeScript quality.npx claudepluginhub btwld/skills --plugin rockets-sdk-configOther plugins' commands for the same job