Development Case Pattern

Pattern for software development with spec-first approach and TDD cycles.

Overview

Use Case: Software features, system components, API development
Duration: 2-8 weeks per feature
Artifact Focus: Intellectual (specs) → Product (code) → Capital (libraries)

Stages

1. Specification

Purpose: Define requirements and architecture
Entry Sentry: Feature request approved
Exit Sentry: All specs approved (ADR, PRD, SDS)

Tasks:

Artifacts:

2. Design

Purpose: Technical design and API contracts
Entry Sentry: Specs approved
Exit Sentry: Design reviewed and approved

Tasks:

Artifacts:

3. Implementation

Purpose: Write code and tests
Entry Sentry: Design approved
Exit Sentry: All tests passing

Tasks:

Artifacts:

4. Verification

Purpose: Validate correctness
Entry Sentry: Implementation complete
Exit Sentry: All verification passed

Tasks:

Artifacts:

5. Deployment

Purpose: Release to production
Entry Sentry: Verification passed
Exit Sentry: Deployed and monitored

Tasks:

Artifacts:

PM-Agent Configuration

1
2
3
4
5
6
7
pm_agent:
  knowledge_base: codebase-context
  assignment_rules:
    - Spec creation → Human (requires domain knowledge)
    - Code generation → AI (code-generator-g3)
    - Code review → Human (quality oversight)
    - Testing → AI (test-runner-g3)

Example Case

1
2
3
4
5
6
7
8
9
10
case:
  id: case-payment-feature
  template: development_case_pattern
  desired_outcome: "Payment processing feature deployed"
  duration: 4 weeks
  members:
    - human: tech-lead
    - human: developer-001
    - ai: code-generator-g3
    - ai: test-runner-g3

Last Updated: January 2026