agentleFS
iadr-deviadr-dev/kotlin-claude-workflow/.claude/skills/implement-with-subagents/SKILL.md

implement-with-subagents

Skill1 starsChanged 39 days agoMITView on GitHub

Use when implementing supplied tickets or plan tasks through worker-owned bounded implementation and lead integration, or when reviewing that orchestration.

3 other projects use a version of this, 1 of them edited.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

3 rules. 0 are common, 1 is distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 3 edited versions we read keep these.

  • 1

    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:

    Use this workflow whenever a delivery lead coordinates settled implementation tasks, including one task and sequential work.

    line 10
  2. Very specific:

    Use review only to assess supplied orchestration without running it.

    line 24
  3. Very specific:

    Use implement only to execute supplied tickets or plan tasks.

    line 26

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

Use this workflow whenever a delivery lead coordinates settled implementation tasks, including one task and sequential work. Assign one worker per supplied work item; do not split a single task into artificial pieces. Reuse a bounded pool of worker checkouts. The lead validates the task graph, dispatches the independent ready frontier with disjoint write sets by default, accepts each task once before integration, and integrates accepted commits in dependency order. After an ordinary integration, rerun affected checks and release dependents without a second lead sign-off. Retire eligible surplus checkouts, preserve task refs, and account for checkout dispositions at completion or interruption. Keep the lead out of task-owned code and return implementation repairs to the original worker.

Select the mode

  • Use review only to assess supplied orchestration without running it; it has no external dependency.
  • Use implement only to execute supplied tickets or plan tasks. This mode does not invoke the separate /implement skill.

Review procedure

  1. Inspect only permitted repository and orchestration state. Do not start an agent, edit, commit, change branches, perform worktree lifecycle operations, or contact a remote service.
  2. Assess the task graph, safe concurrency, implementation ownership, task-scoped commits, owner self-review, focused validation, and controller acceptance before integration. An owner's report alone does not satisfy task acceptance. Separate worktrees do not make shared-file edits or work depending on unintegrated code independent. Treat supplied readiness, independence and capacity as authoritative: dispatch the whole ready frontier concurrently. A prerequisite the state does not show missing, including test seams, tdd and reviewer capability, is an execution-time check, not a dispatch hold. Check reuse-first allocation, distinct slots for active writers, and existing-checkout access for read-only helpers.
  3. Release a dependent only after each prerequisite's task commit is accepted, integrated without conflicts, and its affected checks rerun and pass at that exact integrated head; a passing task branch is not enough. Do not require a second discretionary lead acceptance after an ordinary merge; inspect the joined diff when cross-file interactions, changed shared interfaces, or merge resolutions can change meaning. Reuse a passing check only when inspection shows its inputs and environment unchanged at the integrated head. An accepted item is complete, not assignable again.
  4. Report the next action, evidence, and any acceptance gap. Stop before implementation. Check release eligibility, safe retirement, and checkout dispositions without mutating them. For an invalid dependency graph or unsafe overlap, hold dispatch and return the specific defects to the plan owner; do not invent ordering or remove tasks or dependencies. Name any affected check that must be rerun at the integrated head, even when another blocker also prevents dispatch.

Implementation mode

Prerequisites

Identify the behavior-changing items and their user-approved test seams before delegation. Their owners use the tdd skill directly. If a behavior item has no approved seam, obtain agreement before dispatch; if tdd is unavailable, stop before dispatching that item. Documentation and other items without a meaningful test seam use focused validation instead. Never install a dependency implicitly.

Resolve one independent read-only reviewer before delegation. Use a fresh agent that makes no writes and does not inherit the implementation conversation, with a self-contained brief: approved source, plan, repository standards, fixed base, and exact candidate head. Require findings with evidence and a ship, fix-first, or rethink verdict against both requirements and standards, with the coverage account under Behavioral review and repair. Apply that reference during implementation for related boundary repairs and browser failure diagnostics; PR feedback remains outside this workflow. No external review skill or tracker setup is required. If independent review cannot run, report the missing capability; never waive final review. Add reviewers only for distinct risks or substantial scope that justify separate assignments.

Before delegation, read the implementation-mode procedure completely. It owns preflight, dispatch, owner packets, task acceptance, integration, repairs, and final validation. Stop when a dependency, task-scoped commit, or capability gate cannot be satisfied; never implement an item in the controller.

Finish gate

In review, finish only with the non-mutating assessment, evidence, and any acceptance gap. In implement, finish only when every queued item has a task-scoped, self-reviewed commit accepted before integration, all affected checks and the full required suite pass at the final integrated head, the joined review is current, and the integration checkout is clean. Preserve any unrelated user work from the starting checkout. Account for every run-created worker checkout as retired with verified readback or retained with a reason, and preserve task branch refs. Eligible retirement failure or missing cleanup capability leaves the workflow incomplete even when code verification passed. Report the item-to-commit mapping, exact integrated head, final validation and review evidence, checkout dispositions, and any blocker; otherwise stop at the first incomplete gate. PR and tracker delivery are outside this skill.

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.