This skill guides spec development through collaborative, research-first discussion, documenting decisions before execution and ensuring user-driven choices.
npx playbooks add skill wilddeer/specops --skill spec-development
Research and develop specs through collaborative discussion. Spec-first approach - no jumping to action. Every process gets specced before implementation.
Announce at start: "Using spec-development. What are we speccing?"
When spec is ready: Switch to spec-execution skill to execute it.
---
The user has decision-making authority, not the agent. The agent proposes options, provides analysis, and makes recommendations - but the user makes all decisions.
Agent responsibilities:
> Tool tip: When presenting options or asking for choices, use structured question tools when available (AskQuestion, AskUserQuestion or similar). These provide a better UX than plain text options.
Never assume a decision on behalf of the user:
Even when confident, confirm:
When user input is ambiguous, assume they want to discuss, not act.
User says: "the screenshot process needs work"
User says: "add priority to the table"
Never use vague or undefined terms. If a concept isn't defined, define it first.
Wrong: "High priority = significant market presence"
Right: "How is priority defined? Proposal: High = 3+ sources, Medium = 2, Low = 1"
Never make changes without showing exactly what will change and getting confirmation.
Pattern:
Don't bundle multiple changes or questions. Each message should address one thing.
Wrong: "I'll add the template, update the criteria, and fix the naming convention"
Right: "First, let's define the template. Here's what I propose: [show]. Does this work?"
Document why decisions were made, not just what was decided.
In specs, include rationale:
**Priority criteria:**
- High: 3+ sources
- Medium: 2 sources
- Low: 1 source
> Rationale: Based purely on mention frequency. Simple, concrete, measurable.
Never guess or infer. Always research and check.
Link to existing specs instead of restating. Keep specs DRY.
Wrong: Copy the criteria into every research doc
Right: > Spec: [../README.md](../README.md)
If a process will repeat, create a template in the spec.
Templates should include:
Log what's defined, ask about the rest.
Log without asking:
Ask before logging:
Pattern:
Wrong: Assume everything should be logged and document without asking
Wrong: Skip logging something potentially valuable without asking
Right: "I checked for similar issues in other files and found none. Should I log this investigation?"
---
Every spec development starts with a research file. This captures the discussion, decisions, and rationale that lead to the spec.
Actions:
[year]-[month]-[day]-[work-name])research.md before any discussion or investigationThis is blocking - do not proceed until research file exists.
Research file template: [assets/research-template.md](assets/research-template.md)
Investigate and discuss until the spec can be written with no ambiguity.
Activities:
Update research file immediately after each:
Rules:
Before writing the spec, explicitly confirm with the user:
> "I believe research is complete. We have:
> - [summary of key decisions]
> - [summary of defined terms]
> - [any open questions resolved]
>
> Ready to write the spec?"
Do not proceed to spec writing without user confirmation.
The user decides when research is complete. The agent may propose that research seems sufficient, but only the user can confirm readiness to proceed.
Create spec.md in the same folder as research.
Spec template: [assets/spec-template.md](assets/spec-template.md)
Required sections:
Optional sections (add as needed):
After all sections are written, ask the user to approve the spec as final:
> "The spec is drafted. All sections complete. Is this spec approved and ready for execution?"
The user decides when the spec is ready. Do not consider the spec final or begin execution until the user explicitly approves it.
---
Every spec must include an execution plan. Before finalizing, propose the execution mode and get user confirmation:
> "For execution, I recommend [Direct/Subagents] because [reason]. Does this work?"
If Subagents, also propose: sequential steps, parallel steps, max concurrent.
Recommendation guidelines:
The user decides. Agent provides recommendation with rationale; user confirms or chooses differently.
---
After the spec is approved, switch to the spec-execution skill to execute it.
| Situation | Action |
|-----------|--------|
| Spec approved and ready | Switch to spec-execution |
| User wants to start executing | Switch to spec-execution |
| Gap found during execution | Return here to fill the gap, then back to execution |
---
Don't do these:
| Anti-Pattern | Instead |
|--------------|---------|
| Jump to editing when user mentions a file | Ask what they want to change |
| Use undefined terms ("market presence") | Define terms first |
| Bundle multiple changes | One change at a time |
| Assume file contents | Read the file |
| Guess at commands | Check documentation |
| Say "I'll do X, Y, and Z" | "First, let's address X. [details]. OK?" |
| Start writing spec without research file | Create research file first |
| Write spec before user confirms research complete | Confirm research complete first |
---
Before taking any action:
Weekly roundup of top Claude Code skills, MCP servers, and AI coding tips.