Files
agent-toolbox/skills/README.md

28 KiB
Raw Permalink Blame History

SKILLS

编程

<!-- skills:begin (do not edit between these markers) -->
# Skills 使用规范

## 核心规则

1. **收到任务时,先检查是否有匹配的 skill** — 哪怕只有 1% 的可能性也要检查
2. **设计先于编码** — 收到功能需求时,先用 brainstorming skill 做需求分析
3. **测试先于实现** — 写代码前先写测试TDD
4. **验证先于完成** — 声称完成前必须运行验证命令

## 可用 Skills

Skills 位于 `.claude/skills/` 目录,每个 skill 有独立的 `SKILL.md` 文件。

## 如何使用

当任务匹配某个 skill 时,使用 `Skill` 工具加载对应 skill 并严格遵循其流程。绝不要用 Read 工具读取 SKILL.md 文件。

如果你认为哪怕只有 1% 的可能性某个 skill 适用于你正在做的事情,你必须调用该 skill 检查。
<!-- skills:end -->

专家包

快速发现专家能力组合,让 AI 从单点技能走向完整工作流 。

专家包 说明 链接
Bug 排查 (tech-bug-troubleshooting) 从多格式日志解析与错误模式分析到七步调试法、运行时执行追踪、四阶段系统化根因分析再到零回归修复工作流和快速错误解释的完整Bug排查工作流。支持Python、Node.js、Java等多语言运行时调试覆盖堆栈跟踪解析、错误模式识别、假设检验和修复验证。 https://skillhub.cn/skillspackage/tech-bug-troubleshooting
代码审查 (tech-code-review) 从GitHub PR自动接入到严格代码审查、编码规范检查与自动修复、安全漏洞扫描、整洁代码原则验证再到生成结构化中文审查报告的完整代码审查工作流。支持Python、JavaScript、TypeScript、Go、Swift、Kotlin等多语言覆盖Bug检测、安全漏洞、性能问题、代码风格、复杂度分析等维度。 https://skillhub.cn/skillspackage/tech-code-review
代码重构 (tech-code-refactoring) 从深度代码结构分析与DDD模式识别、技术债务评估与架构反模式检测、SOLID/整洁代码/整洁架构原则指导、经典重构模式与遗留代码改造技术,到系统架构与模块化设计、不改变行为的代码简化重构执行的完整代码重构工作流。支持复杂度分析、依赖关系可视化、设计模式应用和渐进式重构策略。 https://skillhub.cn/skillspackage/tech-code-refactoring
自动化测试 (tech-test-automation) 从TDD方法论指导到自动生成单元测试代码、跨语言测试编写与运行、Playwright/Cypress E2E测试编排、REST/GraphQL API测试自动化再到QA测试计划与覆盖率矩阵生成的完整自动化测试工作流。支持Python(pytest)、JavaScript(Jest/Vitest/Mocha)、Go等多语言覆盖单元测试、集成测试、E2E测试、API测试和性能测试。 https://skillhub.cn/skillspackage/tech-test-automation
API 文档 (tech-api-documentation) 从REST/GraphQL API规范设计到代码自动解析生成OpenAPI文档、API开发全流程管理、接口文档撰写、请求构造与Mock测试再到OpenAPI 3.0规范输出与SDK快速入门指南生成的完整API文档工作流。支持资源建模、版本策略、分页模式、错误处理规范和多语言SDK示例。 https://skillhub.cn/skillspackage/tech-api-documentation

Bug 排查 (tech-bug-troubleshooting)

