Codex Draton Commit Discipline for Logical Change Boundaries
Organize stable Draton changes into logical commits. Check staged scope and use concrete summaries that match the repository's policy.
中文Install in Codex
Codex with a Draton checkout, a diff, existing test results, and the bundled commit-policy.md reference.
- Copy the entire pinned `.codex/skills/draton-commit-discipline/` directory to `.agents/skills/draton-commit-discipline/` in the target checkout.
- Open Codex in that checkout and invoke `$draton-commit-discipline` with the example task and desired output.
Example task
Invoke `$draton-commit-discipline` with a practice diff containing a doc correction and an independent fixture update. Request a scope and subject for each group.What to check
Each file group has one understandable purpose and an accurate commit subject.
Original SKILL.md on GitHub · Updated
Frequently asked question
Which subjects are too vague?
Standalone subjects such as `fix` or `update` do not describe the change. Name the affected behavior or documentation.