skill-router
Skill1 starsChanged 5 days agoMITView on GitHub
Orchestrator and entry point for the swe-workflow skills library — consult FIRST when starting any non-trivial software task; most skills load name-only and only activate when invoked here. Routes intent to the right skill(s) and invokes them by name; shows the Golden Path chains.
58 other projects use a version of this.
Adopted by
Most recently taken up by
- byrmeng/skill-routertheir own version, first seen Nov 8, 2026
- nicklasorte/skillstheir own version, first seen Nov 8, 2026
- KRISH-exe-29/ai-agent-skill-routertheir own version, first seen Nov 8, 2026
- dotslashsimran/simcrafttheir own version, first seen Nov 8, 2026
- rodeyseijkens/skillstheir own version, first seen Nov 6, 2026
- qduc/skillstheir own version, first seen Nov 1, 2026
Used with
Projects with it also use context-engineering, accessibility and 10 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.
mrgoonieSkillcontext-engineering
Master context engineering for AI agent systems. Use when designing agent architectures, debugging context failures, optimizing token usage, implementing memory systems, building multi-agent coordination, evaluating agent performance, or developing LLM-powered pipelines. Covers context fundamentals, degradation patterns, optimization techniques (compaction, masking, caching), compression strategies, memory architectures, multi-agent patterns, LLM-as-Judge evaluation, tool design, and project development.
Also in 3 projects that use this
ElasticSkillaccessibility
Accessibility guidance for Kibana. Use this skill when working with or reviewing EUI components, resolving a11y-related (@elastic/eui) ESLint issues, and ensuring proper use of ARIA attributes, focus management, keyboard interactions, and accessible naming conventions.
Also in 3 projects that use this
MicrosoftSkillcaveman
Ultra-compressed response style that reduces output token count while preserving technical accuracy, with intensity levels and auto-clarity safety rules
Also in 4 projects that use this
SupabaseSkillcopywriting
Write or audit UI copy (buttons, labels, empty states, error messages, tooltips, form text) anywhere in the monorepo. Load it before shipping or reviewing any user-facing text — including when copy is incidental to the task, like a new feature that adds buttons, toasts, dialogs, or validation messages.
Also in 3 projects that use this
GoogleSkillteach
Teach the user a new skill or concept, within this workspace.
Also in 3 projects that use this
GoogleSkilldomain-modeling
Build and sharpen a project's domain model. Use when the user wants to pin down domain terminology or a ubiquitous language, record an architectural decision, or when another skill needs to maintain the domain model.
Also in 3 projects that use this
- +4 more from google
Other versions58 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 58
- rohitg00/pro-workflow★ 2.9ksame name
- stevesolun/ctx★ 583same name
- dotslashsimran/simcraft★ 69same name
- Fmarzochi/EGC★ 61same name
- hussi9/skill-router★ 32same name
- Fandry96/k3-agentic-skills★ 27same name
- pcx-wave/skill-router★ 26same name
- Hassaan146/claude-skills★ 18same name
- AnamKwon/agent-skill-router★ 9same name
- Nirusan/claude-config★ 7same name
48 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository68 other files it gives its agents.
- AGENTS.mdAGENTS.md
- accessibility-designSkill
- ai-evaluationSkill
- api-designSkill
- architecture-designSkill
- architecture-documentationSkill
- brainstormingSkill
- browser-verificationSkill
- bug-investigatingSkill
- build-vs-buySkill
- cicd-pipelineSkill
- code-archaeologySkill
- code-reviewingSkill
- code-slop-cleanupSkill
- compliance-privacySkill
- configuration-strategySkill
- containerizationSkill
- data-modelingSkill
- data-pipeline-designSkill
- data-qualitySkill
- dependency-impact-analysisSkill
- dependency-managementSkill
- deployment-checklistSkill
- deployment-repoSkill
- dx-auditSkill
- effort-estimationSkill
- exploratory-data-analysisSkill
- feature-planningSkill
- finops-cost-optimizationSkill
- frontend-architectureSkill
- gitops-deliverySkill
- git-workflowSkill
- incident-responseSkill
- infrastructure-as-codeSkill
- llm-app-engineeringSkill
- metrics-and-okrsSkill
- ml-experiment-trackingSkill
- ml-model-deploymentSkill
- ml-pipeline-designSkill
- mobile-architectureSkill
- mobile-releaseSkill
- notebook-to-productionSkill
- observability-designSkill
- performance-optimizationSkill
- plan-executionSkill
- prd-writingSkill
- project-documentationSkill
- project-proposalSkill
- project-reviewSkill
- refactoringSkill
- release-managementSkill
- research-methodologySkill
- resilience-engineeringSkill
- retrospectiveSkill
- rollback-strategySkill
- security-auditSkill
- statistical-analysisSkill
- strategic-reviewSkill
- subagent-orchestrationSkill
- tdd-workflowSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
9 rules. 0 are common, 5 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 49 edited versions we read keep these.
5
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
- Distinctive: line 28
Before substantial software work — planning a feature, making a structural or data decision, implementing, debugging, reviewing, …
- Distinctive: line 47
Do not talk yourself out of it because the task "looks like a one-liner," touches only one file, or seems obvious.
- Very specific: line 68
Get the full catalog: Read .catalog.json from the installed skills directory (the parent of this skill — e.g.
- Distinctive: line 72
If it's absent (e.g. a plugin install), use the phase index below.
- Very specific: line 86
If a matched skill isn't installed (a subset/plugin install), read its SKILL.md inline if present, or tell the user which skill/role to add.
- Distinctive: line 88
If the work spans several phases, follow the relevant Golden Path chain, invoking each skill in the chain as you reach its phase.
- Distinctive: line 90
If nothing fits, proceed normally — not everything needs a skill.
- Very specific: line 94
If a role is active (a .active-role marker sits beside the skills, or the SessionStart hook named one), lead with that role's working set — …
- Very specific: line 194
When work spans phases, chain skills rather than improvising.
“Common” is measured: kept by at least 6 in 10 of the 49 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.
Files
Skill Router
This project installs the swe-workflow skills library — a set of structured SDLC workflows. This skill is the orchestrator: most skills are loaded name-only (listed but not auto-triggering), so they activate by being invoked. Use this router to pick the right skill — or skills — quickly and invoke them, then hand off and get out of the way. A task that spans several domains or phases needs several skills; invoke all that apply, not just the first.
Activation model (why this skill matters)
To keep the context listing small, only a pinned set auto-triggers (this router
plus the safety skills: verification-before-completion, tdd-workflow,
bug-investigating, incident-response, code-reviewing). Every other skill is
name-only — invocable, but it will not fire on its own. Routing through this
orchestrator is how those skills get activated. A role can promote a working
set back to auto-triggering; switch roles with the /role <name> command
(/role to see options, /role all to reset to baseline).
The rule
Before substantial software work — planning a feature, making a structural or data decision, implementing, debugging, reviewing, refactoring, or shipping — check whether a dedicated skill applies, and invoke it. This is the default, not an optional extra. The skills encode the how and why of doing each activity well, so you don't have to re-derive them.
Routing is not a once-per-session gate. Re-route whenever the kind of work changes — analysis → implementation → writing tests → review → finishing (claiming done, committing, opening a PR) → shipping — because each phase's skill is loaded only when invoked, and the one you need for the new phase almost certainly isn't loaded yet. A session that routed for analysis and then writes tests an hour later without re-routing silently drops the testing skills' guidance.
Finishing is a phase, not a formality. "That's everything", "let's commit", and
"ready to open the PR" are the start of the last phase, not the end of the
previous one — route to verification-before-completion there, the same way you
would route to bug-investigating when something breaks.
Do not talk yourself out of it because the task "looks like a one-liner," touches only one file, or seems obvious. Small structural changes (renames, config edits, dependency bumps) and anything that matches a specific skill's domain (accessibility, API design, security, data modeling, migrations, performance…) are exactly what the skills are for. When in doubt, route.
Naming a new library is a routing point, even mid-plan or mid-build and even
when nobody asked about dependencies. Invoke dependency-management before the
library goes into a plan, an ADR, or an install command. Its first question is
whether you need the library at all. A library an RFC, ADR, issue or earlier plan
already names is a candidate, not a decision. Writing "run
dependency-management" as a later step of the plan doesn't count: the plan
names the library only after the check has run.
Skip only for genuinely trivial, conversational, or information-lookup requests where no workflow adds value, or when the user tells you not to use a skill or to "just do X". The user's explicit instructions always take precedence over any skill.
How to route
- Get the full catalog. Read
.catalog.jsonfrom the installed skills directory (the parent of this skill — e.g..claude/skills/.catalog.jsonor~/.claude/skills/.catalog.json). It holds every skill's full description, so you can match precisely even though their descriptions aren't in the listing. If it's absent (e.g. a plugin install), use the phase index below. - Match the user's intent to every skill that applies — not just the
single best fit. A request often spans more than one domain (e.g. "review for
accessibility and UX" → both
accessibility-designandui-ux-design) or more than one phase (a feature → planning, then data model, then API, …). - Invoke them by name via the Skill tool — name-only skills are fully invocable; the listing just doesn't show their description. When several skills apply, invoke them all, in workflow order, and integrate each one's guidance — do not stop after the first. Stating "I'll use both" is not enough; you must actually call each one (invoke the next applicable skill before you finish — e.g. load the UX skill before writing a combined a11y+UX review, and on a Golden Path chain invoke each phase's skill as you reach it). "Hand off" means stop narrating the routing and start the work, NOT "one skill is enough." Route to a single skill only when the task genuinely maps to exactly one.
- If a matched skill isn't installed (a subset/plugin install), read its
SKILL.mdinline if present, or tell the user which skill/role to add. - If the work spans several phases, follow the relevant Golden Path chain, invoking each skill in the chain as you reach its phase.
- If nothing fits, proceed normally — not everything needs a skill.
Role-scoped routing (optional)
If a role is active (a .active-role marker sits beside the skills, or the
SessionStart hook named one), lead with that role's working set — read
.roles.json for it — then fall back to the rest of the catalog. The user can
change the promoted set with /role <name>. Either way you can invoke any
installed skill by name, regardless of role.
Catalog by SDLC phase
Plan & Define
- brainstorming — divergent Socratic ideation before a spec exists; opens options, then hands off
- feature-planning — break a feature into scoped tasks, acceptance criteria, dependencies
- working-agreement — define and validate how a multi-session project is run: where status lives, session routines, new work, milestone close
- build-vs-buy — build in-house vs vendor/SaaS vs adopt OSS: TCO, lock-in, exit costs
- prd-writing — write a PRD / RFC / tech spec to align on the WHAT and WHY
- project-proposal — business case / budget / go-no-go before a project starts
- strategic-review — vision, positioning, defensible wedge, live competitive/market analysis before going public
- effort-estimation — story points, t-shirt sizing, three-point estimates, capacity
- metrics-and-okrs — define OKRs, KPIs, success metrics, DORA / engineering health
Design & Architecture
- architecture-design — costly-to-reverse structural decisions, pattern choice, ADRs
- architecture-documentation — C4 diagrams, docs-as-code, runtime/infra views
- api-design — REST/GraphQL contracts, endpoints, errors, pagination, versioning
- data-modeling — schema, relationships, indexes, migration strategy
- ui-ux-design — user flows, wireframes, loading/error/empty states, responsive
- frontend-architecture — component hierarchy, state management, design tokens
- accessibility-design — WCAG, ARIA, keyboard nav, focus, screen readers
- threat-modeling — design-time security: trust boundaries, STRIDE, abuse cases, mitigations
- compliance-privacy — GDPR/SOC 2 obligations: data mapping, retention/deletion, DSRs, controls
- configuration-strategy — env config, secrets management, feature-flag hierarchy
- dependency-impact-analysis — blast radius of a change before implementing
- dependency-management — whether a library is needed at all vs an own module; evaluate, audit (CVEs), and upgrade libraries
Build & Test
- plan-execution — execute an APPROVED plan: checkpoints, verification evidence, drift → re-plan
- tdd-workflow — NEW code, test-first, red-green-refactor
- test-suite-design — add tests to EXISTING code, coverage strategy
- test-data-strategy — factories, synthetic data, property-based, contract testing
- verification-before-completion — the evidence gate before any "done / works / tests pass" claim, and before committing, pushing, or opening a PR. Pinned, but pinned is not automatic — route here when the finishing phase starts, including when another skill already quotes its Iron Law
- browser-verification — drive the real UI to prove a web change works: console/network/state evidence
- subagent-orchestration — fan work out across subagents/worktrees; verify and synthesize results
- git-workflow — commit messages, PR descriptions, branching strategy
- project-documentation — README, contributing guide, changelog, docstrings; and the sync sweep that reconciles existing docs after a change alters what they describe
Review & Improve
- code-reviewing — structured review enforcing DRY/KISS/YAGNI/SRP & conventions
- security-audit — OWASP Top 10, auth/authz, injection, secrets, dependency CVEs
- performance-optimization — N+1, algorithmic complexity, caching, bundle size
- refactoring — systematic, test-protected code improvement
- code-slop-cleanup — strip AI slop from the branch diff before PR: comment slop, debug leftovers, defensive theater, stray working files, compat shims. Most slop cleanup is a micro-refactor: invoke this for the diff-scoped removal pass,
refactoringwhen cleanup turns structural — chain both when a request spans them - technical-debt-review — codebase health, hotspots, remediation roadmap
- project-review — whole-project execution health: scope alignment, roadmap adherence, implementation maturity, evidence-it-works
- code-archaeology — understand unfamiliar/legacy code first: history mining, tracing, characterization tests
- dx-audit — developer-experience audit: feedback loops, CI wait, flakes, onboarding, tooling friction
Diagnose & Fix
- bug-investigating — systematic debugging, reproduce → isolate → hypothesize → verify
Ship & Operate
- deployment-checklist — pre-deploy verification and release safety
- rollback-strategy — safe rollback plans, irreversible-change detection
- containerization — Dockerfiles, docker-compose, Kubernetes manifests
- cicd-pipeline — CI/CD pipelines, quality gates (GitHub Actions, GitLab CI)
- release-management — semver, changelog, tagging, publish gates, registry publishing, release automation (right-sized to the project)
- infrastructure-as-code — Terraform, CloudFormation, Pulumi, CDK
- deployment-repo — GitOps polyrepo orchestration, version pinning, promotion
- gitops-delivery — ArgoCD / Flux declarative delivery, drift detection
- observability-design — SLI/SLO/SLA, OpenTelemetry, structured logging, alerting
- resilience-engineering — failure modes, stability patterns, chaos experiments, DR/RTO/RPO, game days
- finops-cost-optimization — cloud spend: allocation, unit economics, rightsizing, commitments, egress
- incident-response — ACTIVE production incident: triage, mitigate, communicate
Mobile
- mobile-architecture — platform choice, navigation, offline-first/sync, state, push, fleet constraints
- mobile-release — signing, store review, staged rollouts, no-rollback playbook, beta channels
Reflect
- retrospective — sprint retros, project / incident post-mortems, action items
MLOps
- ml-pipeline-design — ML training & feature pipelines, point-in-time correctness, orchestration
- ml-experiment-tracking — MLflow / W&B / DVC, run comparison, reproducibility
- ml-model-deployment — serving, monitoring, drift detection, safe rollouts
AI / LLM Apps
- llm-app-engineering — prompt/context engineering, RAG architecture, agent design, memory
- ai-evaluation — golden datasets, RAG metrics, LLM-as-judge design, eval gates in CI, online A/B
Data Engineering
- data-pipeline-design — batch/streaming ELT, dbt layering, Airflow/Dagster, idempotency, backfill
- data-quality — dbt tests, expectations, data contracts, freshness, lineage / blast radius
Data Science
- research-methodology — research with defensible claims: framework and rigor, data understood first, method decisions, claims traced, sources verified
- exploratory-data-analysis — profile an unfamiliar dataset: missingness structure, distributions, leakage, hypotheses
- statistical-analysis — hypothesis tests, experiment design/power, confidence intervals, multiple-comparison discipline
- notebook-to-production — refactor analysis notebooks to tested, parameterized, scheduled production code
Golden Path workflow chains
When work spans phases, chain skills rather than improvising. Chains that end in
a claim — done, fixed, shipped — close with verification-before-completion;
that step is the chain's terminus, not an optional flourish.
New feature
brainstorming (if the idea is still fuzzy) → feature-planning →
architecture-design (if structural) → data-modeling (if schema) →
threat-modeling (if new trust boundaries) → plan-execution (work the
approved plan; wraps tdd-workflow per task) → code-slop-cleanup (strip AI
artifacts from the diff) → code-reviewing → verification-before-completion
(evidence for the claim, docs reconciled) → deployment-checklist
Entry point. feature-planning leads by default. But when a single
costly-to-reverse structural decision dominates the feature — the tenant
isolation model, the storage engine, the offline sync model — architecture-design
leads instead, and feature-planning then scopes the work that the chosen option
implies. Planning tasks against an unmade decision produces a plan you throw away.
Either way both skills are in the chain; what changes is which one runs first.
New project / multi-session work
prd-writing or feature-planning (the first plan that spans sessions) →
working-agreement (how the project is run, validated by a fresh reader) →
plan-execution (records status where the agreement says). In a project that
already runs without one — nobody can say what's done — working-agreement
leads, reconstructing the current process first.
Bug / incident
incident-response (if prod is down) → bug-investigating → tdd-workflow
(regression test) → verification-before-completion (the repro now passes, and
any documented behavior the fix changed is reconciled) → deployment-checklist
Continuous improvement
technical-debt-review → refactoring → dependency-impact-analysis
(blast radius) → test-suite-design (if coverage is thin) →
verification-before-completion
Ship a release
git-workflow (commits carry the bump intent) → release-management (version,
changelog, tag, publish gate, registry) → verification-before-completion
(green on this commit, not yesterday's) → deployment-checklist (if it
deploys) → rollback-strategy. cicd-pipeline automates the gate as a pipeline
stage. App-store releases (signing, review, staged rollout) → mobile-release.
LLM feature
feature-planning → llm-app-engineering (prompt/RAG/agent design) →
ai-evaluation (golden set, judge, CI gate) → deployment-checklist.
ml-model-deployment joins when serving your own model.
Analytics / data pipeline
data-pipeline-design (ELT, layering, orchestration) → data-modeling
(marts schema) → data-quality (tests, contracts, freshness) →
observability-design (pipeline SLOs, alerting).
Notebook to production: exploratory-data-analysis (understand the data) →
statistical-analysis (test the hypotheses) → notebook-to-production
(modules, tests, scheduling); if the notebook trains a model →
ml-pipeline-design instead.
Research / data-science project
research-methodology leads: it agrees the framework (CRISP-DM by default, or
the user's own) and the rigor, and the framework's phases set the order — not a
fixed chain. What holds under any framework: exploratory-data-analysis before
any result is interpreted, statistical-analysis and ml-experiment-tracking
per experiment, plan-execution for the work itself.
Pre-public / pre-milestone review
strategic-review (vision, positioning, market) → project-review (scope,
roadmap, implementation, evidence) → synthesis → artifact-design (interactive
report). See strategic-review/templates/full-review-prompt.md for the combined brief.
When NOT to route
- Pure questions, explanations, or conversation with no workflow component.
- The user named a specific skill or explicitly opted out — follow them.
- Tiny mechanical edits (typo, rename) where a workflow is overhead.
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
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.

