.agents/skills/design-practice/SKILL.md
Apply the 6-phase design framework (Describe, Diagnose, Delimit, Direction, Design, Develop) to understand a problem before implementing a solution.
npx skillsauth add charly-vibes/wai design-practiceInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Apply the 6-phase design framework to understand a problem before implementing a solution.
Work through each phase sequentially. Do not skip phases. The goal is understanding, not artifacts.
Objective: Capture the reality without imposing solutions.
Gather signals:
Write a neutral description:
Output format:
## Description
### Observed Symptoms
- [Symptom 1]: [Where/When observed]
- [Symptom 2]: [Where/When observed]
### Signal Sources
- [Bug reports, logs, user complaints, metrics]
### Timeline
- [When symptoms first appeared, any patterns]
Anti-patterns to avoid:
Correct examples:
Objective: Identify the mechanism causing the symptoms.
Generate multiple hypotheses:
Test hypotheses systematically:
Write the Problem Statement:
Problem Statement Template:
## Problem Statement
**Current behavior:** [What happens now - factual]
**Mechanism:** [Root cause - how/why it happens]
**Evidence:**
- [Fact supporting this diagnosis]
- [Fact supporting this diagnosis]
**Ruled out:**
- [Hypothesis A]: [Why it's not this]
- [Hypothesis B]: [Why it's not this]
Quality check: The solution should feel obvious after writing the right problem statement. If it doesn't, the diagnosis is incomplete.
Objective: Define what's in and what's out.
Set explicit boundaries:
Document non-goals:
Output format:
## Scope
### In Scope
- [What we will address]
- [Specific constraints we'll work within]
### Out of Scope (Non-Goals)
- [What we explicitly won't do]
- [Why it's deferred]
### Constraints
- [Technical limitations]
- [Time/resource constraints]
- [Compatibility requirements]
Why this matters: Prevents scope creep. Sets the "physics" of the project before considering solutions.
Objective: Select the best approach from viable alternatives.
Generate multiple approaches:
Build a Decision Matrix:
Decision Matrix Structure:
## Decision Matrix
| Criterion | Status Quo | Approach A | Approach B |
|-----------|------------|------------|------------|
| [Criterion 1] | [Fact] | [Fact] | [Fact] |
| [Criterion 2] | [Fact] | [Fact] | [Fact] |
| [Criterion 3] | [Fact] | [Fact] | [Fact] |
### Criteria Definitions
- **[Criterion 1]**: [What this measures]
- **[Criterion 2]**: [What this measures]
### Assessment Key
- Green: Desirable
- Yellow: Acceptable with trade-offs
- Red: Problematic or blocking
Rules for Decision Matrix:
### Decision
**Selected approach:** [Approach name]
**Rationale:** [Why this approach best addresses the scoped problem]
**Trade-offs accepted:** [What we're giving up]
Objective: Create detailed blueprint for implementation.
Only after Direction is selected:
Define specifics:
Write Implementation Plan:
Use the standard implementation plan format with:
Hammock time: Write the plan, then sleep on it. Read it the next day before proceeding.
Objective: Translate design into working code.
If Phases 1-5 were rigorous, this phase should feel mechanical:
If you're struggling in this phase: Return to earlier phases. Struggling to code usually means the design is incomplete.
testing
Compare original and distilled prompts to verify the distillation is faithful and lossless. Checks completeness, accuracy, and appropriate conciseness.
development
Implement features following Test-Driven Development methodology. Red-Green-Refactor cycle with phased approach and verification at each step.
development
Orchestrate multi-agent code review with three waves - parallel analysis, cross-validation, and convergence check. Simulates specialist reviewers and synthesizes findings.
development
Apply Steve Yegge's Rule of 5 iterative review to any artifact - code, plans, research, issues, specs, or documents. Five stages from draft through excellence.