better-coding-workflow

仓库创建 2026年7月3日最近提交 23 天前SkillHot 收录 22 天前
▸ 精选理由

把模型写码行为规范化,适合团队级别的实现与维护场景。

这个 Skill 做什么

为 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

开发编程编程规范代码质量重构测试通用
0
Stars
0
Forks
10
仓库内 Skill
+0
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/janschachtschabel/better-coding-skills/main/skills/better-coding-workflow/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/janschachtschabel/better-coding-skills/main/skills/better-coding-workflow/SKILL.md"
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
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有