code-smith

The pipeline

Six prompts. One system.

Each prompt handles one stage of building software. Use them in order, pass the output of one into the next, and your AI assistant becomes a full development team.

  1. Step 1

    PRD Generator

    Turn a rough idea into an enterprise-grade Product Requirements Document through batched Q&A across 7 areas.

    In
    Vague idea (one sentence)
    Out
    PRD.md (16 sections)

    Read

  2. Step 2

    Architect

    Reads the PRD and designs the full technical blueprint — tech stack, modules, database, security, deployment. Locks the SSOT every later session reads first.

    In
    PRD.md
    Out
    ARCHITECTURE.md (with SSOT)

    Read

  3. Step 2.5Optional

    Design Spec

    Optional. For user-facing or design-led products. Locks the visual & UX contract — tokens, components, wireframes, motion, a11y. Accepts Figma references.

    In
    PRD.md + ARCHITECTURE.md (+ optional Figma)
    Out
    DESIGN-SPEC.md (with Design SSOT)

    Read

  4. Step 3

    Feature Spec

    A precise contract per complex feature — every endpoint, every state, every edge case, pre-written test descriptions, binary acceptance criteria.

    In
    PRD.md + SSOT
    Out
    specs/FEATURE-SPEC-[F-ID].md

    Read

  5. Step 4

    Agent Workflows

    The daily coding-session prompt. Your AI plays 8 specialists — PM, Architect, Dev, QA, Code Enforcer, Tech Debt, Security, Docs. Updates PROGRESS.md and CHANGELOG.md every session.

    In
    SSOT + active spec + last session memory
    Out
    Updated PROGRESS.md + CHANGELOG.md

    Read

  6. Step 5

    Code Evaluator

    Audits your code against the PRD and Feature Specs before launch. Scores 7 dimensions, gives a grade A–F, and emits a prioritised fix list.

    In
    Code + PRD + Feature Specs
    Out
    Audit Report (scored A–F, fix list)

    Read