code-polish
在用户明确要求时,或在活动工作流要求在固定文件范围内进行实现后简化和风险画像审查时,对已更改的代码进行润色。
机器翻译查看英文原文
Polish changed code when the user explicitly asks, or when an active workflow requests post-implementation simplification and risk-profiled review over a fixed file scope.
适用对象:软件开发与测试。自动收录 · 待核查。
原作者说明节选
从固定版本的 SKILL.md 提取,保留原文语言。以下内容属于作者说明,本站尚未验证安装、兼容或运行结果。
查看英文原文
原文涵盖的主题
- Code Polish
- Modes
- Fixed Scope
- Simplify
- Review and Fix
- Verification and Report
Resolve scope once. Make only high-confidence simplifications. Fix defects supported by evidence according to their risk. Verify the final state. --simplify: simplify only. --review: review and fix only. Neither or both: simplify, then review the simplified result. --with-profile / --skip-profile : add or suppress review profiles. Skip wins. 1. Require a Git repository. 2. Use explicit paths, patterns, ranges, natural-language targets, or a supplied resolved-scope block when present. Otherwise, use only files modified in this session. If session history is unavailable, use all uncommitted tracked and untracked files. 3. Exclude lockfiles, generated outputs, vendored code, minified bundles, and large data snapshots from manual review unless explicitly requested. Validate relevant excluded outputs through their generator, schema, or invariants. 4. Resolve and retain one authoritative scope set and optional exclusions for execution. Do not broaden or recompute scope later. Stop if it is empty. Preserve public contracts, inputs, outputs, side effects, error behavior, performance-sensitive characteristics, telemetry, and operational guards. Apply only changes with a concrete comprehensi
这里只展示节选,请以完整原文和当前要求为准。
- 来源仓库
- PaulRBerg/agent-skills
- 源文件
- skills/code-polish/SKILL.md
- 固定版本
- 3fc64886b46c95238cdad340a8a04e3aaac96665
来源与内容状态
本条为自动发现的元数据,尚未完成人工文档核查;适用性与运行结果待核查。
原作者:PaulRBerg/agent-skills · 原作者仓库元数据。文档核查:未核查。最近来源检查:2026-11-10T00:00:29.888Z。
分类由名称、说明与路径规则生成,分类不代表已核实适配。
许可与权利归属
MIT。第三方内容及版权归原作者,使用条件以原文为准。
许可原文 ↗本站没有因同步、复制或用户自报成功而将资源标为运行验证通过。
限制与注意事项
- 元数据收录不代表本站已经安装、适配、实测或进行安全审查。