agentleFS
pitwallspitwalls/pitwall/.claude/skills/sdd/SKILL.md

sdd

Skill4 starsChanged 7 days agoApache-2.0View on GitHub

Spec-Driven Development workflow for significant development efforts in Pitwall: where the spec lives, what it contains, and how the work is tracked in plan.md checkboxes

28 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use bdd, migrate and 6 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • TashanGKDSkill

    bdd

    行为驱动开发(BDD)流程助手。用 Given-When-Then 描述验收标准,包含 Feature 文件管理、步骤定义实现。用户提到 BDD、验收测试、Gherkin 时使用。

    Also in 3 projects that use this

  • LangChainSkill

    migrate

    Bring a person's local coding-agent setup into Robin — past Claude Code and Codex conversations become Robin threads, their standing preferences become personal Robin instructions, and their skills become personal Robin skills. Read this whenever someone asks to import, migrate or move over their sessions, conversations, history, memories, CLAUDE.md, AGENTS.md or skills.

    Also in 4 projects that use this

  • BlockSkill

    plan

    Draft a TDD, PRD, or lightweight plan in the conversation without committing it.

    Also in 4 projects that use this

  • GoogleSkill

    tdd

    Test-driven development. Use when the user wants to build features or fix bugs test-first, mentions "red-green-refactor", or wants integration tests.

    Also in 6 projects that use this

  • Hugging FaceSkill

    implement

    Make tests pass. Invoke after /write-tests produces failing tests.

    Also in 3 projects that use this

  • NVIDIASkill

    research

    Before designing a feature, research how comparable libraries solve the problem, check best practices, known pitfalls, and upstream changes. Use when starting a new feature, investigating an unfamiliar area, or the user asks to research something.

    Also in 4 projects that use this

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 17 edited versions we read keep these.

  • 5

    Distinctive

    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:

    When a pull request changes what was planned, update the plan in the same pull request (add, split or strike items, with a short reason).

    line 52
  2. Distinctive:

    Create an initial feature branch, named after the feature directory (extra info such as a phase is fine).

    line 61
  3. Distinctive:

    Create the feature directory and its artifacts in this branch.

    line 62
  4. Distinctive:

    If review is needed before implementation, open a draft pull request so the specs can be reviewed.

    line 63
  5. Distinctive:

    If later work supersedes unfinished work in an existing feature directory, update that directory's specs to say the remaining work is …

    line 68

“Common” is measured: kept by at least 6 in 10 of the 17 edited versions of this file we could read. “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 Development

For significant development efforts, we use spec-driven development (SDD) to guide the work.

It is fine to skip SDD for small, simple changes.

Feature Directory

The specs and related artifacts for each development effort live in a subdirectory of docs/spec/ called the "feature directory". New feature directories are named <YYYY>-<MM>-<DD>-<name> (the start date), so their age and order are easy to see. Older specs are single files in docs/spec/ (for example editor.md); leave them where they are, and turn one into a feature directory only when a new effort grows it. docs/spec/tile-sdk/ predates this naming and keeps its name.

Artifacts

Within the feature directory, we store the following artifacts:

  • frd.md (Functional Requirements Document): the functional specification. Focus on what users and authors need (requirements, user stories, personas) and avoid technical detail unless it is fundamental to the requirements.
  • hla.md (High-Level Architecture): the overall topology, components, major interfaces, crates involved and how the work fits Pitwall's architecture (docs/spec/architecture.md). No low-level detail such as code samples or exact versions unless it is critical to the architecture. Pseudocode for critical algorithms is allowed.
  • plan.md: the detailed technical plan, with checkboxes for tracking the work as it is completed. Every item has a definition of done that can be checked objectively. If phasing is appropriate, describe the phases here, in one plan file or several. This is where progress is tracked: tick a box in the same pull request that finishes the item, and link that pull request next to it.

A spec that was written before this skill (such as docs/spec/tile-sdk/, whose README.md holds the requirements and the architecture) doesn't need splitting into frd.md and hla.md; give it a plan.md and keep the rest.

Most efforts involve one or more low-level design (LLD) documents with more detailed specifications for specific components, algorithms or interfaces. Store them in the feature directory with descriptive names (e.g. something-lld.md). As a rule, the plan includes writing any missing LLD documents as part of the work, and links to them.

Other artifacts (background research, UI concepts, API specifications, data models, diagrams, measurements) may be stored in the feature directory as needed.

Tracking progress

  • plan.md is the single place for progress. Don't keep a second tracker elsewhere.
  • Each checkbox item names its definition of done. Tick it only when that holds on main, and add the pull request number: - [x] WIT 0.1 compiles and a hello tile renders (#123).
  • Agents working in parallel each tick only their own items, so concurrent edits rarely touch the same lines.
  • When a pull request changes what was planned, update the plan in the same pull request (add, split or strike items, with a short reason).
  • Pitwall's rule that a feature is done only when its website docs match applies here too: a phase's docs items are part of its checklist.

Branching Model

Work driven via SDD is done in one or more feature branches. The general pattern is:

  1. Create an initial feature branch, named after the feature directory (extra info such as a phase is fine).
  2. Create the feature directory and its artifacts in this branch.
  3. If review is needed before implementation, open a draft pull request so the specs can be reviewed.
  4. The first push of work uses that existing branch.
  5. The SDD artifacts are merged together with the work itself.
  6. Further work per the specs is done in additional feature branches, tracked in the existing plan files. Changing the artifacts when requirements, architecture or plan change is encouraged.
  7. If later work supersedes unfinished work in an existing feature directory, update that directory's specs to say the remaining work is superseded and by what.

Pitwall's usual rules apply to every branch: Conventional Commits, no cargo fmt, and pull requests merged to main when CI passes.

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.