mcpField
D
developer-toolbox

developer-toolbox

github.com/jezweb开发1.1k355 次安装3 周前更新
代码仓库

关于 developer-toolbox

面向 Claude Code 的开发工作流技能集合,包含 7 个 Agent 和一条规则,覆盖代码审查、调试、测试及文档等任务。

主要功能

  1. 017 个开发工作流 Agent
  2. 02常规提交信息生成
  3. 03安全审查与代码审查
  4. 04调试和测试工作流
  5. 05文档编写与多步骤协调
  6. 06可扩展的 Agent 文件

适用场景

  1. 01为暂存更改生成提交信息
  2. 02审查认证代码的安全问题
  3. 03调试错误并补充测试
  4. 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.json
agents/
build-verifier.md
code-reviewer.md
commit-helper.md
debugger.md
documentation-expert.md
orchestrator.md
test-runner.md
rules/
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-runnerTDD 工作流和测试创建“write tests”、“TDD”、“coverage”、“jest”
orchestrator协调复杂的多步骤项目“coordinate”、“multi-step”、“complex feature”
documentation-expertREADME、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