agentleFS
wtsi-hgiwtsi-hgi/agentskills/skills/orchestrator/SKILL.md

orchestrator

Skill1 starsChanged 57 days agoMITView on GitHub

Orchestrates implementation and review of phase plans via subagents, and drives the real app through the project's verify skill when one exists. Use when given a phase MD file to complete.

48 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use reviewer, knowledge-base and 5 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.
  • MicrosoftSkill

    reviewer

    ASP.NET Core ハンドブックの記事をレビューする。Use when: 記事をレビューする、ドキュメントを校正する、コードレビューする、PRをレビューする。技術ドキュメントのレビュー、品質チェック、校正。

    Also in 3 projects that use this

  • jacobraskSkill

    knowledge-base

    Manage your personal knowledge base of curated resources, bookmarks, and excerpts. Triggers include "knowledge base", "kb", "add to knowledge", "add tabs to", "what do I have on", "what do we know about", "find resources about". Use with safari-tabs skill for bulk ingestion from Safari windows. Location is ~/knowledge/.

    Also in 3 projects that use this

  • GoogleSkill

    code-reviewer

    Also in 3 projects that use this

  • OpenAISkill

    test-driven-development

    Use when implementing any feature or bugfix, before writing implementation code

    Also in 4 projects that use this

  • MicrosoftSkill

    api-design

    Guide for designing and documenting RESTful APIs. Use when asked to design an API, create endpoints, or document an API.

    Also in 3 projects that use this

  • BlockSkill

    plan

    Draft a TDD, PRD, or lightweight plan in the conversation without committing it.

    Also in 3 projects that use this

The file

Show its rules and text

We split this skill into the rules it gives an agent

