diff options
| author | Craig Jennings <c@cjennings.net> | 2026-04-24 19:06:34 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-04-24 19:06:34 -0500 |
| commit | 060636d2f9acc8c37bc5873f109ffa16c270f98a (patch) | |
| tree | 42ea4866d0add716ff4577d3cb79c43b43dbd3a1 | |
| parent | f173e5c3218262c8c803e797b712cdf25f9dc33c (diff) | |
| download | rulesets-060636d2f9acc8c37bc5873f109ffa16c270f98a.tar.gz rulesets-060636d2f9acc8c37bc5873f109ffa16c270f98a.zip | |
docs(commits): add content scope rule for public artifacts
PR descriptions, Linear ticket bodies, and PR review comments are
visible to the team. New section codifies what not to mention (local
paths, private repos, personal tooling) and a concise four-section
structure for shipped-fix descriptions: Problem, Fix, Why this fixes
it, How it was tested.
| -rw-r--r-- | claude-rules/commits.md | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/claude-rules/commits.md b/claude-rules/commits.md index 615ea32..7fcd4ba 100644 --- a/claude-rules/commits.md +++ b/claude-rules/commits.md @@ -84,6 +84,33 @@ argument is `Mission`, not `unknown`" beats the full inference chain that produces that signature. Keep the terms a reader will grep for, drop the ones that name compiler internals. +## Content scope for public artifacts + +PR descriptions, Linear ticket bodies, and PR review comments are +visible to the team and to anyone with read access to the repo or +project. Don't mention: + +- Local file paths on the user's personal machine. +- Private repos by name (e.g. a personal notes repo, a career repo). +- Personal tooling or workflow the team doesn't share. +- Anything a teammate couldn't reproduce or act on from public sources. + +Rule of thumb: if a teammate couldn't find the referenced thing without +the user's help, don't reference it. + +Structure shipped-fix descriptions in this order, using the headings +verbatim: + +1. **Problem** — what's wrong, with enough detail that a teammate can + recognize the same failure mode in their own work. +2. **Fix** — what changed. +3. **Why this fixes it** — causal link, one or two sentences. +4. **How it was tested** — skip for proposals, specs, or discussions. + Required for shipped fixes. + +Verbose preambles, motivational language, and context unrelated to the +problem belong out. Same conciseness pressure as commit-message bodies. + ## Review and Publish Commits and PRs are team-visible, permanent, and hard to amend once shared |
