agentleFS
tmussertmusser/ai-engineering-skills/skills/build-one/SKILL.md

build-one

Skill4 starsChanged 3 months agoMITView on GitHub

Implement exactly one planned slice after scope is frozen, without exceeding the spec ceiling or carrying known analysis debt into the build.

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    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:

    Use after a task is selected and scope is frozen.

    line 14
  2. Very specific:

    Read SPEC.md, PLAN.md, and TODO.md.

    line 27
  3. Distinctive:

    Do not broaden discovery merely to prove that analysis is unnecessary.

    line 35
  4. Very specific:

    If full analysis returns BLOCKED, stop before implementation and resolve the contradiction or decision.

    line 36
  5. Distinctive:

    If the implementation needs behavior outside that ceiling, stop and renegotiate or update the spec before making that expansion.

    line 38
  6. Very specific:

    Run the scope gate before declaring the slice complete when SCOPE.md and the helper exist:

    line 41
  7. Very specific:

    Update VERIFY.md or HANDOFF.md with a compact build note:

    line 48
  8. Distinctive:

    Stop after one task.

    line 61

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

Build One

Purpose

Implement exactly one planned slice without expanding the behavioral contract or building through a known stale/required analysis checkpoint.

When to use

Use after a task is selected and scope is frozen.

Inputs

  • SPEC.md
  • PLAN.md
  • TODO.md
  • SCOPE.md or the active scope boundary
  • Current repo status and frozen Git base
  • Analysis checkpoint when present in HANDOFF.md or other current state

Workflow

  1. Read SPEC.md, PLAN.md, and TODO.md.
  2. Select one task.
  3. Confirm the scope boundary. When SCOPE.md and scripts/scope_gate.py exist, run the scope gate against the frozen base before the first new implementation write. Existing FAIL or unresolved REVIEW_REQUIRED state blocks further edits.
  4. Perform the cheap analyze-mini eligibility check using artifacts already loaded for this build:
    • REQUIRED or STALE checkpoint -> invoke analyze-mini before editing.
    • FRESH checkpoint -> confirm its task-defining inputs still match current state; if not, mark it STALE and invoke analyze-mini.
    • missing checkpoint or NOT_NEEDED -> invoke analyze-mini only when a current trigger exists.
    • Missing prior analysis alone does not require analyze-mini.
    • Do not broaden discovery merely to prove that analysis is unnecessary.
  5. If full analysis returns BLOCKED, stop before implementation and resolve the contradiction or decision.
  6. Confirm the spec ceiling: each intended behavior change must satisfy an acceptance criterion or be necessary support for one. Explicit non-goals remain out of scope.
  7. If the implementation needs behavior outside that ceiling, stop and renegotiate or update the spec before making that expansion.
  8. Make the minimum useful change.
  9. Run relevant verification.
  10. Run the scope gate before declaring the slice complete when SCOPE.md and the helper exist:

    python scripts/scope_gate.py --base <frozen-base>

    A scope-gate FAIL blocks completion and requires a revert or pre-write scope renegotiation. REVIEW_REQUIRED must be surfaced and resolved; it is not permission to continue silently.

  11. Update VERIFY.md or HANDOFF.md with a compact build note:
    • Selected slice
    • Files touched
    • Why each file was touched
    • Compatibility seams preserved
    • Analysis checkpoint: FRESH | NOT_NEEDED
    • Scope gate: PASS | FAIL | REVIEW_REQUIRED
    • Spec ceiling respected: yes/no
    • Unexpected behavior added: none | describe
    • Tests changed: yes/no
    • Verification run
    • Stop reason
  12. Update task status.
  13. Stop after one task.
  14. Summarize changed files and result.

Outputs

  • One implemented slice
  • Changed file summary
  • Verification result
  • Scope-gate result when a persisted scope contract exists
  • Build note
  • Updated TODO.md if appropriate

Stop conditions

  • The selected task is complete, verified, and inside the frozen write boundary.
  • The task needs a scope or spec change.
  • Scope gate returns FAIL or unresolved REVIEW_REQUIRED.
  • Analysis is REQUIRED, STALE, or BLOCKED and must be resolved before editing.
  • Verification fails and diagnosis is needed.
  • A useful adjacent improvement is discovered but is not required by the current acceptance criteria.

Anti-patterns

  • Running analyze-mini before every build as a ritual.
  • Treating absence of an analysis checkpoint as a blocker by itself.
  • Changing SCOPE.md after an out-of-scope edit to make the final diff look compliant.
  • Continuing after a scope-gate failure because the changed code appears useful.
  • Continuing into the next task without approval.
  • Refactoring unrelated code.
  • Adding "helpful" behavior beyond the acceptance criteria because it is nearby or easy.
  • Treating partial infrastructure as a completed slice.

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.