Workshop Studio
participantPublic visitor

SDLC 2: Design

In Phase 1 you turned messy stakeholder input into a decomposed backlog: prioritized requirements, user stories, and units with task-comments marked ACTIVE. Everything in Phase 1 was cross-unit — describing the whole project, not any one feature.

Phase 2 is where the work narrows. From here through Phase 3 you build one unit at a time. The first per-unit artifact is the feature spec: a precise contract for what the ACTIVE unit must do. Once the spec is validated, you explore the codebase, design an architecture to host the feature, capture decisions, and pass a design review gate.

By the end of this phase, the ACTIVE unit is fully specified and fully designed — ready for tests and code in Phase 3.

  • Write a feature spec for the ACTIVE unit and validate it against five quality dimensions
  • Package the validation prompt as a reusable /validate-spec skill
  • Explore a codebase and generate an architecture plan with trade-off analysis
  • Document architecture decisions in ADRs
  • Update CLAUDE.md as a minimal project pointer file
  • Run a design review gate before implementation

Phase 1 produced a backlog with task-comments marked ACTIVE. Now you need to turn that one backlog entry into a precise, per-unit contract. You write the feature spec, validate it, then explore the existing Express codebase — its routes, data layer, middleware patterns, and conventions. Armed with both the spec and the codebase context, you propose an architecture plan with trade-offs, capture decisions in an ADR, update CLAUDE.md, and pass a design review gate before implementation begins.

📝 stories.md
Acceptance criteria
📄 Spec
task-comments.md
📦 backlog.md
task-comments ACTIVE
✅ /validate-spec
Five-dimension gate
🏗️ Architecture
task-comments.md
Where comments fit, trade-offs
🔍 Codebase Exploration
Routes, data layer, patterns
📋 ADR-001-task-comments.md
Decision record
📌 CLAUDE.md updated
Points to active work
✅ Design Review Gate
Scope, simplicity, consistency
FileDescription
requirements/stories.mdUser stories with acceptance criteria
requirements/backlog.mdUnit decomposition — task-comments marked ACTIVE
FileDescription
docs/specs/task-comments.mdFeature spec for the ACTIVE unit — the implementation contract
.claude/skills/validate-spec/SKILL.mdReusable five-dimension spec validator
docs/architecture/task-comments.mdCodebase analysis, trade-offs, chosen approach, error format, response shapes
docs/adr/ADR-001-task-comments.mdArchitecture Decision Record — reasoning captured (optional)
CLAUDE.md (updated)Project personality — pointers to active work and design artifacts

Phase 3 reads the spec, architecture plan, and acceptance criteria to generate tests and implement.