agentleFS
JQ-WCodingJQ-WCoding/devkit/skills/develop/SKILL.md

develop

Skill1 starsChanged 11 days agoMITView on GitHub

Implement an approved analysis doc — code, DB change and rollback SQL, regression check, per-requirement report. Use for "implement what we analyzed", "implement this", "fix the bug". Without an analysis, run devkit:analyze first.

32 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use scope, sync and 9 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.
  • YuriNachosSkill

    scope

    Configure claude-scope status line widgets for Claude Code. Use when user wants to customize widgets, change theme, reorder elements, or modify display style.

    Also in 6 projects that use this

  • MicrosoftSkill

    sync

    Sync the current session branch with its upstream branch, or publish the current session branch to a remote. Use when the user asks to sync a branch, pull latest changes, rebase onto upstream, push current branch, publish branch, or set upstream.

    Also in 6 projects that use this

  • nicolasestremSkill

    document

    Create focused documentation for specific components or features

    Also in 5 projects that use this

  • Harut8Skill

    architect

    Also in 9 projects that use this

  • AnthropicSkill

    debug

    Structured debugging session — reproduce, isolate, diagnose, and fix. Trigger with an error message or stack trace, "this works in staging but not prod", "something broke after the deploy", or when behavior diverges from expected and the cause isn't obvious.

    Also in 9 projects that use this

  • Microsoft AzureSkill

    test

    Also in 6 projects that use this

The file

Show its rules and text

We split this skill into the rules it gives an agent

13 rules. 0 are common, 9 are distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 27 edited versions we read keep these.

  • 9

    Distinctive

    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. Very specific:

    If related files changed since the analysis's base commit (git log <base commit>..HEAD -- <files>), say so and ask whether to update the …

    line 14
  2. Distinctive:

    If the working tree has changes unrelated to this task, say so and do not touch those files.

    line 16
  3. Very specific:

    If there are keep or repro rows, capture each on the unchanged code with baseline.py before per baseline.md.

    line 20
  4. Very specific:

    Do the plan one step at a time, in order.

    line 24
  5. Very specific:

    Follow the approach of the existing files you are imitating and docs/rules/.

    line 25
  6. Distinctive:

    Every changed line must map to a requirement item.

    line 26
  7. Distinctive:

    When editing files with a script, preserve line endings (CRLF/LF) and encoding.

    line 28
  8. Distinctive:

    If the repo manages the schema (migration tool, init scripts, DDL baseline, ORM entities), change it that way first.

    line 32
  9. Distinctive:

    If the repo applies the schema automatically at startup, a new constraint can fail on existing data and the app will not start.

    line 34
  10. Distinctive:

    If the original definition is needed, fetch it with a read-only query or ask the user.

    line 35
  11. Distinctive:

    If there is a design or mockup, capture the result screen and compare item by item.

    line 45
  12. Distinctive:

    If there is a DB change, explain the target (local, dev, prod), run order, account and transaction COMMIT point, and let a human run it.

    line 50
  13. Distinctive:

    Add decisions made during implementation to the analysis doc's "Decision log"

    line 57

“Common” is measured: kept by at least 6 in 10 of the 27 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

Implement

Make no changes outside the approved plan. If something in the plan cannot be done as written, stop and say so.

0. Preconditions

  • Find the analysis doc: argument → the analysis just approved in this conversation → an analysis.md in the work folder (the local work-folder rule in docs/rules/, else .devkit/work/) whose branch name or issue key matches → the most recent analysis.md (confirm which). If none, run devkit:analyze first. For a tiny change (one file, a few lines, no risk-check items), you may show a three-line summary without an analysis doc and proceed; a tiny bug fix still gets a repro row when one can run.
  • If related files changed since the analysis's base commit (git log <base commit>..HEAD -- <files>), say so and ask whether to update the analysis.
  • Branch: unless the user asks, work on the current branch. When asked for a new branch, follow the naming rule in docs/rules/git.md (else feat/<task ID>-<short name>, fix/…).
  • If the working tree has changes unrelated to this task, say so and do not touch those files.

0.5 Baseline (before the first edit)