Skill 说明 链接
tech-bug-troubleshooting 从多格式日志解析与错误模式分析到七步调试法、运行时执行追踪、四阶段系统化根因分析再到零回归修复工作流和快速错误解释的完整Bug排查工作流。支持Python、Node.js、Java等多语言运行时调试覆盖堆栈跟踪解析、错误模式识别、假设检验和修复验证。
log-analyzer 解析、搜索并分析多种格式的应用程序日志。适用于从日志文件调试、设置结构化日志、分析错误模式、跨服务关联事件、解析堆栈跟踪或实时监控日志输出。 https://skillhub.cn/skills/log-analyzer
debug-pro 提供七步调试协议及语言特定命令,系统化地识别、验证并修复跨多环境的软件缺陷。 https://skillhub.cn/skills/debug-pro
code-error-fixer 全能代码报错极速修复工具支持C++、Java、Python、前端、Linux、编译报错、运行报错。用户粘贴任意报错日志或错误代码自动定位错误根源、解释底层原因、输出可直接复制运行的修复代码并给出避坑方案。 https://skillhub.cn/skills/code-fix
superpowers-systematic-debugging 对所有缺陷和故障强制执行四阶段调试流程:根因调查、模式分析、假设检验、基于证据的修复验证。 https://skillhub.cn/skills/superpowers-systematic-debugging
bug-fixing 零回归缺陷修复工作流:分诊→复现→根因分析→影响分析→修复→验证→知识沉淀→自我反思。 https://skillhub.cn/skills/bug-fixing
nexus-error-explain 解释错误信息并提供修复建议。 https://skillhub.cn/skills/nexus-error-explain

代码审查 (tech-code-review)

Skill 说明 链接
tech-code-review 从GitHub PR自动接入到严格代码审查、编码规范检查与自动修复、安全漏洞扫描、整洁代码原则验证再到生成结构化中文审查报告的完整代码审查工作流。支持Python、JavaScript、TypeScript、Go、Swift、Kotlin等多语言覆盖Bug检测、安全漏洞、性能问题、代码风格、复杂度分析等维度。
pr-reviewer 自动化的 GitHub PR 代码审查具备差异分析、lint 集成和结构化报告。适用于审查 pull request、检查安全问题等。 https://skillhub.cn/skills/pr-reviewer
critical-code-reviewer 进行严格对抗性的代码审查绝不容忍平庸。用于用户要求严格审查代码或PR、批评代码、找出代码问题或代码有何不足时。识别Python、R、JavaScript/TypeScript、SQL及前端代码中的安全漏洞、懒散模式、边界情况失败和不良实践。仔细检查错误处理、类型安全、性能、可访问性和代码质量。提供阻塞性、必需性、建议等严重级别的结构化反馈及具体可操作的建议。 https://skillhub.cn/skills/critical-code-reviewer
project-code-standard 此 skill 用于检查、执行和修复项目代码规范。当用户需要为项目建立代码风格标准、 检查代码是否符合规范、自动修复格式问题、生成代码质量报告,或在 Code Review 中验证提交是否满足团队规范时激活。 https://skillhub.cn/skills/project-code-standard
security-audit 对 Clawdbot 部署进行全方位安全审计,扫描暴露凭证、开放端口、弱配置及漏洞,支持自动修复。 https://skillhub.cn/skills/security-audit
clean-code 务实的编码规范,编写简洁、可维护的代码——命名、函数、结构、反模式及编辑前安全检查。适用于编写新代码、重构现有代码、审查代码质量或制定编码规范。 https://skillhub.cn/skills/clean-code-review
code-review-assistant 代码 Review 助手。分析 Git diff 或代码片段,输出结构化中文 Review 报告,覆盖 Bug、安全漏洞、性能问题、可读性、最佳实践、类型安全、错误处理、测试覆盖。支持严格程度配置信息/优化/标准/严重和多种主流语言Python/JS/TS/Java/Go/Rust https://skillhub.cn/skills/cody

代码重构 (tech-code-refactoring)

Skill 说明 链接
tech-code-refactoring 从深度代码结构分析与DDD模式识别、技术债务评估与架构反模式检测、SOLID/整洁代码/整洁架构原则指导、经典重构模式与遗留代码改造技术,到系统架构与模块化设计、不改变行为的代码简化重构执行的完整代码重构工作流。支持复杂度分析、依赖关系可视化、设计模式应用和渐进式重构策略。
code-analyzer 深度代码分析工具。分析代码架构、执行流程、数据流、业务规则、外部依赖、数据模型,支持 DDD 模式识别聚合根、实体、值对象、领域服务、仓储、领域事件、限界上下文。使用场景新代码库熟悉、架构文档生成、代码审查准备、技术债务评估、知识传承、DDD 模式识别。 https://skillhub.cn/skills/code-analyzer
agent-git-oracle 高级仓库分析与重构指南。基于AI推理识别技术债务与架构反模式。 https://skillhub.cn/skills/agent-git-oracle
uncle-bob 应用 Robert C. Martin (Uncle Bob) 的整洁代码原则、SOLID 设计原则和整洁架构。 https://skillhub.cn/skills/uncle-bob
code-refactoring 代码重构模式与技术,在不改变行为的前提下提升代码质量,适用于清理遗留代码、降低复杂度或改善可维护性。 https://skillhub.cn/skills/code-refactoring
system-architect 充当高级系统架构师设计健壮、可扩展且易于维护的软件架构。遵循行业标准Python 的 PEP8、JS/TS 的 ESLint采用模块化设计并落实安全最佳实践。适用于用户想启动新项目、重构现有项目或讨论高层系统设计时。 https://skillhub.cn/skills/system-architect
simplify 在不改变行为的前提下重构代码,以提升清晰度、一致性和可维护性。当用户输入 /simplify 或要求简化代码时使用。

