Loading...
Loading...
Compare original and translation side by side
| Agent | Purpose | Triggers On |
|---|---|---|
| commit-helper | Generate conventional commit messages | "commit message", "staged changes" |
| build-verifier | Verify dist/ matches source after builds | "changes not appearing", "verify build" |
| code-reviewer | Security audits and code quality reviews | "code review", "security audit", "OWASP" |
| debugger | Systematic debugging with root cause analysis | "error", "TypeError", "stack trace", "bug" |
| test-runner | TDD workflow and test creation | "write tests", "TDD", "coverage", "jest" |
| orchestrator | Coordinate complex multi-step projects | "coordinate", "multi-step", "complex feature" |
| documentation-expert | README, API docs, architecture diagrams | "document", "README", "API docs" |
| Agent | 用途 | 触发条件 |
|---|---|---|
| commit-helper | 生成符合规范的提交信息 | "commit message"、"staged changes" |
| build-verifier | 验证构建后dist/目录与源码是否匹配 | "changes not appearing"、"verify build" |
| code-reviewer | 安全审计与代码质量审查 | "code review"、"security audit"、"OWASP" |
| debugger | 系统化调试并进行根因分析 | "error"、"TypeError"、"stack trace"、"bug" |
| test-runner | 测试驱动开发(TDD)工作流与测试用例创建 | "write tests"、"TDD"、"coverage"、"jest" |
| orchestrator | 协调复杂的多步骤项目 | "coordinate"、"multi-step"、"complex feature" |
| documentation-expert | 编写README、API文档与架构图 | "document"、"README"、"API docs" |
| Rule | Purpose |
|---|---|
| agent-first-thinking | Behavioral interrupt - consider agents before manual work |
| 规则 | 用途 |
|---|---|
| agent-first-thinking | 行为干预规则——优先考虑使用Agent而非手动操作 |
undefinedundefined
After installation, restart Claude Code to load the agents.
安装完成后,重启Claude Code以加载Agent。"Help me write a commit message for these staged changes""帮我为这些暂存的变更编写提交信息""My changes aren't appearing in production, verify the build output""我的变更没有出现在生产环境中,请验证构建输出""Review this authentication code for security vulnerabilities""审查这段认证代码是否存在安全漏洞""I'm getting TypeError: Cannot read property 'map' of undefined""我遇到了TypeError: Cannot read property 'map' of undefined错误""Use TDD to implement this user validation function""使用TDD方式实现这个用户验证函数""Coordinate a refactor of the authentication system across 5 services""协调跨5个服务的认证系统重构工作""Create comprehensive API documentation for this REST endpoint""为这个REST端点创建全面的API文档"description: |
[Role] specialist. MUST BE USED when: [trigger 1], [trigger 2], [trigger 3].
Use PROACTIVELY for [broad task category].
Keywords: keyword1, keyword2, error-message-fragmentdescription: |
[角色] 专家。必须在以下场景使用:[触发场景1]、[触发场景2]、[触发场景3]。
主动用于[广泛任务类别]。
关键词:keyword1, keyword2, error-message-fragmentagent-first-thinking.md| If about to... | Use instead... |
|---|---|
| grep/glob 3+ times | Explore agent |
| Read 5+ files | Explore agent |
| Same edit across files | Parallel agents |
| Audit multiple items | Parallel swarm |
agent-first-thinking.md| 当你要... | 替代方案... |
|---|---|
| 执行3次以上grep/glob操作 | 尝试使用Agent |
| 阅读5个以上文件 | 尝试使用Agent |
| 在多个文件中执行相同编辑 | 使用并行Agent |
| 审计多个项目项 | 使用并行Agent集群 |
undefinedundefinedundefinedundefined"Review this code for security issues, then write tests for the critical paths""审查这段代码的安全问题,然后为关键路径编写测试用例"undefinedundefinedundefinedundefined