docs_for_coding_agent/examples/workflows/01_multi_agent_repo_change_pipeline/skills/repo_analyzer/SKILL.md
分析 workspace 内目标文件,定位问题并给出可执行修复策略(workflow 示例:Analyze 角色)。
npx skillsauth add okwinds/skills-runtime-sdk repo_analyzerInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
在一个 workspace(工作区)内,对“待修复的目标文件”进行最小必要的阅读与分析,输出:
$[examples:workflow].repo_analyzer(用于注入与审计证据)。app.py),你需要从中定位问题。read_file:读取目标文件内容(只读,不需要 approvals)。grep_files:在 workspace 内搜索关键字(只读,不需要 approvals)。请用以下结构输出(纯文本即可):
如果读取文件失败(路径不在 workspace 内/文件不存在),请:
list_dir 或让用户确认文件名)documentation
用结构化流程生成一篇小说:大纲→概要→分章分段→组合→一致性自检。
documentation
用结构化流程写一篇文章:明确目标→大纲→分段写作→润色→一致性与事实自检。
business
规则报告(人类应用示例):汇总输入、规则与产物清单到 report.md。
tools
规则解析(人类应用示例):把自然语言规则转成结构化 plan.json。