SKILL

large-file-refactor

利用可用的语义工具,发现大型源文件重构候选,并基于内聚性和风险提出拆分方案。

机器翻译
查看英文原文

Discover large source-file refactor candidates and propose split plans based on cohesion and risk, using available semantic tooling.

适用对象:对象待分类。自动收录 · 待核查。

原作者说明节选

从固定版本的 SKILL.md 提取,保留原文语言。以下内容属于作者说明,本站尚未验证安装、兼容或运行结果。

查看英文原文

原文涵盖的主题

  • Large File Refactor
  • Arguments
  • Workflow
  • Refactor Plan Format
  • Guard Rails
  • Completion

This skill is coordination-exempt: skip the ai-coord gate for its declared work. If a slash or dollar invocation already added these instructions to the conversation, follow them directly. In that case, do not invoke this skill again through a skill tool. Use LOC thresholds to discover candidates, then decide whether a split is justified by cohesion, coupling, ownership, and change risk. Source files match above 1000 LOC. Test files use a relaxed 2000 LOC discovery threshold. path: Optional file or directory to scan. Default: current working directory. --include-generated: Include generated, vendored, dependency, and build-output paths that are skipped by default. 1. Resolve the skill directory, then run the helper from the target repository: 2. Preserve the helper's Markdown table as the exhaustive report. Do not omit matching rows, even when the refactor plan only covers a subset. 3. If the helper reports no threshold matches, stop after the report. A match is a candidate, not proof that the file should be split. 4. Draft a refactor plan for the 3 largest files only, unless the user explicitly requested another count. 5. For each candidate, rank split value by mixed responsibilit

这里只展示节选,请以完整原文和当前要求为准。

来源仓库
PaulRBerg/agent-skills
源文件
skills/large-file-refactor/SKILL.md
固定版本
3fc64886b46c95238cdad340a8a04e3aaac96665
阅读完整原作者说明 ↗

来源与内容状态

本条为自动发现的元数据,尚未完成人工文档核查;适用性与运行结果待核查。

原作者:PaulRBerg/agent-skills · 原作者仓库元数据。文档核查:未核查。最近来源检查:2026-11-10T00:00:29.945Z。

分类由名称、说明与路径规则生成,分类不代表已核实适配。

许可与权利归属

MIT。第三方内容及版权归原作者,使用条件以原文为准。

许可原文 ↗

本站没有因同步、复制或用户自报成功而将资源标为运行验证通过。

限制与注意事项

  • 元数据收录不代表本站已经安装、适配、实测或进行安全审查。