agentleFS
monaccodemonaccode/astromesh-sdd/skills/sdd-implement/SKILL.md

sdd-implement

Skill0 starsChanged 29 days agoApache-2.0View on GitHub

Use when tasks.md exists with unchecked tasks. Implements exactly one task at a time - test first where the check is a test - runs its check, and only then ticks it. Sends any new or changed requirement back to the spec before coding it.

2 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions2 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 2

    1. ad1code/sdd-harness★ 4same name
    2. pchemguy/Skill-SDD-Manager★ 0same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository7 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 2 are distinctive, and 4 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.

  • 4

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Before anything else, read these if they exist.

    line 13
  2. Very specific:

    Write every artifact in language.

    line 22
  3. Distinctive:

    Test first: If the task's check is a test, write that test now and run it.

    line 31
  4. Very specific:

    Tick it: only on a passing check: - [x] T-n — … — done YYYY-MM-DD.

    line 38
  5. Very specific:

    If the work reveals a requirement the spec does not have — a missing case, a changed behavior, a constraint nobody wrote down — stop coding.

    line 46
  6. Very specific:

    When every task is ticked, say so and hand over to sdd-verify.

    line 60

≈ “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

SDD — Implement

Implementation follows tasks.md one task at a time. A task is done when its check passed in this session — not when the code looks right.

Step 0 — Load project settings

Before anything else, read these if they exist. Missing files are normal; use the defaults.

  1. .sdd/config.yaml in the project, else ~/.sdd/config.yaml. Defaults: specs_dir: specs, language: en, ids: {requirement: REQ, task: T}, gates: [specify, plan, tasks], verify_command: "", phases: [constitution, specify, plan, tasks, implement, verify].
  2. Extra rules: .sdd/rules/all.md and .sdd/rules/implement.md (project, then global). They add to this skill; when they conflict with it, they win.

Write every artifact in language. Use the configured ID prefixes everywhere this skill says REQ or T.

The loop

For each task:

  1. Pick the first unticked task whose depends are all ticked, or the one the user names. Read the requirements it cites in spec.md and the matching plan steps.
  2. Test first. If the task's check is a test, write that test now and run it. It must fail, and fail because the behavior is missing (not because of a typo or an import error). A test that passes before the code exists is not testing the task.
  3. Implement the minimum that makes the check pass. Do not build ahead of the tasks.
  4. Run the task's check and read the output. Compare it with the expected result in tasks.md. Also run the project's test suite (verify_command, else the constitution's test command) — a green task with a red suite is not done.
  5. Tick it only on a passing check: - [x] T-n — … — done YYYY-MM-DD. Never tick a task whose check you did not run.
  6. Commit that task alone, citing it: feat: <title> (T-n, REQ-a).
  7. Report k/N tasks done in one line and continue with the next task, unless the user asked to pause or a gate applies.

Spec first

If the work reveals a requirement the spec does not have — a missing case, a changed behavior, a constraint nobody wrote down — stop coding. Add it to spec.md following the "Changing a spec" rules of sdd-specify (the next free ID; IDs never renumber), get the user's approval if specify is gated, add the plan step and the task, then continue. Code that implements a requirement the spec does not contain is invisible to verification.

When a check fails

Find the cause before changing anything. If the code is wrong, fix the code. If the task or the plan is wrong (impossible check, wrong file, missing dependency), fix tasks.md or plan.md first and say so — do not quietly change what "done" means.

Finishing

When every task is ticked, say so and hand over to sdd-verify.

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.