自动化测试 (tech-test-automation)

Skill 说明 链接
tech-test-automation 从TDD方法论指导到自动生成单元测试代码、跨语言测试编写与运行、Playwright/Cypress E2E测试编排、REST/GraphQL API测试自动化再到QA测试计划与覆盖率矩阵生成的完整自动化测试工作流。支持Python(pytest)、JavaScript(Jest/Vitest/Mocha)、Go等多语言覆盖单元测试、集成测试、E2E测试、API测试和性能测试。
superpowers-tdd 强制遵循 REDGREENREFACTOR 的 TDD 流程,先写会失败的真实代码测试,验证失败后编写最简实现,再进行重构。 https://skillhub.cn/skills/superpowers-tdd
test-case-generator 根据给定代码,自动生成包含导入、测试用例、模拟对象和断言的完整 Jest、Mocha 或 Pytest 单元测试代码。 https://skillhub.cn/skills/test-case-generator
test-patterns 跨语言和框架编写并运行测试。适用于搭建测试套件、编写单元/集成/E2E测试、测量覆盖率、模拟依赖或调试测试失败。支持 Node.js (Jest/Vitest)、Python (pytest)、Go、Rust 和 Bash。 https://skillhub.cn/skills/test-patterns
e2e-testing-patterns 使用 Playwright 和 Cypress 构建稳定高效的 E2E 测试套件:覆盖核心链路,消除不稳定测试,集成 CI/CD。 https://skillhub.cn/skills/e2e-testing-patterns
api-test-automation API接口测试自动化工具支持REST/GraphQL包含接口测试、性能测试、契约测试、Mock服务等功能。 https://skillhub.cn/skills/api-test-automation
afrexai-qa-test-plan 为工程师生成详细QA测试计划涵盖覆盖率矩阵、测试用例、缺陷严重级、自动化ROI、发布清单及指标仪表板。 https://skillhub.cn/skills/afrexai-qa-test-plan

API 文档 (tech-api-documentation)

Skill 说明 链接
tech-api-documentation 从REST/GraphQL API规范设计到代码自动解析生成OpenAPI文档、API开发全流程管理、接口文档撰写、请求构造与Mock测试再到OpenAPI 3.0规范输出与SDK快速入门指南生成的完整API文档工作流。支持资源建模、版本策略、分页模式、错误处理规范和多语言SDK示例。
api-designer 您是一位 API 设计专家,精通 RESTful 服务、GraphQL、OpenAPI/Swagger 规范以及 API 优先的开发方法论。 https://skillhub.cn/skills/ah-api-designer
api-docs-generator 自动从代码生成完整的API文档。支持REST、GraphQL、WebSocket包含示例和模式。 https://skillhub.cn/skills/sovereign-api-docs-generator
api-dev 搭建、测试、记录和调试 REST 与 GraphQL API。适用于创建 API 端点、编写集成测试、生成 OpenAPI 规范、使用 curl 测试、模拟 API 或排查 HTTP 问题。 https://skillhub.cn/skills/api-dev
api-doc-writer API接口文档助手。用于编写REST API文档、定义接口规范、生成接口说明。当需要编写API文档、接口规范时触发。 https://skillhub.cn/skills/api-doc-writer
api-tester API 接口测试与自动化。发送 HTTP 请求校验响应链式调用接口生成测试脚本Python requests/pytest、curl、Postman 等)。 https://skillhub.cn/skills/qa-api-tester
afrexai-api-docs 根据包含示例和错误码的API端点描述生成完整的OpenAPI 3.0规范、Markdown参考文档及SDK快速入门指南。 https://skillhub.cn/skills/afrexai-api-docs

