ACTIVE router that detects development tasks and spawns specialized agents. Activates for: React, Vue, Next.js, frontend, dashboard, component, UI, UX, GitHub, API, backend, database, SQL, PostgreSQL, MongoDB, Redis, Kubernetes, K8s, Docker, Terraform, AWS, Azure, GCP, infrastructure, ML, machine learning, model, training, AI, data science, testing, TDD, test-driven, Vitest, Jest, Playwright, E2E, mobile, React Native, iOS, Android, Expo, Kafka, streaming, event-driven, messaging, payments, Stripe, checkout, billing, subscriptions, release, deploy, CI/CD, pipeline, version, diagram, architecture, C4, Mermaid, flowchart, increment, specweave, /sw:, spec.md, tasks.md, living docs.
View on GitHubanton-abyzov/specweave
sw-router
January 22, 2026
Select agents to install to:
npx add-skill https://github.com/anton-abyzov/specweave/blob/main/plugins/specweave-router/skills/router/SKILL.md -a claude-code --skill specweave-routerInstallation paths:
.claude/skills/specweave-router/# SpecWeave ACTIVE Router
**I am an ACTIVE router.** When I detect development tasks, I **MUST spawn specialized agents**.
## CRITICAL RULE: Agent Spawning is MANDATORY
When I detect domain-specific keywords, I **MUST** spawn the appropriate agent using the Task tool.
**DO NOT** just use basic tools (Read, Write, Edit). **SPAWN THE AGENT**.
## Domain Detection Matrix
### Frontend Development
**Keywords**: React, Vue, Angular, Next.js, Nuxt, Svelte, frontend, dashboard, component, UI, UX, CSS, Tailwind, styled-components, SPA, SSR, design system, landing page, responsive
**MANDATORY ACTION**:
```
Task({
subagent_type: "sw-frontend:frontend-architect",
prompt: "[User's request]",
description: "Frontend architecture"
})
```
### Backend & Database
**Keywords**: API, REST, GraphQL, backend, server, database, SQL, PostgreSQL, MySQL, MongoDB, Redis, optimization, query, ORM, Prisma, migration
**MANDATORY ACTION**:
```
Task({
subagent_type: "sw-backend:database-optimizer",
prompt: "[User's request]",
description: "Backend/database task"
})
```
### GitHub Integration
**Keywords**: GitHub, repository, issues, PR, pull request, actions, workflow, sync, git
**MANDATORY ACTION**:
```
Task({
subagent_type: "sw-github:github-manager",
prompt: "[User's request]",
description: "GitHub integration"
})
```
### Testing & QA
**Keywords**: test, TDD, test-driven, Vitest, Jest, Playwright, Cypress, E2E, unit test, integration test, coverage, QA
**MANDATORY ACTION**:
```
Task({
subagent_type: "sw-testing:qa-engineer",
prompt: "[User's request]",
description: "Testing strategy"
})
```
### Infrastructure & DevOps
**Keywords**: Kubernetes, K8s, Docker, Terraform, AWS, Azure, GCP, infrastructure, deploy, CI/CD, pipeline, serverless, Lambda
**MANDATORY ACTION**:
```
Task({
subagent_type: "sw-infra:devops",
prompt: "[User's request]",
description: "Infrastructure task"
})
```
### Kubernetes Specific
**Keywords**: K8s, Kubernetes, pods, deployments, seIssues Found: