SKILL
inherit-legacy-style
扫描旧项目代码库中的隐含约定,与操作员逐一解决冲突,生成可执行的 .ai-style-rules.md(Golden Files、命名规则、禁止事项),并可选添加 CLAUDE.md 钩子,以防止 AI 风格漂移。适用于将 AI 智能体接入手写旧代码库,或提取项目未成文的编码规则。
译文已校对查看英文原文
Prevent AI style drift on legacy projects by scanning the codebase for implicit conventions, resolving conflicts with the operator one at a time, and writing an enforceable .ai-style-rules.md (Golden Files, naming rules, DONTs) plus an optional CLAUDE.md hook. Use when onboarding an AI agent onto a hand-written legacy codebase or extracting a project's unwritten coding rules.
适用对象:软件开发与测试。自动收录 · 待核查。
在 Codex 中使用
该组合的专门教程待补充,尚未核实适配。
准备条件
- 本条仅收录原作者的技能元数据;请阅读完整说明,确认依赖、许可与使用条件。
选择已有说明的 AI 工具,或在页面加载后保存待办及提出教程请求。
查看原作者说明 ↗