14 rules. 0 are common, 10 are distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 40 edited versions we read keep these.

  • 10

    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:

    Read and follow agent-conduct, testing-principles, and subagents before starting.

    line 8
  2. Distinctive:

    Use skills named in the phase file's Instructions section if specified.

    line 16
  3. Distinctive:

    testing-principles: Run tests and linters."

    line 45
  4. Very specific:

    If the phase changed behaviour a user can observe, glob .github/skills/verify-*/SKILL.md.

    line 65
  5. Very specific:

    When every checkbox is checked and every required drive is VERIFIED, commit with Implement phase <N>.

    line 85
  6. Distinctive:

    Follow fix-and-commit cycle.

    line 106
  7. Distinctive:

    After all requested phases and required reviews succeed, apply queue completion.

    line 116
  8. Very specific:

    File removal: delete normally. If deletion fails (e.g.

    line 125
  9. Distinctive:

    Do NOT relaunch the implementor to "find a way".

    line 130
  10. Very specific:

    Write blocker-phase<N>-<item-id>.md next to the phase file, containing: the item, the impossibility (what was tried, what failed and why), …

    line 132
  11. Distinctive:

    Follow the rules in subagents (no direct implementation, no read-only agents for writing work, etc.).

    line 143
  12. Distinctive:

    NEVER check a checkbox until the subagent confirms success.

    line 145
  13. Distinctive:

    NEVER skip or reorder items unless the phase file allows parallel execution.

    line 146
  14. Distinctive:

    Follow agent-conduct Git Safety for push authorization, rebasing feature branches on the resolved base, and force-pushing with a lease.

    line 147

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

Orchestrator Skill

Read and follow agent-conduct, testing-principles, and subagents before starting. subagents owns delegation: agent choice, briefing, skill discovery, and error handling. This skill covers only the orchestrator procedure. Establish the outermost queue owner using bugfix routing before starting; inherit a caller's owner when nested. Route incidental findings returned by implementation, review, and verification before resuming phase work.

Use skills named in the phase file's Instructions section if specified; otherwise follow the skill-discovery procedure in subagents.

Input

A phase MD file containing items with - [ ] implemented and - [ ] reviewed checkboxes, possibly grouped into ordered batches.

Procedure

1. Read the phase file. Note which items are already checked (skip those).

2. Process items in order

  • Sequential items: one at a time.
  • Parallel batch: apply shared concurrency limits.
  • Complete and review each batch before starting the next.

3. For each item (or batch)

a. Implementation

Launch an implementor subagent with:

  • Conventions, testing-principles, and implementor skill names + file paths (to read).
  • Item description, spec.md section reference, phase instructions.
  • "Read spec.md for acceptance tests. Follow TDD cycle and testing-principles. Run tests and linters."

On success, check - [x] implemented.

b. Review

Launch a reviewer subagent with:

  • Conventions, testing-principles, and reviewer skill names + file paths (to read).
  • Item(s) description, spec.md section reference(s), phase instructions.
  • "You have clean context. Read spec.md, source and test files, run tests and linter, return PASS or FAIL with specific feedback."

PASS: check - [x] reviewed. FAIL: launch new implementor with feedback, then fresh reviewer. Repeat until PASS.

4. Verify user-visible behaviour

If the phase changed behaviour a user can observe, glob .github/skills/verify-*/SKILL.md. That is the contract verification publishes; do not search elsewhere.

  • Found: launch a subagent with the verify skill path, its feature map path, and the features this phase touched. "Follow the skill: launch, doctor, drive each named feature, capture evidence, clean up. Return VERIFIED, NOT VERIFIED, or INCONCLUSIVE per feature, each with its evidence path." Treat NOT VERIFIED or INCONCLUSIVE as a review failure: uncheck the affected item's reviewed marker, route it through the fix-and-review cycle in step 3, then re-drive before restoring the marker. A drive that fails on stale skill steps is drift in the verify skill, not a product failure. Launch a subagent with the verification skill path and verify skill directory in maintenance mode to repair only the verify skill, then re-drive the affected feature.
  • Not found: say so in your final report, and name verification as the skill that creates one. Do not create one mid-phase.

5. Phase completion

When every checkbox is checked and every required drive is VERIFIED, commit with Implement phase <N>. Use targeted git add <path> for every changed path that belongs to the phase, including the phase file. Inspect the staged diff before committing to confirm it contains the complete phase and no unrelated changes.

Drive evidence is kept. Leave it where the verify skill puts it and cite that path in your report, so a reviewer can see the proof without re-running the drive. Whether it is committed follows the project's evidence policy; with none, leave it out of the phase commit rather than adding screenshots or logs to it.

6. Spec-aware PR review (after all phases)

Launch a pr-reviewer subagent with:

  • pr-reviewer skill name + file path.
  • Path to spec document.
  • "Review all changes on this branch vs base. Check code quality, bugs, usability, and spec conformance. Fix via implementor subagents."

Follow fix-and-commit cycle. Repeat with fresh context until 2 consecutive clean passes.

7. Spec-free PR review

Same as step 6 but without the spec document (focus on code quality and usability only). Repeat until 2 consecutive clean passes.

8. Complete or return to caller

After all requested phases and required reviews succeed, apply queue completion. Nested workflows return pending references without processing them. Only the outermost owner drains deferred branches. Report pending references with any blocker or stopped phase.

Error Handling

  • Transient failures: see subagents.
  • File removal: delete normally. If deletion fails (e.g. NFS refusing the unlink), move the file to .tmp/trash/ in the repo instead; clean up after all phases.
  • Blocker reported by subagent (per agent-conduct § Honesty About Blockers - e.g. an external API cannot do what the spec requires):
    1. Do NOT relaunch the implementor to "find a way". Do NOT check the item.
    2. Write blocker-phase<N>-<item-id>.md next to the phase file, containing: the item, the impossibility (what was tried, what failed and why), and 1-3 proposed alternatives or clarifications needed from the user.
    3. Abort the current phase and any later phases that depend on the blocked item. Continue only with independent phases.
    4. At the end, report all blocker files and which phases were skipped.

Rules

  • Follow the rules in subagents (no direct implementation, no read-only agents for writing work, etc.).
  • NEVER check a checkbox until the subagent confirms success.
  • NEVER skip or reorder items unless the phase file allows parallel execution.
  • Follow agent-conduct Git Safety for push authorization, rebasing feature branches on the resolved base, and force-pushing with a lease.

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.