diff options
| author | Jesse Vincent <jesse@fsck.com> | 2026-02-08 12:30:27 -0800 |
|---|---|---|
| committer | Jesse Vincent <jesse@fsck.com> | 2026-02-08 16:50:24 -0800 |
| commit | b0519329dfc3776fc96ba1d3dd69b7a444845129 (patch) | |
| tree | 02c1260365261237845f6b1ee299d993c706b81c | |
| parent | 6ca430a0d37101574f7bd32c89252dc6e435d059 (diff) | |
feat: add architecture and file size checks to review loopswip/architecture-guidance
Spec reviewer now checks for unit decomposition with clear boundaries.
Plan reviewer now checks file structure and whether files will grow
too large to reason about.
| -rw-r--r-- | skills/brainstorming/spec-document-reviewer-prompt.md | 2 | ||||
| -rw-r--r-- | skills/writing-plans/plan-document-reviewer-prompt.md | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/skills/brainstorming/spec-document-reviewer-prompt.md b/skills/brainstorming/spec-document-reviewer-prompt.md index afc224a..6a97a17 100644 --- a/skills/brainstorming/spec-document-reviewer-prompt.md +++ b/skills/brainstorming/spec-document-reviewer-prompt.md @@ -23,6 +23,7 @@ Task tool (general-purpose): | Consistency | Internal contradictions, conflicting requirements | | Clarity | Ambiguous requirements | | YAGNI | Unrequested features, over-engineering | + | Architecture | Units with clear boundaries, well-defined interfaces, independently understandable and testable | ## CRITICAL @@ -30,6 +31,7 @@ Task tool (general-purpose): - Any TODO markers or placeholder text - Sections saying "to be defined later" or "will spec when X is done" - Sections noticeably less detailed than others + - Units that lack clear boundaries or interfaces — can you understand what each unit does without reading its internals? ## Output Format diff --git a/skills/writing-plans/plan-document-reviewer-prompt.md b/skills/writing-plans/plan-document-reviewer-prompt.md index 8def5a3..ce36cba 100644 --- a/skills/writing-plans/plan-document-reviewer-prompt.md +++ b/skills/writing-plans/plan-document-reviewer-prompt.md @@ -22,6 +22,8 @@ Task tool (general-purpose): | Completeness | TODOs, placeholders, incomplete tasks, missing steps | | Spec Alignment | Chunk covers relevant spec requirements, no scope creep | | Task Decomposition | Tasks atomic, clear boundaries, steps actionable | + | File Structure | Files have clear single responsibilities, split by responsibility not layer | + | File Size | Would any new or modified file likely grow large enough to be hard to reason about as a whole? | | Task Syntax | Checkbox syntax (`- [ ]`) on steps for tracking | | Chunk Size | Each chunk under 1000 lines | @@ -32,6 +34,7 @@ Task tool (general-purpose): - Steps that say "similar to X" without actual content - Incomplete task definitions - Missing verification steps or expected outputs + - Files planned to hold multiple responsibilities or likely to grow unwieldy ## Output Format |
