better-coding-workflow
把模型写码行为规范化,适合团队级别的实现与维护场景。
为 AI 编码工作提供一套持续的工程化编码流程与习惯准则。
给 AI 写代码的全过程套上一套工程化流程和好习惯,必须在任何实现工作中使用:先想清楚再写、最小变更优先、模块化、优先复用、带证据的 TDD、完整的错误处理与密钥卫生、还有干净的 git 历史。任何新增功能、修复或重构都要遵循它,从根本上降低后续维护成本。它不是选项,而是默认的编码方式。
▸ 展开 SKILL.md 英文原文
Write, change, refactor, or extend code with engineering discipline — the default skill for ALL implementation work in any language. MUST be used whenever code is written or modified: implementing a feature, fixing a bug, refactoring, extending a file, or executing an approved plan — even when the user does not say clean code or tests. Enforces think-before-coding, smallest-change-first, proactive modularization, reuse over duplication, TDD with evidence, error handling, secrets hygiene, scope control, context management, and clean git history. Trigger: /better-coding-workflow
帮我安装这个 skill:https://raw.githubusercontent.com/janschachtschabel/better-coding-skills/main/skills/better-coding-workflow/SKILL.mdcurl -fsSL "https://raw.githubusercontent.com/janschachtschabel/better-coding-skills/main/skills/better-coding-workflow/SKILL.md"# Better Coding Workflow The discipline that separates code that works today from code a team can live with. A capable model will happily write a 400-line file, duplicate a utility that already exists, skip the test, and declare success without running anything. This skill is the set of habits that stop that — applied continuously while building, not bolted on at the end. **Primary objective:** every change is the smallest correct change, verified by something you actually ran, that leaves the codebase more maintainable than you found it. --- ## Activation Begin the first response after loading with exactly this line: ▸ better-coding-workflow active — think, build small, verify with evi