/chalk:commitfrom chalk
Creates atomic git commits with contextual bodies explaining the why, in the chalk voice. Stages related changes, weeds misplaced comments, and reads session plans.
Ships in chalk. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Interpret MUST, MUST NOT, SHOULD, SHOULD NOT, MAY, etc. per RFC 2119.
The user MAY provide the commit headline as an argument (e.g. /chalk:commit fix: boolean logic error in expression.clj).
A commit body is an explanation artefact and MUST be drafted in the chalk voice, not your own default prose habits.
You MUST load these skills first:
chalk:voice — the audience, the specification register, the mindmap structure, the line-format rule.
chalk:code-comments — the body is where a comment's design rationale belongs, so this is the moment the misfiled ones surface.
chalk:chalk — the plan file's shape and the journal's record kinds, which the body is written from.
Stage relevant changes.
Each commit MUST be an atomic, cohesive unit of change — a transition from one valid state to another — and unrelated changes MUST NOT be staged together.
If two changes don't make sense independently, they're one commit; if they're distinct, they're two.
Keep unrelated bugfixes separate.
Where reasonable, separate behaviour-preserving changes (refactorings) from behaviour-advancing ones.
Weed the staged comments.
Delegate to the weed-comments agent, passing the paths of the staged files and nothing else.
You MUST NOT tell it what the change is for. Not the issue, not the problem, not what you decided. It stands in for a reader who has none of that, and briefing it makes it a second opinion from your own context rather than a first opinion from the reader's.
Its deletions apply. They land in the working tree and you stage them; you do not review them back into place. The user sees them in the commit diff, which is the human review point.
Its Misfiled list is input to Draft the body — a comment deleted for being design rationale is rationale the body now has to carry.
Where a comment survives, its Kept line names the misunderstanding it prevents; that belongs in neither the body nor the code.
Its Dissolvable list goes to the user, not into the commit. A rename or a simplification is a code change, and staging one here would break the atomicity the step above just established.
Read the session's plan journal, where chalk:chalk started one, then the conversation history for what the journal lacks.
Where the two disagree, resolve the ambiguity. Of the entries that bear on this change, the body carries what step 4 says its reader needs, and nothing else: it is a selection, not a copy.
Optimise for later reading: your reader is whoever runs git blame on one of these lines while debugging something else, months on.
They won't care about the journey — they need why this change exists and why it was done this way.
Ask rather than guess, and treat "I can reconstruct it" as the answer that needs checking — that judgement is made by the context that just built the why, so it always comes back confident. Ask about whether something was a deliberate choice or a constraint, and whether something was intentionally out of scope or overlooked.
The why now is the issue's, not the commit's (chalk:issue).
Carry one only where the session has it and there is no issue to hold it; you MUST NOT invent one, and its absence is no gap.
Trivial changes — typo fixes, mechanical bumps, one-line config tweaks — don't need this step; the motivation is self-evident.
Draft the body.
It MUST NOT describe what changed — the diff shows that. The body explains why it exists: decisions, alternatives rejected, constraints, dead ends, counter-intuitive findings, scope boundaries. Embed concrete examples — code snippets, call sites, specific scenarios — as illustrative material.
A commit is a change-log artefact, so the body carries the transition — why it changed from X to Y, and how to migrate. A body that only restates current behaviour has thrown away the one thing it was for; conversely, a "this used to…" comment in the source is this body's material, sitting where it rots.
It MUST name the fact that was true and is no longer — objectively, and never as a belief attributed to the reader: "the watermark wasn't being replicated", not "you believed the watermark was replicated".
This is the obligation that is invisible from the author's side, because by the time you write you hold the new model and the delta reads as too obvious to state. chalk:voice's palette makes it compulsory in a PR's What changes for exactly that reason; a commit body has no palette, which is why it is stated here.
What to omit:
anything self-evident from the diff, the code or the linked issue;
play-by-play of mechanical steps ("then I ran the tests"); the journey of how you got there. Not this (mechanical play-by-play):
Investigated the flaky test. Found it only failed in the full suite. Added logging to narrow it down. Discovered a race condition in TemporalBounds.intersect().
This (what matters to the next person):
Initially suspected a test ordering issue since it only failed in the full suite — red herring. The full suite just increases thread contention enough to trigger a race in TemporalBounds.intersect(), which reads validFrom and validTo non-atomically.
The tell, where the diff is itself prose — a skill, a README, a spec: the sentence appears in substance in a line the diff adds. Read the added lines against the body before you call the draft finished. "Self-evident from the diff" is a judgement you cannot make about your own text, but this is a comparison you can run, and here restating the diff is the default failure rather than an occasional one — both sides argue the same rules in the same words.
Be concise, but keep the reasoning. A terse note with no why is as unhelpful as a verbose one. Where the reasoning was complex and the change simple, say so: "Simple change in the end: …".
Open with a lead-in line, then shape the reasoning as a mindmap, per chalk:voice.
Your reader arrived from git blame mid-investigation of something else, so they are the most impatient reader any chalk artefact has: they will read subject lines and leave. Each one MUST be discardable against that investigation, or agreeable without the body.
No headings.
The tree's top-level bullets already partition the body, and a body short enough to read in a git log doesn't want a second, coarser structure laid over the top of them.
Rarely a tl;dr.
The subject line is the body's tl;dr, so most bodies would only repeat it. A body long enough that its argument needs summarising MAY open with one, per chalk:voice, in place of the lead-in line.
Make the commit.
Headline, blank line, body. The user reviews the message in the Bash tool request before approving.
A co-author header SHOULD be included, replacing the model as appropriate: A Claude-Session header MUST NOT be included.
Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
<scope>: <claim>, or <type>(<scope>): <claim> where the type carries information — Conventional Commits with the type optional.
The scope is the plugin or component — chalk, code-map, clojure-lsp.
It is not optional: a repo of plugins is read one plugin at a time.
Add a type only where it tells the reader something the claim doesn't — feat, fix, perf, refactor.
Most commits here carry none, because a claim that states what is now true already says what kind of change it was.
State a claim, not an imperative.
"the blank line after a subject depends on the renderer", not "fix the blank line rule".
The subject is the body's tl;dr, and a claim can be checked against the diff for truth where an imperative can only be obeyed. It is also what makes a subject quotable in place of a SHA, per chalk:voice.
Lowercase after the colon, and no full stop.
A breaking change MUST carry a BREAKING CHANGE: footer naming what stops working and what to do instead.
! before the colon (feat(chalk)!:) is the short form and is not sufficient alone — the footer is where the reader learns what to change. Removing a skill or renaming a user-invocable command is a break even where nothing errors.
Resolves the issue — suffix the subject with (resolves #N).
An iteration towards it — suffix with (#N).
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub juxt/claude-plugins --plugin chalk11 skills in this plugin
/chalkchalk's root skill, and the entry point for a building session: plan in plan mode until the user approves the goal and the route, then keep the session's journal in the plan file. The skills that read or write the plan — commit, pr, put-down, sitrep — load this one for the plan file's shape and the journal's record kinds; an implementation harness records through the same kinds. Use when the user says "/chalk", "/chalk <issue>", "pick this up", "pick up #N", "start on #N", "let's plan this", or a session is starting work, with or without a card.
/code-commentsWhat earns a code comment, and what to delete — the default of silence, the moves that dissolve a comment before you write it, the exceptions that earn one, the pinned readers and the test, and where rejected material goes instead. Load early in any session that touches code, before writing or editing any comment, docstring or kdoc, and again when reviewing a diff, where weeding the comments is part of the review./explicateOther plugins' skills for the same job