If there are keep or repro rows, capture each on the unchanged code with baseline.py before per baseline.md. A repro that passes there means the cause is wrong: stop and go back to devkit:analyze. A row that cannot run is not run (PARTIAL), never a block.

1. Implement

  • Do the plan one step at a time, in order. When a step is done, mark it done in the analysis doc.
  • Follow the approach of the existing files you are imitating and docs/rules/. By default do not modify shared modules, shared styles or shared components; if it is truly needed, give the reason and confirm first.
  • Every changed line must map to a requirement item. Defects you happen to see are not fixed; list them in the report.
  • A change to docs/rules (or a glossary) follows the rules-change gate in devkit:analyze's cross-check.md: read only its ## Evidence types and ## Rules-change gate sections.
  • When editing files with a script, preserve line endings (CRLF/LF) and encoding.

2. DB change (if any)

  • If the repo manages the schema (migration tool, init scripts, DDL baseline, ORM entities), change it that way first. If there is a migration tool, create the executable SQL as a new migration file of that tool and include it in the commit.
  • Executable SQL that the repo does not manage goes in the work folder. Numbers are the run order: 00_check.sql (read-only pre-check, e.g. duplicate count) → 01_…, 02_… (data cleanup, change, inserts; re-runnable) → 99_rollback.sql (rollback, including the previous definition if an existing object changed). With several DB vendors, split by suffix such as 01_change.<db>.sql.
  • If the repo applies the schema automatically at startup, a new constraint can fail on existing data and the app will not start. Explain the apply order (data cleanup → deploy) at the 🛑 gate.
  • If the original definition is needed, fetch it with a read-only query or ask the user. Do not run write SQL.

3. Verify

  • Automated checks: when the analysis doc's verification plan or the user calls for them, run the checks for the changed subprojects through devkit:check-runner; otherwise name them and ask.
  • Behavior check: if the repo has .devkit/runtime.json, start the app with devkit:run-app (up --task <task ID>) and stop what you started afterwards; otherwise do not start servers yourself and check only in an environment the user started. Confirm saved values by querying again. Insert recognizable dummy test data and report what was left behind.
  • Executable premises (the analysis doc's table): execute each before the report, through devkit:run-app, a read-only API call or query, or an environment the user started, and record it (--kind runtime|db; keep/repro rows: baseline.py after). With none of these available it stays not run, never assumed true. A false premise: stop before commit or merge and go back to devkit:analyze.
  • Verifier input: the frozen analysis.approved.md (else analysis.md, and say there was no frozen copy), the base commit, the check-runner result and the run record paths; never your report.
  • Record each verdict: pass the CHECKS: line from devkit:check-runner and the VERDICT: line from devkit:verifier to python3 -I "${CLAUDE_PLUGIN_ROOT}/skills/check/scripts/record_run.py" --repo <repo> --task <task ID> --line "<line>" (run-app up records itself). For a DB or API check, record --kind db|runtime --verdict PASS|FAIL|PARTIAL --summary <text> with --items ([{"name","result","detail"}], no credentials).
  • Regression: go through the analysis doc's keep-as-is list one by one.
  • If there is a design or mockup, capture the result screen and compare item by item. Do not say "matches the requirement" just because the build passes.
  • If something fails, fix it and run the same verification again. When a second fix resting on the same premise fails the same check, stop fixing: write the premise down and check it directly (read-only query, run-app, captured response); if it is false, go back to devkit:analyze. Write verification that was not run as not run.

🛑 DB apply

If there is a DB change, explain the target (local, dev, prod), run order, account and transaction COMMIT point, and let a human run it. After it runs, check object state and data with queries together. Applying to production is outside this skill.

4. Report

  • Per requirement item: implemented / deferred (reason) / needs confirmation
  • Changed files, SQL files, verification run and results (including not run) with the run record paths and the verdict: word record_run.py printed (PARTIAL is never "passed"), servers still running, test data left behind, defects found but not fixed
  • One line on next steps: commit with devkit:commit, push with devkit:push, PR/MR with devkit:pr-publish — done when requested
  • Add decisions made during implementation to the analysis doc's "Decision log"

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.