Skip to content

Commit 519f8fc

Browse files
jwaldripclaude
andcommitted
fix(plugin): enforce full unit display during elaboration review
The agent was truncating unit specs during Phase 6 review, showing only the title without the description and other sections. Strengthened the Step B instructions to explicitly require displaying all body sections and added a self-check directive to catch truncation. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent ddbe403 commit 519f8fc

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

plugin/skills/elaborate/SKILL.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -950,16 +950,18 @@ For each unit (in dependency order — units with no `depends_on` first):
950950

951951
**Step A — Write the unit file** to `.ai-dlc/{intent-slug}/unit-NN-{slug}.md`.
952952

953-
**Step B — Present the full unit for review.** Display the **complete file contents** — every line of the markdown, not a summary. Use a fenced code block so the user sees exactly what will be committed:
953+
**Step B — Present the full unit for review.** Read the file you just wrote and display its **complete contents** — every single line including frontmatter, description, technical specification, success criteria, risks, boundaries, and notes. Do NOT summarize, truncate, or show only the title. The user must see exactly what will be committed. Use a fenced code block:
954954

955955
```
956956
### Unit NN: {Unit Title}
957957
958958
```markdown
959-
{full contents of unit-NN-{slug}.md — frontmatter and body, every line}
959+
{Read and paste the ENTIRE contents of unit-NN-{slug}.md — all frontmatter fields AND all body sections. Every line, no exceptions.}
960960
```
961961
```
962962
963+
**CRITICAL: If your output only shows the unit title or frontmatter without the body sections (Description, Technical Specification, Success Criteria, etc.), you have truncated the output. Go back and display the full file.**
964+
963965
**Step C — If the unit has `discipline: frontend`, open its wireframe in the browser** so the user can review the visual alongside the spec:
964966
965967
```bash

0 commit comments

Comments
 (0)