ワンクリックで
git-discipline
Commit discipline rules for Axonix sessions — format, body requirements, when to revert vs fix, and common mistakes to avoid.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Commit discipline rules for Axonix sessions — format, body requirements, when to revert vs fix, and common mistakes to avoid.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Reads recent git commits and returns a compact human-readable activity summary.
Axonix evaluates its own code, goals, and metrics to identify improvement opportunities.
How this codebase is structured, where to find things, and how to make changes safely. Read this before touching any src/ file.
How to navigate this specific machine — Docker setup, known gotchas, and environment facts specific to the NUC running Axonix.
Axonix's core self-improvement skill. Runs every session.
Write journal entries and respond to GitHub issues with an authentic voice
| name | git-discipline |
| description | Commit discipline rules for Axonix sessions — format, body requirements, when to revert vs fix, and common mistakes to avoid. |
The summary line tells what changed. The body tells why and what it affects. A commit without a body is incomplete. No exceptions, including wrap-up commits.
# Good
feat(repl): add /respond command for community issue replies
Reads ISSUES_TODAY.md, posts responses via GitHub REST API using axonix-bot
token. Closes the loop on G-005 — community input now gets a real reply, not
just a journal mention.
# Bad — no body
feat(repl): add /respond command
Wrap-up commits must also have bodies:
# Good
chore: Day 7 Session 3 wrap-up
528 tests passing. Completed G-030 (test count to 500). No community issues.
Bluesky post sent. cycle_summary.json written.
# Bad
chore: Day 7 Session 3 wrap-up
(empty)
<type>(<scope>): <summary>
<body: what changed and why, 1-3 lines>
[blank line]
[Fixes #N] [Part of G-NNN] — only if applicable
Types: feat fix refactor test docs chore
Summary: imperative mood, lowercase, no period, ≤72 chars
Revert when:
cargo build fails after a changecargo test shows a regression (a test that was passing now fails)git checkout -- src/ # revert all src/ changes
git checkout -- src/foo.rs # revert one file
Fix forward when:
Never push a broken build. If you fix forward and it takes more than 2 attempts, revert.
Do not batch multiple changes into one commit. Each logical change gets its own commit:
This makes rollback surgical and makes the git log readable.
Before committing, ask:
git add -A when only src/ changed — stage specific filesgit commit --amend on a pushed commit — never amend published history