make-diff-compliant
仅将 PR 或分支涉及的源文件调整到 deterministic-refactor 的合规条件:具备类型、重写成员已标注、测试替身有类型,使未来对这些文件的重构可验证。范围限定于差异,合规程度只增不减,不进行全仓库迁移。
译文已校对查看英文原文
Use to bring exactly the source files a PR/branch touches up to the deterministic-refactor compliance conditions (typed, overrides marked, typed test doubles), so a future refactor over them is verifiable. Scoped to the diff — grows compliance monotonically, no repo-wide migration.
适用对象:对象待分类。自动收录 · 待核查。
原作者说明节选
从固定版本的 SKILL.md 提取,保留原文语言。以下内容属于作者说明,本站尚未验证安装、兼容或运行结果。
查看英文原文
原文涵盖的主题
- Make the diff compliant
- Steps
Preflight: run la-doctor --plugin once per session before using any la- or dr- command; if it fails, stop and show the user its output. Raise compliance one PR at a time instead of a big-bang migration: every diff leaves the files it touched fully refactor-verifiable. 1. Changed source files: git diff --name-only ...HEAD (base = the PR's target branch), kept to the repo languages' sources (la-config get languages, then la-config get lang. .sourceglobs). 2. Report: dr-compliance — each file gets its language's checks. 3. Fix each, within the changed files, following the compliance fixes in /../../languages/ .md; mark every override among the changed methods. 4. Re-check until clean: dr-compliance exits 0; la-typecheck shows no new errors; dr-mock-lint passes. 5. Run the non-integration test suite (la-config get commands.test). Review. The user commits. Never weaken existing annotations. Keep edits within the diff's files unless a fix requires annotating an immediate caller.
- 来源仓库
- MotleyAI/living-architecture
- 源文件
- plugin/skills/make-diff-compliant/SKILL.md
- 固定版本
- d515fa3449c9734b464fc67d231a6e6b051106fc
来源与内容状态
本条为自动发现的元数据,尚未完成人工文档核查;适用性与运行结果待核查。
原作者:MotleyAI/living-architecture · 原作者仓库元数据。文档核查:未核查。最近来源检查:2026-11-09T18:02:06.009Z。
分类由名称、说明与路径规则生成,分类不代表已核实适配。
许可与权利归属
MIT。第三方内容及版权归原作者,使用条件以原文为准。
许可原文 ↗本站没有因同步、复制或用户自报成功而将资源标为运行验证通过。
限制与注意事项
- 元数据收录不代表本站已经安装、适配、实测或进行安全审查。