grace-generate
Installation
SKILL.md
Generate code for the module specified by the user.
Prerequisites
docs/development-plan.xmlmust contain this module's contractdocs/knowledge-graph.xmlmust have this module registered- If either is missing, tell the user to run
$grace-planfirst
Process
Step 1: Load Context
Use the smallest complete context that still preserves contract fidelity.
- In standalone generation, read:
- the target module's entry in
docs/knowledge-graph.xml - all modules it depends on
- the contracts of those dependency modules
- the target module's entry in
- In controller-driven multi-agent generation, treat the controller's execution packet as the primary source of truth
- If the packet already contains the module contract, graph entry, dependency summaries, write scope, and verification command, do not reread the whole plan and graph again
- Read extra local files only when needed to implement the assigned module correctly