关于 developer-toolbox
面向 Claude Code 的开发工作流技能集合,包含 7 个 Agent 和一条规则,覆盖代码审查、调试、测试及文档等任务。
主要功能
- 017 个开发工作流 Agent
- 02常规提交信息生成
- 03安全审查与代码审查
- 04调试和测试工作流
- 05文档编写与多步骤协调
- 06可扩展的 Agent 文件
适用场景
- 01为暂存更改生成提交信息
- 02审查认证代码的安全问题
- 03调试错误并补充测试
- 04协调重构并撰写 API 文档
安装
复制下面的命令,在终端中运行。
$
npx skills add https:/ / github.com/ jezweb/ claude-skills --skill developer-toolbox安装后在 Claude Code 中输入/developer-toolbox确认已加载。
包含的文件
除 SKILL.md 外,安装时一起下载的参考资料和脚本。
README.md.claude-plugin/plugin.jsonagents/build-verifier.mdcode-reviewer.mdcommit-helper.mddebugger.mddocumentation-expert.mdorchestrator.mdtest-runner.mdrules/agent-first-thinking.md详细介绍
开发者工具箱
一组必备的开发工作流 Agent,可与 Claude Code 无缝集成。
包含内容
Agent(7 个)
| 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” |
规则(1 条)
| 规则 | 用途 |
|---|---|
| agent-first-thinking | 行为中断机制——手动操作前先考虑使用 Agent |
安装
# Via marketplace
/plugin install developer-toolbox
# Or local development
/plugin install ./skills/developer-toolbox
安装后,重启 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"
测试运行器
"Use TDD to implement this user validation function"
编排器
"Coordinate a refactor of the authentication system across 5 services"
文档专家
"Create comprehensive API documentation for this REST endpoint"
Agent 设计理念
所有 Agent 都遵循 “MUST BE USED when” 模式,以确保可靠地自动发现:
description: |
[Role] specialist. MUST BE USED when: [trigger 1], [trigger 2], [trigger 3].
Use PROACTIVELY for [broad task category].
Keywords: keyword1, keyword2, error-message-fragment
这样可确保 Claude Code 根据用户请求自动发现并建议合适的 Agent。
Agent 优先思考规则
随附的 agent-first-thinking.md 规则鼓励默认使用 Agent:
思维转变:
- 错误:“除非任务大到需要 Agent,否则我会手动完成”
- 正确:“除非有理由不使用 Agent,否则我会使用 Agent”
触发条件:
| 如果正准备…… | 改用…… |
|---|---|
| 执行 grep/glob 3 次以上 | Explore Agent |
| 阅读 5 个以上文件 | Explore Agent |
| 在多个文件中进行相同编辑 | 并行 Agent |
| 审查多个项目 | 并行 Agent 集群 |
自定义
安装后,可以编辑各 Agent 的 Markdown 文件来扩展其功能:
# Find installed agents
ls ~/.claude/plugins/cache/*/developer-toolbox/*/agents/
# Or copy to user-level for customization
cp [plugin-path]/agents/code-reviewer.md ~/.claude/agents/
组合使用 Agent
Agent 可以很好地协同工作:
"Review this code for security issues, then write tests for the critical paths"
# → code-reviewer first, then test-runner
"Debug this failing test, document the root cause, and commit the fix"
# → debugger → documentation-expert → commit-helper
版本历史
- 1.0.0(2025-01-20):首次发布,包含 7 个 Agent 和 1 条规则
评论
支持 Markdown