前端

Wot UI

Skill 说明 链接
wot-ui-v2 处理 wot-ui v2 组件库日常开发的核心技能。 https://github.com/wot-ui/open-wot/tree/main/skills/wot-ui-v2/SKILL.md
wot-ui-cli 专门用于回答、使用和调试 @wot-ui/cli 工具本身的技能。 https://github.com/wot-ui/open-wot/tree/main/skills/wot-ui-cli/SKILL.md
wot-ui-unocss-preset-guide 指导安装、配置并使用 @wot-ui/unocss-preset https://github.com/wot-ui/open-wot/tree/main/skills/wot-ui-unocss-preset-guide/SKILL.md
create-wot-ui-theme 生成 wot-ui 单文件主题 SCSS 的专项技能。 https://github.com/wot-ui/open-wot/tree/main/skills/create-wot-ui-theme/SKILL.md

Vue

Skill 说明 链接
vue Vue.js core - reactivity, components, composition API https://github.com/antfu/skills/blob/main/skills/vue
pinia Pinia - intuitive, type-safe state management for Vue https://github.com/antfu/skills/blob/main/skills/pinia
vite Vite build tool - config, plugins, SSR, library mode https://github.com/antfu/skills/blob/main/skills/vite
vitepress VitePress - static site generator powered by Vite https://github.com/antfu/skills/blob/main/skills/vitepress
vitest Vitest - unit testing framework powered by Vite https://github.com/antfu/skills/blob/main/skills/vitest
vueuse-functions VueUse - 200+ Vue composition utilities https://github.com/antfu/skills/blob/main/skills/vueuse-functions
vue-best-practices Vue 3 + TypeScript best practices https://github.com/antfu/skills/blob/main/skills/vue-best-practices
vue-router-best-practices Vue Router best practices https://github.com/antfu/skills/blob/main/skills/vue-router-best-practices
vue-testing-best-practices Vue testing best practices https://github.com/antfu/skills/blob/main/skills/vue-testing-best-practices

uni-app

Skill 说明 链接
Uni-app 开发专家 (uniapp-expert) uni-app 跨平台开发专家技能,涵盖 Vue2/Vue3 开发、Vue2→Vue3 迁移实战、微信小程序自动化测试。融合真实项目踩坑经验,提供从开发到测试的完整解决方案。 https://skillhub.cn/skills/uniapp-expert

其他

Skill 说明 链接
antfu Anthony Fu's preferences and best practices for app/library projects (eslint, pnpm, vitest, vue, etc.) https://github.com/antfu/skills/blob/main/skills/antfu
antfu-design UnoCSS-centered design principles, semantic tokens, and UI presentation patterns from Anthony Fu's tooling UIs https://github.com/antfu/skills/blob/main/skills/antfu-design
unocss UnoCSS - atomic CSS engine, presets, transformers https://github.com/antfu/skills/blob/main/skills/unocss
pnpm pnpm - fast, disk space efficient package manager https://github.com/antfu/skills/blob/main/skills/pnpm
turborepo Turborepo - high-performance build system for monorepos https://github.com/antfu/skills/blob/main/skills/turborepo
web-design-guidelines Web design guidelines for building beautiful interfaces https://github.com/antfu/skills/blob/main/skills/web-design-guidelines
ui-ux-pro-max 提供 UI/UX 设计智能与实现指导,帮助打造精美界面。适用于 UI 设计、UX 流程、信息架构、视觉风格、设计系统/标记、组件规格、文案/微文案、无障碍及前端 UIHTML/CSS/JS、React、Next.js、Vue、Svelte、Tailwind生成/评审/改进。工作流包括:①新 UI 布局与样式生成;②现有 UI/UX 改进;③设计系统标记和组件规范产出;④ UX 建议转化为代码变更。 https://skillhub.cn/skills/ui-ux-pro-max
frontend-spec 企业级前端开发规范 Skill包含命名、目录、CSS/JS/TS、Vue/React、Git、构建、性能、安全完整规范。 https://skillhub.cn/skills/frontend-spec
frontend-design Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults. https://github.com/anthropics/skills/tree/main/skills/frontend-design

