SuperAPI AI 工具集

setup

通用与其它

查看项目

更新于 10-16 09:30

技能介绍

用途:这是 Compound Engineering 的交互式配置流程,用来决定在 /workflows:review 和 /workflows:work 中运行哪些评审智能体,并把结果写入项目根目录的 compound-engineering.local.md。

主要能力:先检查项目根目录是否已有 compound-engineering.local.md,若存在则显示当前设置摘要,并让用户选择重新配置、查看当前内容或取消。随后自动检测项目技术栈,检测命令为:

test -f Gemfile && test -f config/routes.rb && echo "rails" ||
test -f Gemfile && echo "ruby" ||
test -f tsconfig.json && echo "typescript" ||
test -f package.json && echo "javascript" ||
test -f pyproject.toml && echo "python" ||
test -f requirements.txt && echo "python" ||
echo "general"

使用方式:可选择一键自动配置,或自定义技术栈、关注领域与评审深度。关注领域包括安全(security-sentinel)、性能(performance-oracle)、架构(architecture-strategist)和代码简洁性(code-simplicity-reviewer)。深度分为 Thorough、Fast、Comprehensive:Fast 仅技术栈评审加代码简洁性;Comprehensive 在其基础上增加 git-history-analyzer、data-integrity-guardian、agent-native-reviewer。自动配置的默认组合按技术栈区分,例如 Rails 为 kieran-rails-reviewer、dhh-rails-reviewer、code-simplicity-reviewer、security-sentinel、performance-oracle;Python 和 TypeScript 使用各自的技术栈评审者,General 则使用 code-simplicity-reviewer、security-sentinel、performance-oracle、architecture-strategist。

写入格式:


review_agents: [{computed agent list}] plan_review_agents: [{computed plan agent list}]

文件中还包含可编辑的 Review Context 段,用于补充项目专属评审说明,这些说明会在评审时传递给所有评审智能体。最后显示已保存的栈类型、评审深度和智能体数量与列表。

适用场景:需要在项目中统一代码评审智能体配置的仓库,尤其适合 Rails、Python、TypeScript 项目。限制:至少 Ruby 与 JavaScript 检测会分别回退到 ruby 与 javascript 类型,但默认智能体列表未在资料中给出;各智能体的具体能力、收费或运行效果均暂未提供。