Agent skill
speclet-consolidate
Merge accepted council feedback into draft.md and keep review artifacts separate
Install this agent skill to your Project
npx add-skill https://github.com/danielcastro-dev/speclet/tree/main/.opencode/skill/speclet-consolidate
Metadata
Additional technical details for this skill
- phase
- planning
- workflow
- speclet
SKILL.md
Speclet Consolidate Skill
Merge accepted Council feedback into a spec-ready draft.md without copying the full Council Review content.
What I Do
- Read
.speclet/draft.mdand.speclet/council-summary.md - Apply Accepted council decisions into the base draft
- Support explicit overrides for accept/reject/defer decisions and story removal
- Update
.speclet/council-summary.mdwith final status - Keep review artifacts separate (never append to
draft.md)
When to Use Me
Use this after running speclet-council and before speclet-spec:
Use the speclet-consolidate skill
Inputs
.speclet/draft.md(required unless--target-draftoractiveTicketis used).speclet/council-summary.md(required).speclet/council-session.md(optional)- Overrides (optional):
--accept,--reject,--defer,--exclude-story,--target-draft
Overrides
Supported overrides:
--accept C2,C4--reject C3--defer C5--exclude-story STORY-3--target-draft path/to/draft.md
If overrides conflict with council-summary.md, overrides win.
Ticket Workflow Notes
- When
activeTicketis set, consolidation should target.speclet/tickets/<activeTicket>/draft.mdby default. - Use
--target-draftto override the ticket path explicitly when needed.
Your Task
Step 1: Validate Inputs
- Ensure
council-summary.mdexists - Resolve the draft path in this order:
- If
--target-draftis provided, use that file - If
activeTicketis configured, use.speclet/tickets/<activeTicket>/draft.md - Otherwise, use
.speclet/draft.md
- If
- Ensure the resolved draft exists before proceeding
Step 2: Parse Council Summary
- Extract decisions and statuses
- Build a list of Accepted items to apply
- Apply overrides (accept/reject/defer)
Step 3: Apply Accepted Changes
- Update draft scope, stories, or acceptance criteria based on accepted decisions
- If
--exclude-storyis set, remove the story from the draft and note it in decisions - Add or update a Council Decisions block in the draft (summary only)
Step 4: Update Council Summary
- Append the resolved status (Accepted/Rejected/Deferred) for each item
- Record overrides used
Step 5: Output
- Updated
draft.md(spec-ready) - Updated
council-summary.md
Output Format
Council Decisions Block (in draft)
## Council Decisions
- Accepted: C1, C3
- Rejected: C2
- Deferred: C4
- Overrides: --exclude-story STORY-3
Notes
- This skill never writes the full review into
draft.md. - Use
speclet-specimmediately after consolidation.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
speclet-loop
Deprecated. Use /ralph-loop instead.
speclet-draft
Generate a collaborative draft document with clarifying questions for a new feature
speclet-spec
Convert a draft document into an executable spec.json with trackable stories
speclet-council
Run parallel multi-model reviews on .speclet/draft.md and emit Council artifacts
speclet-ticket
Convert a large draft into individual tickets for isolated implementation sessions
speclet-learn
Generate explanatory lessons after completing speclet stories to develop mechanical coding fluency
Didn't find tool you were looking for?