openspec-git-discipline
Installation
SKILL.md
OpenSpec Git Discipline
Core Rule
Every OpenSpec state change must cross main before the next lifecycle phase depends on it.
- Propose/continue artifacts may be drafted on a branch, but must be committed and merged to
mainbefore apply starts. - Apply may run on
main, a branch, or a worktree only if that exact proposal change is already available onmain. - Archive may run only from
mainafter implementation is merged back.
Never create commits, branches, or merges unless the user explicitly asks.