agentleFS
SaehwanParkSaehwanPark/agent-skills-archive/skills/spec-driven-developer/SKILL.md

spec-driven-developer

Skill1 starsChanged 5 months agoMITView on GitHub

Use when implementing, reviewing, or planning changes in a small or mid-sized project that treats SPEC.md, ARCHITECTURE.md, and CHANGELOG.md as lightweight operational state and needs those documents kept aligned with the code.

The file

We split this skill into the rules it gives an agent

12 rules. About 0 are common, 12 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈12

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Keep project intent, current design, and meaningful history synchronized with the work.

    line 8
  2. Distinctive:

    Use the repository's existing equivalents when it uses different filenames or conventions.

    line 9
  3. Distinctive:

    Read applicable project instructions and existing state documents before editing.

    line 13
  4. Distinctive:

    Keep documentation proportional to the change.

    line 14
  5. Distinctive:

    Treat implementation and tests as evidence, not as permission to claim undocumented behavior.

    line 16
  6. Distinctive:

    Update only documents affected by the task:

    line 22
  7. Distinctive:

    If the project adopts this workflow but lacks the core files, use the bootstrap templates to create the smallest useful versions.

    line 34
  8. Distinctive:

    Before implementation, place active intent and observable verification in the project's specification or equivalent when that document …

    line 42
  9. Distinctive:

    After implementation, reconcile the documents with actual behavior and test evidence.

    line 45
  10. Distinctive:

    If two sources disagree, record the inconsistency and avoid guessing which is canonical.

    line 53
  11. Distinctive:

    Keep incomplete work active or planned.

    line 54
  12. Distinctive:

    Stop and ask before proceeding when:

    line 61

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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

Spec-Driven Developer

Keep project intent, current design, and meaningful history synchronized with the work. Use the repository's existing equivalents when it uses different filenames or conventions.

Core rules

  • Read applicable project instructions and existing state documents before editing.
  • Keep documentation proportional to the change; do not introduce an enterprise process.
  • Preserve unrelated entries and concurrent contributors' work.
  • Treat implementation and tests as evidence, not as permission to claim undocumented behavior.
  • Preserve documented constraints unless the user explicitly changes them.
  • Mark uncertainty or partial completion instead of presenting stale material as verified.

Select the documents

Update only documents affected by the task:

  • SPEC.md: intended capabilities, active scope, verification, and deferred work. Read the specification workflow.
  • ARCHITECTURE.md: system structure, ownership, data flow, dependencies, and important invariants. Read the architecture workflow only when the implementation changes one of those concerns.
  • CHANGELOG.md: meaningful user- or contributor-visible history. Read the changelog workflow when the task warrants an entry.
  • TASKS.md or an existing equivalent: short-lived execution details only when the task needs them.

If the project adopts this workflow but lacks the core files, use the bootstrap templates to create the smallest useful versions. Do not create missing files merely because this skill was loaded.

Workflow

  1. Inspect the current documents, implementation, tests, branch, and requested outcome.
  2. Identify the smallest documentation set affected by the change.
  3. Before implementation, place active intent and observable verification in the project's specification or equivalent when that document exists or is being adopted.
  4. During implementation, update active scope only when reality changes materially.
  5. After implementation, reconcile the documents with actual behavior and test evidence.
  6. Record unfinished or rolled-back work honestly; do not erase useful history.
  7. Review the final diff for contradictions among specification, architecture, changelog, implementation, and tests.

Concurrency and partial work

  • Make additive, targeted edits; never overwrite unrelated active items.
  • If two sources disagree, record the inconsistency and avoid guessing which is canonical.
  • Keep incomplete work active or planned. Move it to completed history only after its verification criteria are satisfied.
  • On rollback, restore the active state and explain what remains; retain historical changelog entries unless they are factually wrong.

Stop conditions

Stop and ask before proceeding when:

  • Existing documents prescribe incompatible architectures or scopes.
  • The requested change would silently break a documented invariant.
  • Bootstrapping project-wide state files was not requested and would materially expand the repository's process.
  • Completion cannot be supported by implementation or verification evidence.

Expected output

Report:

  • Documents changed and why each was affected.
  • Verification used to reconcile them with the implementation.
  • Any conflicts, uncertainty, deferred work, or known stale sections.

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.