agentleFS
jsuvicjsuvic/agent-profile/.claude/skills/implement-next/SKILL.md

implement-next

Skill3 starsChanged 3 months agoApache-2.0View on GitHub

Use after synthesis to dispatch the next ready task from the TASKS.md ledger through one subagent-driven implementation cycle, one task per invocation.

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

12 rules. About 0 are common, 5 are distinctive, and 7 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 7

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    If TASKS.md is missing or contains no ready task, stop and report the ledger state.

    line 18
  2. Very specific:

    Read TASKS.md and select the first task in state ready.

    line 22
  3. Very specific:

    Stop at a human-gate task and explain the approval it needs.

    line 23
  4. Very specific:

    If no ready task exists, stop and report.

    line 25
  5. Very specific:

    If the validated handoff reports NO_PROGRESS or NEEDS_HUMAN_REVIEW, report that outcome and its required escalation.

    line 29
  6. Very specific:

    Stop and report BLOCKED when any of these holds:

    line 33
  7. Distinctive:

    Do not upload source code.

    line 47
  8. Distinctive:

    Do not read or print secrets.

    line 48
  9. Distinctive:

    Do not iterate across tasks.

    line 49
  10. Distinctive:

    Do not self-approve; all writes, commits, and destructive steps go through the client's write-approval flow.

    line 50
  11. Distinctive:

    Do not edit issue briefs or advance a task that failed.

    line 51
  12. Very specific:

    Do not propose bypassPermissions, tool pre-approval, dependency auto-installation, hosted execution, or remote MCP behavior.

    line 52

≈ “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
<!-- Generated by Agent Profile Compiler. Do not edit by hand. -->

Implement Next

Purpose

Advance exactly one ready task from the TASKS.md ledger through a single implementation cycle, using its persisted issue brief as context. One invocation advances at most one task; it never iterates. Repeat the command for the next task.

Preconditions

  • TASKS.md exists and is an index-only ledger whose rows link to issue briefs.
  • If TASKS.md is missing or contains no ready task, stop and report the ledger state; do not invent work.

Flow

  1. Read TASKS.md and select the first task in state ready.
    • Stop at a human-gate task and explain the approval it needs; do not proceed past it.
    • Skip blocked and sequenced tasks; they are not ready.
    • If no ready task exists, stop and report.
  2. Mark the selected task in-progress in TASKS.md through the client's write-approval flow.
  3. Load the linked issue brief and run subagent-driven-change with the brief as Fresh Context. Its owner runs code-quality-reviewer before change-risk-reviewer; initiate or resume the closed change-risk handoff and report its current state, but do not independently invoke another review, redefine budgets, or reset counters.
  4. Mark the task done only after the owner returns a validated terminal CLEAN handoff and required tests run green. Validate the closed ChangeRiskOrchestrationStateV1 record; its snapshot matches the current snapshot (modulo docs/review-learning/) and its terminal status is CLEAN. Do not infer completion from free-form prose or an unvalidated status. The next task requires a new invocation.
  5. If the validated handoff reports NO_PROGRESS or NEEDS_HUMAN_REVIEW, report that outcome and its required escalation; do not mark the task done or start another review. Keep the task out of done until a human resolves the escalation.

Failure Path

Stop and report BLOCKED when any of these holds:

  • implementer returns BLOCKED or NEEDS_CONTEXT,
  • a review finding cannot be resolved within the brief's scope,
  • GREEN is unreachable within the brief's declared seam.

On failure, mark the task blocked in TASKS.md with a one-line reason; if the declared seam was wrong, include why it failed. Then stop. Do not touch the next task, do not edit the brief, and do not continue to another task. A human decides whether to edit the brief, re-grill, or split the task, and flips the state back to ready.

Output

Report the selected task, the state transitions applied, the subagent results, the tests run, the change-risk handoff status when applicable, and the final state (done or blocked with its one-line reason).

Safety

  • Do not upload source code.
  • Do not read or print secrets.
  • Do not iterate across tasks; one invocation advances at most one task.
  • Do not self-approve; all writes, commits, and destructive steps go through the client's write-approval flow.
  • Do not edit issue briefs or advance a task that failed.
  • Do not propose bypassPermissions, tool pre-approval, dependency auto-installation, hosted execution, or remote MCP behavior.

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.