SuperAPI AI 工具集

claude-consult

智能体与模型

查看项目

更新于 10-16 01:37

技能介绍

用途:claude-consult 面向实现阶段,让开发者在不中断编码的情况下向具备领域技能的 Claude 专家智能体提问,例如理解模块、核对既有约定、判断方案安全性、排查测试失败或了解测试标准。它明确不替代审查门禁(agent-loops 中的 specialist-review 与 diff-test-audit),后者在实现完成后运行,用于独立验证。

调用方式:所有智能体以无头模式运行,命令为 claude -p --agent <agent-name> "<your question>"。结果输出到 stdout,可捕获到变量或写入文件,例如 claude -p --agent debugger "Why is test_auth_flow failing in src/auth/tests.py?",或重定向 > /tmp/arch-advice.md。

智能体名册覆盖多类用途:代码库理解(search-specialist、architect-reviewer、docs-architect);代码质量与模式(code-reviewer、refiner、rest-expert);安全(security-auditor、owasp-top10-expert、penetration-tester、jwt-expert、compliance-auditor);测试(test-automator、vitest-expert);调试(debugger);性能(performance-engineer、frontend-optimizer、performance-monitor);前端与 UI(ui-ux-designer、component-architect、interaction-designer、state-architect、react-specialist、tailwind-expert);语言专家(python-pro、rust-pro、typescript-pro、javascript-pro、sql-pro);基础设施(cloud-architect、kubernetes-architect、terraform-specialist);数据(database-admin、database-optimizer、postgres-expert);文档(mermaid-expert、tutorial-engineer、technical-writer、reference-builder);协调与元(orchestrator、prompt-engineer、learning-guide)。每个智能体预加载对应技能。

使用规则:智能体只提供建议、不代写代码,由开发者自行应用;问题需限定范围,窄问题答案更好且更省 token;咨询不替代正式审查门禁;优先使用成本最低的合适智能体做事实查询;每次调用只问一个问题,因为每次 claude -p --agent 都是冷启动。其他平台与收费信息暂未提供。