From 5f776263ede210da723db60badb48b116d5a90f8 Mon Sep 17 00:00:00 2001 From: Lukasz Boryn Date: Wed, 23 Sep 2026 14:33:20 +0200 Subject: [PATCH] docs(commit-atomic-jj): warn against skipping commit-msg-check Nothing stops a bad message except running the check before jj describe, since jj has no hook mechanism. * docs(commit-atomic-jj): add anti-pattern for skipped pre-describe check * fix(commit-atomic-jj): stale CLAUDE.md ref, docs-travel rule uses AGENTS.md Claude-Session: https://claude.ai/code/session_01VZH57yueT8apHdFXffmffE --- skills/productivity/commit-atomic-jj/anti-patterns.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/skills/productivity/commit-atomic-jj/anti-patterns.md b/skills/productivity/commit-atomic-jj/anti-patterns.md index 57ccf7a..a3f0d9c 100644 --- a/skills/productivity/commit-atomic-jj/anti-patterns.md +++ b/skills/productivity/commit-atomic-jj/anti-patterns.md @@ -23,10 +23,18 @@ flow"`, `"fix token refresh on 401"`. Scope is the smallest area the change touches; it makes the log greppable and the change's footprint visible at a glance. +## Skipping the pre-describe `commit-msg-check` + +jj has no native hook (confirmed: nothing in `jj help` or `jj config +schema` as of 0.38), so nothing stops a malformed message from landing +except running the check yourself, before `jj describe`. Skipping it +because "it's probably fine" is how a doubled blank line or a missing +scope gets sealed into history. See SKILL.md §Workflow step 2. + ## Docs in the next commit "I'll update the README after." You won't. Docstrings, README sections, -CLAUDE.md updates for a new flag or env var — same change or it doesn't +AGENTS.md updates for a new flag or env var — same change or it doesn't ship. See SKILL.md §4 *"Docs travel with the code"*. ## Skipping `jj new` after describe