skill-router by charon-fan/agent-playbook
npx skills add https://github.com/charon-fan/agent-playbook --skill skill-router一个智能路由器,用于分析用户请求并推荐最适合任务的 Claude Code 技能。
当您出现以下情况时,此技能会激活:
| 技能 | 最适合 |
|---|---|
commit-helper | 编写 Git 提交信息,格式化提交 |
code-reviewer | 审查 PR、代码变更、质量检查 |
debugger | 诊断错误、异常、意外行为 |
refactoring-specialist |
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
| 改进代码结构,减少技术债务 |
| 技能 | 最适合 |
|---|---|
figma-designer | 分析 Figma 设计并生成可供实施的视觉规范/PRD |
| 技能 | 最适合 |
|---|---|
documentation-engineer | 编写 README、技术文档、代码文档 |
api-documenter | 创建 OpenAPI/Swagger 规范 |
test-automator | 编写测试,设置测试框架 |
qa-expert | 测试策略、质量门控、QA 流程 |
| 技能 | 最适合 |
|---|---|
api-designer | 设计 REST/GraphQL API、API 架构 |
security-auditor | 安全审计、漏洞审查、OWASP Top 10 |
performance-engineer | 性能优化、速度分析 |
deployment-engineer | CI/CD 流水线、部署自动化 |
| 技能 | 最适合 |
|---|---|
architecting-solutions | 创建 PRD、解决方案设计、需求分析 |
planning-with-files | 多步骤任务规划、基于文件的持久化组织 |
self-improving-agent | 通用自我改进,从所有技能经验中学习 |
分析用户的请求以确定:
使用以下方法将识别出的意图与最相关的技能进行匹配:
如果请求不明确,通过有针对性的问题引导用户:
展示推荐的技能,包括:
用户: “我需要审查这个拉取请求”
路由器分析:
code-reviewer用户: “用一个技能来帮助我的项目”
路由器提问:
根据回答 → 推荐合适的技能
用户: “我正在构建一个新的 API,需要帮助处理完整的工作流”
路由器推荐: 考虑按顺序使用多个技能:
api-designer - 设计 API 结构api-documenter - 使用 OpenAPI 记录端点test-automator - 设置 API 测试code-reviewer - 审查实现当用户意图不明确时,使用以下问题模式:
当关键词不直接匹配时,使用语义相似度:
refactoring-specialistperformance-engineersecurity-auditor为复杂工作流建议技能组合:
architecting-solutions → debugger → code-reviewerapi-designer → api-documenter → test-automatorsecurity-auditor → performance-engineer → deployment-engineer指示推荐的置信度:
如果推荐的技能不合适:
推荐技能时,使用此格式:
## Recommended Skill: {skill-name}
{brief description of why this skill fits}
**What it does:** {one-sentence skill description}
**Best for:** {specific use cases}
---
Would you like me to activate this skill, or would you prefer to see other options?
每周安装数
63
仓库
GitHub 星标数
11
首次出现
Jan 22, 2026
安全审计
安装于
opencode55
codex55
gemini-cli54
cursor52
github-copilot48
amp46
An intelligent router that analyzes user requests and recommends the most appropriate Claude Code skill for the task.
This skill activates when you:
| Skill | Best For |
|---|---|
commit-helper | Writing Git commit messages, formatting commits |
code-reviewer | Reviewing PRs, code changes, quality checks |
debugger | Diagnosing bugs, errors, unexpected behavior |
refactoring-specialist | Improving code structure, reducing technical debt |
| Skill | Best For |
|---|---|
figma-designer | Analyzing Figma designs and producing implementation-ready visual specs/PRDs |
| Skill | Best For |
|---|---|
documentation-engineer | Writing README, technical docs, code documentation |
api-documenter | Creating OpenAPI/Swagger specifications |
test-automator | Writing tests, setting up test frameworks |
qa-expert | Test strategy, quality gates, QA processes |
| Skill | Best For |
|---|---|
api-designer | Designing REST/GraphQL APIs, API architecture |
security-auditor | Security audits, vulnerability reviews, OWASP Top 10 |
performance-engineer | Performance optimization, speed analysis |
deployment-engineer | CI/CD pipelines, deployment automation |
| Skill | Best For |
|---|---|
architecting-solutions | Creating PRDs, solution design, requirements analysis |
planning-with-files | Multi-step task planning, persistent file-based organization |
self-improving-agent | Universal self-improvement that learns from all skill experiences |
Analyze the user's request to identify:
Match the identified intent to the most relevant skill(s) using:
If the request is ambiguous, guide the user with targeted questions:
Present the recommended skill with:
User: "I need to review this pull request"
Router Analysis:
code-reviewerUser: "Use a skill to help with my project"
Router Questions:
Based on answers → Recommend appropriate skill
User: "I'm building a new API and need help with the full workflow"
Router Recommendation: Consider using multiple skills in sequence:
api-designer - Design the API structureapi-documenter - Document endpoints with OpenAPItest-automator - Set up API testscode-reviewer - Review implementationWhen user intent is unclear, use these question patterns:
Use semantic similarity when keywords don't match directly:
refactoring-specialistperformance-engineersecurity-auditorSuggest skill combinations for complex workflows:
architecting-solutions → debugger → code-reviewerapi-designer → api-documenter → test-automatorsecurity-auditor → performance-engineer → deployment-engineerIndicate confidence in recommendations:
If the recommended skill doesn't fit:
When recommending a skill, use this format:
## Recommended Skill: {skill-name}
{brief description of why this skill fits}
**What it does:** {one-sentence skill description}
**Best for:** {specific use cases}
---
Would you like me to activate this skill, or would you prefer to see other options?
Weekly Installs
63
Repository
GitHub Stars
11
First Seen
Jan 22, 2026
Security Audits
Gen Agent Trust HubWarnSocketPassSnykPass
Installed on
opencode55
codex55
gemini-cli54
cursor52
github-copilot48
amp46
React 组合模式指南:Vercel 组件架构最佳实践,提升代码可维护性
107,800 周安装