日常办公

Skill 说明 链接
pdf Use this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs, filling PDF forms, encrypting/decrypting PDFs, extracting images, and OCR on scanned PDFs to make them searchable. If the user mentions a .pdf file or asks to produce one, use this skill. https://github.com/anthropics/skills/blob/main/skills/pdf
pptx Use this skill any time a .pptx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx file (even if the extracted content will be used elsewhere, like in an email or summary); editing, modifying, or updating existing presentations; combining or splitting slide files; working with templates, layouts, speaker notes, or comments. Trigger whenever the user mentions "deck," "slides," "presentation," or references a .pptx filename, regardless of what they plan to do with the content afterward. If a .pptx file needs to be opened, created, or touched, use this skill. https://github.com/anthropics/skills/tree/main/skills/pptx
docx Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files). Triggers include: any mention of 'Word doc', 'word document', '.docx', or requests to produce professional documents with formatting like tables of contents, headings, page numbers, or letterheads. Also use when extracting or reorganizing content from .docx files, inserting or replacing images in documents, performing find-and-replace in Word files, working with tracked changes or comments, or converting content into a polished Word document. If the user asks for a 'report', 'memo', 'letter', 'template', or similar deliverable as a Word or .docx file, use this skill. Do NOT use for PDFs, spreadsheets, Google Docs, or general coding tasks unrelated to document generation. https://github.com/anthropics/skills/blob/main/skills/docx
storage-analyzer 一句话扫描 Mac / Windows 整机磁盘,三色分级给清理决策,网页上一键移废纸篓 https://github.com/KKKKhazix/khazix-skills/tree/main/storage-analyzer

基础

Skill 说明 链接
skill-creator Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy. https://github.com/anthropics/skills/tree/main/skills/skill-creator
mcp-builder Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK). https://github.com/anthropics/skills/tree/main/skills/mcp-builder
skill-vetter AI智能体技能安全预审工具。安装ClawdHub、GitHub等来源技能前检查风险信号、权限范围及可疑模式。 https://skillhub.cn/skills/skill-vetter
grill-me Get relentlessly interviewed about a plan or design until every branch of the decision tree is resolved. https://github.com/mattpocock/skills

归档(不再使用)

SuperPowers-Zh

https://github.com/jnMetaCode/superpowers-zh

14 个翻译 SKILL6 个国产技能。

Skill 说明
头脑风暴 (brainstorming) 需求分析 → 设计规格,不写代码先想清楚
编写计划 (writing-plans) 把规格拆成可执行的实施步骤
执行计划 (executing-plans) 按计划逐步实施,每步验证
测试驱动开发 (test-driven-development) 严格 TDD先写测试再写代码
系统化调试 (systematic-debugging) 四阶段调试法:定位→分析→假设→修复
请求代码审查 (requesting-code-review) 派遣审查 agent 检查代码质量
接收代码审查 (receiving-code-review) 技术严谨地处理审查反馈,拒绝敷衍
完成前验证 (verification-before-completion) 证据先行——声称完成前必须跑验证
派遣并行 Agent (dispatching-parallel-agents) 多任务并发执行
子 Agent 驱动开发 (subagent-driven-development) 每个任务一个 agent两轮审查
Git Worktree 使用 (using-git-worktrees) 隔离式特性开发
完成开发分支 (finishing-a-development-branch) 合并/PR/保留/丢弃四选一
编写 Skills (writing-skills) 创建新 skill 的方法论
使用 Superpowers (using-superpowers) 元技能:如何调用和优先使用 skills
中文代码审查 (chinese-code-review) 符合国内团队文化的代码审查规范
中文 Git 工作流 (chinese-git-workflow) 适配 Gitee/Coding/极狐 GitLab/CNB
中文技术文档 (chinese-documentation) 中文排版规范、中英混排、告别机翻味
中文提交规范 (chinese-commit-conventions) 适配国内团队的 commit message 规范
MCP 服务器构建 (mcp-builder) 构建生产级 MCP 工具,扩展 AI 能力边界
工作流执行器 (workflow-runner) 在 AI 工具内运行多角色 YAML 工作流

来源