agentleFS
pyramidheadsharkpyramidheadshark/claude-scaffold/.claude/skills/design-doc-creator/SKILL.md

design-doc-creator

Skill4 starsChanged 8 months agoMITArchived repositoryView on GitHub

Load when: starting a new project, creating or updating design-doc.md, translating client requirements into structured documentation, filling in the design document template. This skill guides the creation of a complete design document. It is always the first deliverable of any project — before environment setup, before tests, before code. The template lives at templates/design-doc.md in claude-scaffold. Sections 1–5 must be fully resolved before agent writes sections 6–9. Sources may include: - Voice transcript / written description from human - Client…

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 2 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Keep questions specific and answerable.

    line 52
  2. Distinctive:

    Stop when all Business questions in section 1.5 are resolved.

    line 58
  3. Very specific:

    Create dev/status.md using the template

    line 64
  4. Very specific:

    Update dev/status.md with the architectural decision if significant

    line 84
  5. Very specific:

    Never delete old content — mark it as [DEPRECATED] with a date and replacement reference.

    line 86

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Design Doc Creator

When to Load This Skill

Load when: starting a new project, creating or updating design-doc.md, translating client requirements into structured documentation, filling in the design document template.

Purpose

This skill guides the creation of a complete design document. It is always the first deliverable of any project — before environment setup, before tests, before code.

Document Structure (10 Sections)

The template lives at templates/design-doc.md in claude-scaffold.

SectionOwnerWhen
0. Quick SummaryAgent (from inputs)Intake
1. Business ContextHuman + AgentIntake → Iteration
2. Users and RolesHuman + AgentIntake → Iteration
3. Input DataHumanIntake
4. Use Cases / ScenariosHuman + AgentIteration
5. Non-Functional RequirementsHuman + AgentIteration
6. Technical ArchitectureAgentAfter 1–5 approved
7. Test PlanAgentAfter 6 drafted
8. Deployment PlanAgentAfter 6 drafted
9. Open Technical QuestionsAgentOngoing
10. ChangelogAgentEvery update

Sections 1–5 must be fully resolved before agent writes sections 6–9.

Intake Phase Workflow

Step 1: Collect all available inputs

Sources may include:

  • Voice transcript / written description from human
  • Client Excel checklist (use multimodal-router skill if needed)
  • Existing partial documentation
  • Uploaded PDF / Word files

Step 2: Populate template

Fill every section. Mark unknown values as TBD — never leave blanks. Mark resolved items as Agreed.

Step 3: Generate open questions

Categorise as:

  • Business — client/stakeholder must answer
  • Technical — developer decides or researches

Keep questions specific and answerable. Not "what are the requirements?" but "What is the maximum acceptable response latency for the chat endpoint — 2s, 5s, or unconstrained?"

Step 4: Iterate

Re-run steps 2–3 with each batch of answers. Stop when all Business questions in section 1.5 are resolved. Technical questions may remain open during early development.

Step 5: Finalize

  • Change status header from DRAFT → REVIEW
  • Create dev/status.md using the template
  • Set active phase to "Phase 1: Design Document"
  • Seed backlog with first 5 tasks from the design doc

Quality Checklist Before Approval

  • Every scenario in section 4 maps to a .feature file path
  • Every NFR in section 5 has a measurable value or explicit TBD
  • No vague requirements ("system should be responsive", "easy to use")
  • Input data in section 3 has format, volume, and acquisition status
  • Load numbers in section 2 have concrete estimates or TBD
  • Stack choices in section 6 have rationale, not just names
  • All known secrets are listed in section 6.5

Updating an Existing Design Doc

When requirements change:

  1. Update affected sections
  2. Log the change in section 10 (Changelog)
  3. Bump the version (patch for clarifications, minor for new scenarios, major for scope changes)
  4. Update dev/status.md with the architectural decision if significant

Never delete old content — mark it as [DEPRECATED] with a date and replacement reference.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.