agentleFS
LeostrukaLeostruka/devin-bundle/skills/execution/SKILL.md

execution

Skill0 starsChanged 3 months agoMITView on GitHub

Use when RUNNING an already-written plan/spec/tickets with checkpoints, implementing a feature/fix per spec, deciding how much human review a task needs, or working unattended through local Markdown issues in a blocking DAG (AFK loop). Plans get authored upstream in `planning`/`intake`.

10 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use review.

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.
  • SentrySkill

    review

    Fixture review skill.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

7 rules. 0 are common, 3 are distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 9 edited versions we read keep these.

  • 3

    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. Distinctive:

    Not every change needs the same checkpoints.

    line 14
  2. Very specific:

    Keep the PR small — target ~300 lines.

    line 38
  3. Very specific:

    Never delete/disable/skip tests without explicit user approval.

    line 40
  4. Distinctive:

    Run typecheck + single test files regularly.

    line 42
  5. Distinctive:

    Follow steps exactly; run the gate yourself, capture output + exit code.

    line 54
  6. Very specific:

    Pre-flight: verify worktree isolation (git rev-parse --git-dir vs --git-common-dir).

    line 73
  7. Very specific:

    Safety: never commit on main/master.

    line 91

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

Execution

The implement side of plan→ship: cadence decision → implement → execute plan tasks atomically → (optionally) unattended AFK loop over issue DAGs.

Review cadence (decide first)

Not every change needs the same checkpoints.

Is the task well-understood and low-risk?
├── No → large/multi-subsystem? → planning LEFT: `grilling` or `planning` wayfinder
│        small but ambiguous?   → planning LEFT: `grilling` (stateless)
└── Yes → verifiable by one command/diff? → review RIGHT: prompt → implement → `code-review`
          otherwise → review RIGHT: prompt → implement → manual verification gate
If trueThen
Refactor, rename, color/copy tweakReview right, single prompt
Bug fix <10 lines, isolatedReview right, single prompt
New feature or behaviorReview both left and right
Touches public API, auth, permissions, critical pathReview both left and right
Request vague or scope unknownReview left

Anti-patterns: grilling a rename; implementing a multi-file feature from a one-sentence prompt; "always grill" / "never grill".

Implement

  • Surgical, goal-driven changes; don't refactor unrelated code.
  • Keep the PR small — target ~300 lines; >500 → split first (intake).
  • Define input/output of the change (request/response contract, data ownership).
  • Never delete/disable/skip tests without explicit user approval.
  • TDD at pre-agreed seams; context7/research for unfamiliar libs or code.
  • Run typecheck + single test files regularly; full suite once at the end.
  • Then code-review → verification gate (see gates) → commit to the branch. API/DB/secrets/endpoints/infra changes → also security.

Executing a plan

Load plan → review critically (raise concerns before starting) → todos → execute tasks atomically, one at a time:

  1. Mark in_progress.
  2. Confirm the task's gate (gate: / expect: / evidence:). Missing → stop, raise the gap — don't start without a gate.
  3. Follow steps exactly; run the gate yourself, capture output + exit code.
  4. Independent QA/CI (anti-gaming): dispatch qa-ci subagent (swe-2-medium, no write tools) to re-run the gate on a clean checkout, run tests/held-out/ if present, and audit the diff for overfitting (hard-coded constants, mocked gates, skipped tests, phantom guardrails). QA/CI sees only diff + spec — never your report.
  5. completed only on Verdict: PASS with fresh output. QA/CI FAIL → keep in_progress, feed back into the fix loop. Never override FAIL with self-report.

Stop and ask on: blockers, critical plan gaps, unclear instructions, repeated verification failure. Never start implementation on main/master without explicit consent. Finish with finishing-a-development-branch.

AFK loop (unattended Markdown issues)

For repos tracking issues under .devin/scratch/<feature>/issues/*.md with Blocked by: edges, already triaged ready-for-agent:

Pre-flight: verify worktree isolation (git rev-parse --git-dir vs --git-common-dir); worktree path gitignored; baseline checks green (python audit.py, pytest tests/held-out/ -q); read spec + issue files; parse Blocked by: / Status:.

Frontier: a ticket is ready when Status ∉ {resolved, claimed} and all Blocked by: tickets are resolved. Pick lowest number. None ready + all resolved → done. None ready + unresolved exist → report blocker.

Per issue: Status: claimed → read body+spec → TDD cycle (or implementer subagent with the issue as spec: failing test → minimal code → refactor on green → full suite) → on acceptance: append ## Answer gist, Status: resolved, recompute frontier.

Stop conditions: blocker; human decision required; would commit/push to main/master; baseline check fails; issue requires Docker (use installed runtime instead).

Safety: never commit on main/master; never push without confirmation; no untracked artifacts outside .gitignore; worktree commits only on feature branch. End of loop: audit + held-out suite + ledger update with status and commit SHA.

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.

Reviews can't be read right now.

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.