Stress-test plans through adversarial review and edge case analysis. Inversion attacks, stakeholder simulation, and dependency audits catch plan-level errors before coding. Invoke via /5d-refine after PLAN phase.
Ships in tapania-5d-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Stress-test the plan before committing to specification.
Argue against the plan:
Force the user to defend or amend.
For each core behavior, ask:
Document answers or flag as "needs resolution."
Roleplay different perspectives:
Skeptical Engineer: "This seems over-engineered. Why not just [simpler approach]?"
Impatient PM: "When will this ship? What's the MVP?"
Confused User: "I don't understand how to [core action]."
Ops On-Call: "How do I debug this at 3am?"
List everything the plan depends on:
Rate each: stable / risky / unknown
Probe each quadrant for weaknesses:
| Quadrant | Stress Question |
|---|---|
| Individual Inner | "What understanding gaps exist?" |
| Collective Inner | "Where might stakeholders disagree?" |
| Individual Outer | "What artifacts are under-specified?" |
| Collective Outer | "What system constraints are ignored?" |
Ask yourself: Is refinement improving the plan, or is the user defending their original idea with better words?
Signs of defensive refinement:
If defensive: return to SPAR.
## Refinement Summary
**Stress tests passed:**
- [test]: [how addressed]
**Edge cases documented:**
- [case]: [planned handling]
**Dependency risks:**
- [dependency]: [risk level] - [mitigation]
**Plan amendments:**
- [change made based on refinement]
**Unresolved issues:**
- [issue]: [why deferred / needs more info]
**Ready for SPEC phase:** [yes/no]
Proceed to SPEC when:
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
plan-review, adversarial-testing, edge-case-analysis, 5d-sdd, refinement
Other plugins' skills for the same job
12 skills in this plugin
/5d-buildExecute implementation tasks with quality and awareness. Use when: (1) After TASKS phase in 5D-SDD workflow, (2) Tasks are defined and sequenced, (3) User is ready to write code, (4) User asks to 'implement,' 'build,' or 'code' a task. This phase produces working code while maintaining connection to spec intent./5d-gap-analysisAnalyze the gap between current state and specification to identify all required changes. Use when: (1) After SPEC phase in 5D-SDD workflow, (2) Spec exists and implementation is about to begin, (3) User asks 'what needs to change' or 'what's the delta,' (4) Assessing scope of work. This phase prevents surprise discoveries during implementation./5d-orientPre-development orientation and assumption mapping for spec-driven development. Use when: (1) Starting a new feature or project, (2) User says 'let's build X' without prior analysis, (3) Beginning any 5D-SDD workflow, (4) User wants to 'think through' an idea before planning. This phase prevents wasted effort by surfacing hidden assumptions and identifying all relevant domains before committing to a direction./5d-planConvert expanded thinking into a concrete, multi-perspective plan. Use when: (1) After SPAR phase in 5D-SDD workflow, (2) User is ready to define what will be built, (3) User asks to 'write up the plan' or 'document what we're building,' (4) Transitioning from exploration to commitment. This phase creates the authoritative description of intent before technical specification./5d-reflectExtract learning from completed work to improve future cycles. Use when: (1) After VERIFY phase shows feature complete, (2) End of development iteration, (3) User asks for 'retrospective,' 'lessons learned,' or 'what went well/wrong,' (4) Before starting next major feature. This phase prevents repeating mistakes and compounds learning./5d-sdd5D Spec-Driven Development - A complete methodology for building software through structured phases. Use when: (1) User wants to build something non-trivial, (2) User mentions '5D' or 'spec-driven development,' (3) Starting a new project or feature that needs careful planning, (4) User wants a structured approach to development. This skill orchestrates the full workflow across 10 phases from orientation to reflection./tapania-5d-skills:5d-refinefrom tapania-5d-skills
tapania-5d-skills@cascade-code-general-misc-3 is listed by joshuarweaver/cascade-code-general-misc-3 — review the source before installing
npx claudepluginhub joshuarweaver/cascade-code-general-misc-3 --plugin tapania-5d-skills