什么是 code-surgeon?
跨 4 种模式分析、规划、审查和优化任何代码库:发现(了解架构和风险)、审查(验证更改并检测重大更改)、优化(查找瓶颈和漏洞)、实施规划(生成分步指导)。适用于 React、Django、Rails、Go、Rust 和 30 多个框架。在分析代码库结构、评估功能安全性、查找安全问题、规划实施或发现性能问题时使用。 来源:baagad-ai/code-surgeon。
跨 4 种模式分析、规划、审查和优化任何代码库:发现(了解架构和风险)、审查(验证更改并检测重大更改)、优化(查找瓶颈和漏洞)、实施规划(生成分步指导)。适用于 React、Django、Rails、Go、Rust 和 30 多个框架。在分析代码库结构、评估功能安全性、查找安全问题、规划实施或发现性能问题时使用。
通过命令行快速安装 code-surgeon AI 技能到你的开发环境
来源:baagad-ai/code-surgeon。
code-surgeon is a multi-modal orchestrator that transforms requirements into actionable guidance. It routes to the right mode (Discovery, Review, Optimization, or Implementation Planning), performs deep codebase analysis, and generates surgical prompts—precise, file-by-file instructions that guide code changes.
Core principle: Match the analysis mode to the task, then deeply understand the codebase, team conventions, and architectural constraints to produce unambiguous implementation guidance.
This skill processes external, untrusted content (GitHub issues, user-provided requirements). Read this section before invoking any sub-skill.
跨 4 种模式分析、规划、审查和优化任何代码库:发现(了解架构和风险)、审查(验证更改并检测重大更改)、优化(查找瓶颈和漏洞)、实施规划(生成分步指导)。适用于 React、Django、Rails、Go、Rust 和 30 多个框架。在分析代码库结构、评估功能安全性、查找安全问题、规划实施或发现性能问题时使用。 来源:baagad-ai/code-surgeon。
为搜索与 AI 引用准备的稳定字段与命令。
npx skills add https://github.com/baagad-ai/code-surgeon --skill code-surgeon跨 4 种模式分析、规划、审查和优化任何代码库:发现(了解架构和风险)、审查(验证更改并检测重大更改)、优化(查找瓶颈和漏洞)、实施规划(生成分步指导)。适用于 React、Django、Rails、Go、Rust 和 30 多个框架。在分析代码库结构、评估功能安全性、查找安全问题、规划实施或发现性能问题时使用。 来源:baagad-ai/code-surgeon。
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/baagad-ai/code-surgeon --skill code-surgeon 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/baagad-ai/code-surgeon