Instruction file imported from solixcorp/mont (
.cursor/rules/spec-graph.mdc). Copyright stays with the author.
spec-graph
This project uses spec-graph for requirements, decisions, phases, and delivery tracking.
Layout
- Graph data:
.spec-graph/entities/{type}/{id}.toml(committed) - SQLite index:
.spec-graph/graph.db(gitignored, auto-rebuilt) - Agent skills:
.agents/skills/spec-graph,spec-planner,spec-executor,spec-verifier
Agent workflow
- Plan — use
spec-plannerto register REQ/DEC/PHS andcoversrelations - Implement — use
spec-executorto add API/STT/TST anddeliversrelations as work completes - Verify — use
spec-verifierbefore marking a phaseresolved
CLI rules
- Run
spec-graph impact <ID>before changing an entity or its relations - Run
spec-graph validateafter graph edits - Parse JSON stdout; exit code 2 means validation/gate failure
- Never edit
.spec-graph/graph.dbdirectly - Commit
.spec-graph/entities/after each logical graph change
Install / update skills
bunx --bun skills add https://github.com/tyeongkim/spec-graph.git --skill '*' --agent cursor -y