engineering-skills-router
A skill for coding agents (Claude Code, Pi, and others through their skill mechanism) that turns one engineering task, typically a ticket or spec you already have, into a short workflow of skills drawn from four public collections (pstack, Matt Pocock, Addy Osmani, Modern Web Guidance), shows it to you, and runs it to an open pull request after one approval. The vendor skills are read from pinned copies inside this repo; none is installed into your agent. Why it is built this way: design rationale.
task → classify → select one skill per phase → show workflow → go → … → open PR
Who it is for
Developers who already use an agent for real changes and want a repeatable route from ticket to reviewed PR, with the choice of skills made visible instead of implicit. It is not a code generator of its own: each step runs a vendor skill (or your own, or your project's) in your agent, with your agent's model and permissions.
Example: starting from a ticket
In a Claude Code session opened on the repo the ticket is about:
/engineering-router #123
- Proposal. The router reads the issue (
gh) and the code it touches, records the task's type, risk, size and properties with a reason each, and has the skill selector pick one skill per phase (default plus up to two alternatives, with reasons). It shows the workflow and waits. For a routine low-risk task, the router recommends working directly and waits for your choice unless you already chose a path. A medium-risk ticket of low complexity is proposed the short light path (implementation, a fresh review, PR), with full one reply away.
- One approval. You swap skills, switch optional steps (an independent review at high risk, agent verification of the checklist) on or off, and answer
go once. A spec file works the same way: /engineering-router docs/specs/export.md.
- Progress. The router runs the steps in order (branch, implementation, tests, reviews, in-scope fixes, commits, push) and reports progress as it goes, without asking to continue after each step.
- Exceptions only. It stops for an unresolved decision, a scope or risk change, a missing prerequisite or credential, a reproducible blocker, or a checkpoint you asked for.
pause and stop work at any time; /engineering-router with no task resumes an unfinished workflow.
- Stopping point. It ends with the PR open, carrying a short manual checklist and a hidden run record. Merge and deployment need your separate authorization.
Details: how it works, execution policy.
What it adds, and what it does not
Your agent already runs skills, subagents and git. The router adds:
- Selection you can see. Every cataloged vendor skill starts on equal terms; the selector reads each vendor's guide and the candidate skills and gives reasons.
scripts/state … compose refuses a skill that is not a usable candidate for its step. Browse the skill index.
- Checked classification. Risk is the model's judgment, but evidenced facts (authorization, payments, destructive changes, sensitive data, public contracts) set a minimum that
scripts/check-classification enforces.
- One workflow state.
.router/state.json in the target repo lets you pause, resume, swap a skill or see the workflow in the Pi widget or the Claude Code panel.
- Required review on another model family for light and full workflows (Claude Code: through your own Codex or opencode CLI). If the other family is unavailable, the router asks whether to run a fresh same-family review or stop.
- Run records in each PR, which
scripts/stats adds up across PRs.
Limitations: it does not make code better or work faster by itself. One live comparison on a small, low-risk ticket found the same result as a direct prompt naming the same skills, at several times the time and cost; that comparison did not measure cross-family review or higher-risk workflows. Vendor neutrality is designed for (equal standing, no rankings) and checked on a small sample: 15 of the selector evaluation cases passed once each on Claude Opus 5.5 (2026-11-04), which shows each collection then cataloged can be picked when it fits, not that picks are balanced in general; the Modern Web Guidance cases have not been run yet. It covers the four collections above plus your personal and project skills.
Install (Pi)
The repo is a Pi package: both skills plus the workflow widget. Needs Node 22.18+ and git; gh, logged in, publishes issues and lets the widget see merged PRs.