agentleFS
a16za16z/jolt/.claude/skills/implement-spec/SKILL.md

implement-spec

Skill1.1k starsChanged 13 days agoApache-2.0View on GitHub

Autonomous one-shot implementation from an approved spec (local/cloud only)

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 87 edited versions we read keep these.

  • 12

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read CLAUDE.md for project conventions, testing requirements, and architecture.

    line 15
  2. Distinctive:

    Do not add features, refactor code, or make improvements beyond the spec.

    line 19
  3. Very specific:

    If the spec lacks the claude-spec-approved label, note that it hasn't been analyzed.

    line 20
  4. Very specific:

    Explore relevant code: Use explore agents to understand the modules, types, and patterns the implementation will touch.

    line 30
  5. Distinctive:

    Commit these additions as their own logical units.

    line 59
  6. Distinctive:

    Implement: all changes from the plan.

    line 60
  7. Distinctive:

    Run independent tasks in parallel using agents where beneficial.

    line 61
  8. Distinctive:

    Follow project code style and conventions from CLAUDE.md.

    line 62
  9. Distinctive:

    Run the checks sequentially until all pass (up to 5 cycles).

    line 68
  10. Distinctive:

    Test: Run evaluation criteria from the spec, plus:

    line 74
  11. Distinctive:

    If the same error persists 3 times, stop and post a PR comment describing the fundamental issue.

    line 82
  12. Distinctive:

    Correctness: All spec evaluation criteria pass.

    line 88
  13. Distinctive:

    Security: Check for OWASP top 10 patterns if the changes touch input handling or external data.

    line 91
  14. Distinctive:

    Push: all commits to the PR branch.

    line 98

“Common” is measured: kept by at least 6 in 10 of the 87 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
<Purpose> Take an approved spec and autonomously implement it: plan the work, execute in parallel where possible, run QA cycles until tests pass, and validate the result. Produces working, verified code from the spec in a single pass.

This skill runs locally or in Claude Code cloud (claude.ai/code) — NOT in CI. It needs write access to the repo to create commits and push to the PR branch. </Purpose>

<Execution_Policy>

  • The spec is the source of truth. Implement what it says, not more.
  • Read CLAUDE.md for project conventions, testing requirements, and architecture.
  • Each phase must complete before the next begins.
  • Parallel execution within phases where possible.
  • Resolve routine implementation choices from the spec and repository conventions. For ambiguity affecting correctness, scope, or acceptance criteria, post a focused PR question and continue unaffected work.
  • Do not add features, refactor code, or make improvements beyond the spec.
  • If the spec lacks the claude-spec-approved label, note that it hasn't been analyzed. An explicit user instruction to implement it is sufficient authorization; otherwise request approval. </Execution_Policy>
<Steps>

