agentleFS
MesteriisMesteriis/Engineering-Bible-AI/skills/workflow-router/SKILL.md

workflow-router

Skill0 starsChanged 5 months agoMITView on GitHub

Routes ambiguous or multi-domain engineering requests to the smallest ordered skill set. Do not use for clear single-skill work or same-task follow-ups.

7 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

8 rules. 0 are common, 6 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 7 edited versions we read keep these.

  • 6

    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 router only when the request is genuinely ambiguous, spans multiple engineering domains, or needs an ordered handoff between …

    line 8
  2. Distinctive:

    Add another skill only when it contributes a distinct required procedure or evidence type.

    line 25
  3. Distinctive:

    Read only selected skills whose instructions are not already available.

    line 27
  4. Very specific:

    If the common routes below are insufficient, read references/routes.md for the exhaustive route table.

    line 30
  5. Very specific:

    Keep owner rules and route policy separate from the author's workflow.

    line 35
  6. Distinctive:

    Use an explicitly named, current-session skill first.

    line 38
  7. Distinctive:

    Do not emit a routing preamble for an obvious route.

    line 67
  8. Distinctive:

    When asked to verify installed routing, run:

    line 73

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

Workflow Router

Use this router only when the request is genuinely ambiguous, spans multiple engineering domains, or needs an ordered handoff between workflows. A directly requested leaf skill takes precedence.

Fast Path

  • Clear single-domain request: choose the narrowest leaf skill directly and do not use this router.
  • Same-task follow-up: reuse the active route. Do not reread an unchanged SKILL.md already available in the conversation.
  • Changed domain, risk class, external system, or requested workflow: route only the changed portion.

Workflow

  1. Classify the request by concrete deliverable and mutation risk.
  2. Select one primary skill and at most one supporting skill by default.
  3. Add another skill only when it contributes a distinct required procedure or evidence type.
  4. Read only selected skills whose instructions are not already available.
  5. Order mixed work by dependency, usually evidence or design before mutation, then validation.
  6. If the common routes below are insufficient, read references/routes.md for the exhaustive route table.

Author-Maintained Providers

Keep owner rules and route policy separate from the author's workflow. For a catalog intent, be skills route INTENT --json resolves the reviewed provider and its local dependency state without installation or an author update check. Use an explicitly named, current-session skill first. Otherwise load the actual compatible upstream instructions only when exposed by the host; files alone mean exposure is unverified. Report missing providers, setup, or a pending reload.

Install missing reviewed dependencies through the selected profile's lifecycle; reuse compatible native providers. Updates use a separate, explicitly selected reviewed pin. Preserve the complete author tree and dependencies; never replace it with a summary or silently bypass conflicting steps. Keep personal policy separate, same-task routes stable and avoid per-turn lifecycle probes.

Common Routes

  • Bug or failure investigation: superpowers.systematic-debugging plus the relevant ecosystem skill.
  • Behavior implementation: relevant ecosystem skill; add superpowers.test-driven-development when behavior coverage is required.
  • Explicit review: superpowers.requesting-code-review; use security-router or ui-router when that domain is central.
  • Refactor without behavior change: refactoring plus the ecosystem skill.
  • Performance investigation: performance plus the ecosystem skill.
  • Migration, architecture, multi-agent, external pack, durable memory, or runtime-capability selection: use the matching specialist route in the reference table.

debugging, testing-tdd and code-review are compatibility aliases that load these original providers. They contain no author procedure.

Output

Do not emit a routing preamble for an obvious route. Briefly state the route only when the choice is ambiguous, the request needs multiple stages, or a limitation changes the result.

Healthcheck

When asked to verify installed routing, run:

bash ~/.codex/skills/workflow-router/scripts/validate-routing.sh

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.