什么是 branch-discipline?
在任何代码更改之前使用 - 硬门确保工作永远不会发生在主分支上,并从正确的基础创建正确的功能分支 来源:troykelly/codex-skills。
在任何代码更改之前使用 - 硬门确保工作永远不会发生在主分支上,并从正确的基础创建正确的功能分支
通过命令行快速安装 branch-discipline AI 技能到你的开发环境
来源:troykelly/codex-skills。
Never work on main. Create feature branches for all work.
Core principle: The main branch is sacred. All work happens in feature branches.
This is a HARD GATE. Do not proceed with code changes if on main.
在任何代码更改之前使用 - 硬门确保工作永远不会发生在主分支上,并从正确的基础创建正确的功能分支 来源:troykelly/codex-skills。
为搜索与 AI 引用准备的稳定字段与命令。
npx skills add https://github.com/troykelly/codex-skills --skill branch-discipline在任何代码更改之前使用 - 硬门确保工作永远不会发生在主分支上,并从正确的基础创建正确的功能分支 来源:troykelly/codex-skills。
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/troykelly/codex-skills --skill branch-discipline 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/troykelly/codex-skills