technical-changelog
Skill34 starsChanged 4 months agoMITView on GitHub
Generate a diff-grounded, one-page technical changelog for a Glassbox release — from the actual code changes between the last production tag and HEAD (the next, still-unreleased version). Asks for the next version number, since package.json holds the last release.
- Commits and pushes
In this repository35 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .cursor/rules/glassbox.mdcCursor rule
- .cursor/rules/hotsheet-instructions.mdcCursor rule
- .cursor/rules/hotsheet.mdcCursor rule
- .cursor/rules/hs-bug.mdcCursor rule
- .cursor/rules/hs-feature.mdcCursor rule
- .cursor/rules/hs-investigation.mdcCursor rule
- .cursor/rules/hs-issue.mdcCursor rule
- .cursor/rules/hs-requirement-change.mdcCursor rule
- .cursor/rules/hs-task.mdcCursor rule
- hotsheetSkill
- hotsheet-workerSkill
- hs-bugSkill
- hs-featureSkill
- hs-investigationSkill
- hs-issueSkill
- hs-requirement-changeSkill
- hs-taskSkill
- absorb-ticketsSkill
- analyze-code-qualitySkill
- check-code-hygieneSkill
- check-requirements-against-codeSkill
- glassboxSkill
- hotsheetSkill
- hotsheet-workerSkill
- hs-bugSkill
- hs-featureSkill
- hs-investigationSkill
- hs-issueSkill
- hs-requirement-changeSkill
- hs-taskSkill
- kerf-appSkill
- prep-major-releaseSkill
- ux-reviewSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 13
Every claim is a verified delta between the base tag and HEAD.
- Very specific: line 44
Ask for the next release number first: Use AskUserQuestion (or ask in prose): *"What's the next planned release version for this …
- Very specific: line 108
Diff over prose: If a claim isn't backed by a file/line change you actually read, don't make it.
- Very specific: line 112
Attribute to the range only: When unsure whether something is new, run the git cat-file -e <base>:<file> / git show <base>:<file> probe …
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Produce a one-page technical report of what changed for a release, stored in
docs/technical-changelog/<base>-<next>.md. The report must be grounded in the real
diff — added/modified/removed code, CLI-flag / requirements-doc / plugin / dependency
deltas — not commit messages or the requirements docs (docs/*.md and
docs/ai/*.md describe the end state and the whole feature history, so they routinely
credit the range with work that predates it, or describe posture that was already true).
Every claim is a verified delta between the base tag and HEAD.
The two facts that make this skill necessary
- HEAD is the next, unreleased version.
package.jsonstill holds the last released version (and it usually matches the base tag), so the release number can't be read from the repo — you must ask the user what the next planned version is. - The base is always the most recent production release tag (e.g.
v0.19.0), and the range is<base>..HEAD. Pre-release tags (-rc.1,-beta) are never the base.
Glassbox-specific traps (read these before writing)
- The requirements docs (
docs/N-topic.md,docs/ai/*.md,CLAUDE.md) describe the end state, not the range. They are maintained in-sync and describe a whole subsystem as it stands — including parts that shipped in earlier releases. Treat them as leads to verify against the diff, never as sources to quote. A doc paragraph about "the plugin system" may span five releases; only the part that changed in<base>..HEADbelongs here. - Line counts are inflated by non-product churn.
docs/,.claude/.hotsheetscaffolding,tauri buildoutput, andassets/fixtures are NOT engineering effort — the script separates a product-only total; lead with that. - A new external (non-bundled) server dependency is a three-place change (doc-29 /
CLAUDE.md "External Dependencies" rule:
tsup.config.tsnoExternal regex +scripts/build-sidecar.shcopy loop + CLAUDE.md list). A dep that appears only indevDependenciesand is bundled into a plugin (e.g.@viz-js/viz,@jsquash/*) is deliberately NOT in that list — don't report it as a core dep. - Plugins build to git-ignored
plugins/<id>/index.js. The committed source isplugins/<id>/{src,manifest.json,setup.mjs,README.md}; the builtindex.jswon't appear in a clean diff. Report the source.
Steps
- Ask for the next release number first. Use
AskUserQuestion(or ask in prose): "What's the next planned release version for this changelog?" Do not guess and do not read it frompackage.json(that's the previous release). Accept e.g.0.20.0/v0.20.0. - Run the analysis script — it does the deterministic git work:
It auto-detects the base as the newest productionnode scripts/changelog-analysis.mjs --next <version>vX.Y.Ztag that is an ancestor of HEAD, buckets the line delta by area (product: src / src-tauri / plugins / tests / scripts vs docs / scaffolding / generated), gives a product-only total, lists added/removed files and candidate new subsystems, and surfaces the Glassbox public-surface deltas: new requirements docs, new first-party plugins, new API/route modules, CLI-flag changes (src/cli.ts), and dependency changes. Override the base with--base <tag>only if the user asks (it warns if a newer production tag exists than the one it picked). - Read the real diffs — do not stop at the script. The script tells you where to
look; the narrative comes from the actual changes. For each non-trivial area:
And verify every "new" claim against the base tree rather than trusting a commit subject or a requirements doc:git diff <base>..HEAD -- <path> # what actually changed
Classic traps to check: a subsystem that looks new but existed at the base; a feature added and removed within the same range (nets to zero at HEAD — say so); posture like "local-first / no network" / "zero core deps" that was already true at the base (baseline, not a change); a dependency bumped in two hops (report the full base→HEAD delta).git cat-file -e <base>:<file> # non-zero exit → file is genuinely new git show <base>:<file> | grep -c <sym> # 0 → the symbol/behavior was added in range git ls-tree -r --name-only <base> -- src/ # what the tree looked like at the base - Write the report to
docs/technical-changelog/<base>-<next>.md(the script prints the exact suggested path). Keep it to ~one page. It must contain, in this spirit:- Header: the range (
<base>..HEAD), commit count, and a note that HEAD is untagged / the "next" number is a label. State it's derived from the diff, not commit prose. - Honest size: the area-by-area split from the script, and the product-only
+/- total called out separately from the raw total (which is inflated by docs and
.claude/.hotsheetscaffolding — never present the raw number as engineering effort). - Baseline note: one line on what already shipped at the base (so nothing pre-existing reads as new).
- Per-change sections for the genuine deltas, each carrying its diff evidence
(new files, the new requirements doc / plugin / API-module / dep delta,
0-hits → presentfor behavior). Order by significance (a net-new subsystem before a doc sync). - Mermaid diagrams as needed (not gratuitously): a component/flow diagram for a new
subsystem, a sequence diagram for a new round-trip/interaction. Use
<br/>for line breaks in node labels (not\n) and quote labels containing spaces/punctuation.
- Header: the range (
- Validate + finish.
- Sanity-check the mermaid blocks (balanced
[]/quotes; standardflowchart/sequenceDiagramsyntax). If a renderer is available, render to confirm; otherwise a structural check is fine. - Re-read the draft against the script output and your
git show <base>:…probes: is every claim a real delta? Cut or re-label anything that describes the baseline. - American-English spelling throughout (CLAUDE.md convention).
- Committing is optional and follows the repo's git rules (commit when it's a clean unit;
no
Co-Authored-Bytrailer, no hard-wrapped body lines; nevergit pushwithout explicit permission).
- Sanity-check the mermaid blocks (balanced
Guardrails
- Diff over prose. If a claim isn't backed by a file/line change you actually read,
don't make it. Commit subjects and
docs/are leads to verify, not sources to quote. - Never inflate. Lead with product-only line counts; label docs and agent/skill scaffolding as non-engineering.
- Attribute to the range only. When unsure whether something is new, run the
git cat-file -e <base>:<file>/git show <base>:<file>probe before writing it up.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

