Claude Skills
CollectionsCompareWorkflowsNominate
Sign inSign up
© 2026 Curated Agent Skills·Learn more about Agent Skills
Back to repository

5d-refine

verified

Stress-test the plan through adversarial review and edge case analysis. Use when: (1) After PLAN phase in 5D-SDD workflow, (2) User wants to 'validate,' 'review,' or 'check' a plan, (3) Before committing significant resources to implementation, (4) Plan exists but hasn't been challenged. This phase catches plan-level errors before they become code-level errors.

View on GitHub

Marketplace

5d-skills-marketplace

tapania/5d-skills

Plugin

5d-skills

Repository

tapania/5d-skills
1stars

skills/5d-refine/SKILL.md

Last Verified

February 1, 2026

Install Skill

Select agents to install to:

Scope:
npx add-skill https://github.com/tapania/5d-skills/blob/main/skills/5d-refine/SKILL.md -a claude-code --skill 5d-refine

Installation paths:

Claude
.claude/skills/5d-refine/
Powered by add-skill CLI

Instructions

# REFINE Phase

Stress-test the plan before committing to specification.

## Stress Test Methods

### 1. Inversion Attack

Argue against the plan:
- "Here's why this will fail: [reasons]"
- "The hidden dependencies are: [list]"
- "This assumes X, but what if X is false?"

Force the user to defend or amend.

### 2. Edge Case Probing

For each core behavior, ask:
- "What happens when [unusual input]?"
- "What if [dependency] is unavailable?"
- "How does this behave at [scale extreme]?"

Document answers or flag as "needs resolution."

### 3. Stakeholder Simulation

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?"

### 4. Dependency Audit (Height)

List everything the plan depends on:
- External services
- Team knowledge/skills (what capabilities must exist?)
- User behaviors
- Business conditions
- Adjacent domain skills that might block progress

Rate each: stable / risky / unknown

### 5. Quadrant Stress Test

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?" |

### 6. Time Trajectory Check

- "How have similar plans failed historically?"
- "What's changing in this domain that affects the plan?"
- "Does this plan transcend and include current approaches, or just replace them?"

### 7. Level Check (Depth)

Ask yourself: Is refinement improving the plan, or is the user defending their original idea with better words?

Signs of defensive refinement:
- Adding complexity to protect core assumptions
- Dismissing objections rather than addressing them
- "T

Validation Details

Front Matter
Required Fields
Valid Name Format
Valid Description
Has Sections
Allowed Tools
Instruction Length:
2663 chars