用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/Dev-Toolbelt/dev-team-agents --skill spawn-classifier命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | spawn-classifier |
| description | Conditional agent spawn — path patterns and text triggers. |
Evaluate changed files (from git diff --name-only or the task description) against these patterns:
| Changed path pattern | Agent to spawn |
|---|---|
*.{go,py,rb,php,java,kt,rs} | backend-developer |
app/Http/, app/Services/, src/controllers/, routes/ | backend-developer |
*.{tsx,jsx,vue,svelte} | frontend-developer |
src/components/, src/pages/, resources/js/, app/javascript/ | frontend-developer |
database/migrations/, db/migrate/, prisma/, *.sql | database-specialist |
.github/workflows/, Dockerfile*, docker-compose*.yml | devops-specialist |
*.tf, *.tfvars, Pulumi.yaml, serverless.yml | devops-specialist |
Jenkinsfile, .gitlab-ci.yml, *.circleci/ | devops-specialist |
*.spec.{ts,tsx,js}, *.test.{ts,tsx,js}, tests/, spec/ (frontend) | frontend-test-specialist |
*.spec.{py,rb,go,java,kt}, tests/, spec/ (backend) | backend-test-specialist |
*.stories.{ts,tsx,js}, storybook/, .storybook/ | frontend-developer + ui-ux-designer |
Evaluate the task description or user message:
| Keyword or phrase | Agent to spawn |
|---|---|
| "security", "vulnerability", "CVE", "auth bypass", "injection", "XSS", "CSRF" | security-specialist |
| "penetration test", "threat model", "OWASP" | security-specialist + software-architect |
| "test", "spec", "coverage", "unit test", "integration test" (frontend context) | frontend-test-specialist |
| "test", "spec", "coverage", "unit test", "integration test" (backend context) | backend-test-specialist |
| "design", "UX", "wireframe", "mockup", "user flow", "component library" | ui-ux-designer |
| "design system", "token", "Figma" | ui-ux-designer + frontend-developer |
| "SEO", "meta tag", "structured data", "sitemap", "Core Web Vitals", "llms.txt", "GEO", "otimização para IA/LLM" | seo-specialist |
Project is a public site, landing page, e-commerce/online store, or blog (see skills/design/seo-optimization/SKILL.md § Detection Signals) | seo-specialist alongside frontend-developer/ui-ux-designer |
| "database", "schema", "migration", "index", "query", "ORM" | database-specialist |
| "deploy", "CI/CD", "pipeline", "Docker", "Kubernetes", "infra" | devops-specialist |
| "architecture", "ADR", "design decision", "trade-off", "system design" | software-architect |
| "API", "REST", "GraphQL", "endpoint", "service" | backend-developer |
| "bug", "fix", "regression", "broken", "error" | context-dependent — see Default below |
Some tasks require more than one agent. Spawn in parallel when there are no dependencies:
| Scenario | Agents |
|---|---|
| Full-stack feature | backend-developer + frontend-developer + optionally database-specialist |
| Security audit | security-specialist + software-architect |
| New API endpoint with UI | backend-developer → frontend-developer (sequential — API first) |
| Database schema + migration | database-specialist → backend-developer (sequential — schema first) |
| Test-only task (both layers) | backend-test-specialist + frontend-test-specialist (parallel) |
| PR review | code-reviewer + security-specialist + optionally database-specialist |
When a changed file matches multiple patterns:
src/controllers/UsersController.ts matches both frontend (src/) and backend (controller) — the controllers/ pattern is more specific, so spawn backend-developer.software-architect first to classify and produce a plan.When scope is unclear — no strong file-path or text match — ask before spawning, per the Quiz-first Rule (skills/shared/interaction-patterns/SKILL.md):
AskUserQuestion (single-select) offering the likely domains: Backend, Frontend, Database, DevOps, Security, Architecture, and "Not sure — let an agent classify it."software-architect first to analyze the task and produce a plan that identifies which domains are affected; downstream agents are then spawned from that plan.This avoids paying for a full reasoning-tier agent invocation just to classify an ambiguous request, while still preventing incorrect agents from producing work that conflicts with the actual architecture when the user genuinely doesn't know.
git diff --name-only HEAD~1 to get changed filessoftware-architect first