Phase 1: Plan

  1. Read the spec: Find the specs/*.md file in this PR (exclude TEMPLATE.md). If a path is provided in {{ARGUMENTS}}, use that.
  2. Read CLAUDE.md: Understand architecture, conventions, testing requirements.
  3. Read jolt-eval/README.md: Understand the eval framework — the spec's Intent → Invariants and Evaluation → Performance sections may reference it.
  4. Explore relevant code: Use explore agents to understand the modules, types, and patterns the implementation will touch.
  5. Extract evals: Scan the spec's Intent → Invariants and Evaluation → Performance sections for jolt-eval references and list:
    • New invariants to add → each becomes a /new-invariant <name> subtask.
    • New objectives to add → each becomes a /new-objective <name> subtask.
    • Existing invariants/objectives that need to be changed.
  6. Create implementation plan: Based on the spec's Intent and Execution sections, determine:
    • Files to create, modify, or remove
    • Order of changes (dependencies first)
    • How existing patterns and abstractions should be extended
    • Which tasks can run in parallel vs. sequential
  7. Post the plan as a PR comment for visibility:
**Implementation plan for: {spec title}**

**Changes:**
1. {file/module} — {what changes and why}
2. ...

**Order:** {dependency chain}
**Parallel tasks:** {which can run simultaneously}
**Estimated scope:** {number of files, rough line count}

Phase 2: Execute

  1. Add jolt-eval scaffolding first: For each new invariant/objective extracted in Phase 1, invoke the corresponding skill so the mechanical checks are in place before the implementation lands:
    • /new-invariant <name> for each new invariant
    • /new-objective <name> for each new objective Commit these additions as their own logical units.
  2. Implement all changes from the plan.
    • Run independent tasks in parallel using agents where beneficial.
    • Follow project code style and conventions from CLAUDE.md.
    • Performance is critical — avoid regressions in hot paths.
  3. Commit with clear, well-scoped messages as logical units complete.

Phase 3: QA

Run the checks sequentially until all pass (up to 5 cycles). Repeat checks only when a failure or subsequent change requires it; complete the full matrix before handoff.

  1. Format: cargo fmt -q
  2. Lint (both modes):
    • cargo clippy --all --features host --message-format=short -q --all-targets -- -D warnings
    • cargo clippy --all --features host,zk --message-format=short -q --all-targets -- -D warnings
  3. Test: Run evaluation criteria from the spec, plus:
    • cargo nextest run -p jolt-verifier standard_muldiv --features prover-fixtures --cargo-quiet
    • cargo nextest run -p jolt-prover --features prover-fixtures --cargo-quiet
    • cargo nextest run -p jolt-prover --features prover-fixtures,zk --cargo-quiet
    • cargo nextest run -p jolt-prover --features akita,prover-fixtures --cargo-quiet
    • cargo nextest run -p jolt-eval --cargo-quiet — runs every invariant's seed-corpus + random-inputs tests; any named in the spec must pass.
  4. Fix any failures and repeat.

If the same error persists 3 times, stop and post a PR comment describing the fundamental issue.

Phase 4: Validate

Validate the result, reusing Phase 3 results unless subsequent changes invalidate them:

  1. Correctness: All spec evaluation criteria pass.
  2. Mechanical checks (jolt-eval): For each objective named in the spec's Evaluation → Performance section, run cargo run -p jolt-eval --bin measure-objectives -- --objective <name> and confirm it moved in the declared direction (or stayed within the declared tolerance). All invariants named or introduced in the spec's Intent → Invariants section must pass — the Phase 3 cargo nextest run -p jolt-eval covers seed corpus + random inputs.
  3. Code review: Self-review for consistency with existing patterns, missing edge cases, unnecessary changes beyond the spec.
  4. Security: Check for OWASP top 10 patterns if the changes touch input handling or external data.

Fix any issues found and re-validate.

Phase 5: Finalize

  1. Update spec status: Change Status from proposed/approved to implemented in the spec file.
  2. Push all commits to the PR branch.
  3. Post summary as a PR comment:
**Implementation complete for: {spec title}**

**Changes made:**
- {file} — {summary}
- ...

**Evaluation results:**
- {criterion 1}: PASS
- {criterion 2}: PASS
- ...

**Tests:** All passing (host + zk modes)
**Lint:** Clean
</Steps>

Task: Implement the spec in this PR. {{ARGUMENTS}}

Download now (ZIP)

Trending

More talk lately.about the whole repository

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 2 mentionsMar 2026: 0 mentionsApr 2026: 1 mentionMay 2026: 5 mentionsJun 2026: 0 mentionsJul 2026: 3 mentionsAug 2026: 1 mentionSep 2026: 3 mentionsOct 2026: 3 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the a16z/jolt repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about a16z/jolt

The biggest 5 of 33 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 33

Talked about on GitHub (33 times).

On GitHub · 33

28 more on GitHub
  • Other versions94 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 94

    1. mattpocock/skills★ 309ksame name
    2. formbricks/formbricks★ 13ksame name
    3. ArcReel/ArcReel★ 6ksame name
    4. vinvcn/mattpocock-skills-zh-CN★ 5.5ksame name
    5. withcoral/coral★ 4.9ksame name
    6. dzhng/jevgrep★ 3.1ksame name
    7. dzhng/skills★ 1.4ksame name
    8. cashew-labs/libretto★ 898same name
    9. saffron-health/libretto★ 883same name
    10. devcxl/mattpocock-skills-zh★ 522same name

    84 more not listed

    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.

  • Used alongsideProjects with it also use implement-spec-with-codex, close-spec and 10 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.
    • dzhngSkill

      implement-spec-with-codex

      Run [implement-spec](../implement-spec/SKILL.md) with Codex doing the implementation passes while you orchestrate, integrate, and review. Use when the user asks to implement a spec with Codex, or to run implement-spec with Codex as the implementer.

      Also in 4 projects that use this

    • dzhngSkill

      close-spec

      When a spec under specs/<feature>/ is done shipping (a write-spec build, or any planned task that produced a spec), archive it to specs/done/ and rewrite it from a build-plan into a durable rationale — the why, the principles, the invariants — pointing back to the real code for the how. Use when implementation has landed and the plan no longer matches what shipped, or the user says a feature/spec is finished. Pairs with [write-spec](../write-spec/SKILL.md) (the plan this closes) and [review](../review/SKILL.md) (run before closing).

      Also in 4 projects that use this

    • wolverin0Skill

      audit-decisions

      Standardize remediation decisions, baseline-policy entries, and legal-review banners for accepted, deferred, or policy-blocked audit findings.

      Also in 4 projects that use this

    • saffron-healthSkill

      get-pr-reviews

      Get nicely formatted output of the last review comments on a PR. Used internally by other skills.

      Also in 3 projects that use this

    • saffron-healthSkill

      push-everything

      Stage ALL changes in the repository (not just session changes), commit, and push. Use when you need to commit all pending changes.

      Also in 3 projects that use this

    • transitive-bullshitSkill

      compare-screenshots

      Compare screenshots against the intended design, distinguishing approved references from historical baselines. Use for iterative implementation matching, before/after visual review, objective image telemetry, or checking a lone capture for flat, empty, or badly framed content.

      Also in 4 projects that use this

    • +5 more from dzhng
  • In this repository9 other files it gives its agents.

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.