CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

agent-rationale

Record why each hunk of an agent-written commit looks the way it does (intent, rejected alternative, risk, evidence, open question) in git notes under refs/notes/rationale, anchored by hunk hash, so a reviewer can read it beside the diff and see when a note went stale. Use after committing agent-written code that a human will review. Not for commit messages, PR descriptions or AI attribution metrics.

Quality

96%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

SKILL.md
Quality
Evals
Security

Quality

Content

100%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

A tight, exemplary skill body: executable commands throughout, per-step done-conditions, a built-in verification step with stale-detection feedback, and honest coverage of amend/rebase/squash edge cases without any padding. Structure matches the skill's size — a single script reference and nothing more is needed.

DimensionReasoningScore

Conciseness

The body is lean: no explanation of concepts Claude already knows (git, notes, diffs are used, not taught), and every sentence carries non-obvious information (re-anchoring semantics, notes.rewriteRef behavior, squash caveat, push command). It assumes Claude's competence throughout, matching 'every token earns its place'.

5 / 5

Actionability

All guidance is copy-paste executable: a full `rationale.py add` invocation with realistic flag values, the `show` command, `git config notes.rewriteRef refs/notes/rationale`, and `git push origin refs/notes/rationale`, plus per-field writing rules ("Write `unknown` rather than invent one"). The referenced script path (${CLAUDE_SKILL_DIR}/scripts/rationale.py) exists in the bundle.

5 / 5

Workflow Clarity

The three-step sequence has an explicit done-condition for every step ("Done when `git log -1` shows it", "Done when the command prints `rationale recorded`", "Done when every note you wrote shows as anchored") and step 3 is a verification step with a feedback loop (anchored/reanchored/stale outcomes, "re-check before trusting the note", refused lines → "pick a nearby added line"). This matches the top anchor with validation and error-recovery guidance; the operations are non-destructive so no cap applies.

5 / 5

Progressive Disclosure

The body is ~55 lines, single-purpose, and well-sectioned (Workflow / amend-rebase / Rules) with the one bundle script it needs referenced inline at the correct existing path — per the rubric's simple-skill note, that earns the top score. Nothing that belongs in a separate file is inlined and no reference nesting exists.

5 / 5

Total

20

/

20

Passed

Description

92%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A strong description: concrete mechanism, enumerated capabilities, explicit use-timing, and explicit exclusions in third-person voice. The only minor gap is synonym coverage for how users might phrase the need (e.g. 'explain the code changes', 'AI-generated code review').

DimensionReasoningScore

Specificity

The description names the exact mechanism ("in git notes under refs/notes/rationale, anchored by hunk hash") and enumerates the concrete fields recorded ("intent, rejected alternative, risk, evidence, open question"), plus stale detection. This matches the anchor 'lists multiple specific concrete actions; comprehensive coverage' — no action is left abstract.

5 / 5

Completeness

The 'what' is explicit (record per-hunk rationale with the five listed fields in git notes, anchored by hash, with stale detection) and the 'when' is an explicit trigger clause ("Use after committing agent-written code that a human will review"), reinforced by an explicit exclusion ("Not for commit messages, PR descriptions or AI attribution metrics"). Both are answered clearly and concretely, matching the top anchor.

5 / 5

Trigger Term Quality

Good natural keywords: "agent-written commit", "hunk", "reviewer", "git notes", "committing agent-written code that a human will review" — phrasings a user would plausibly say. A few natural synonyms are missing (e.g. "explain the diff", "AI-generated code", "code review"), so it falls just short of the comprehensive-synonyms anchor at 5 but clearly above 'a few natural terms missing' being a minor gap.

4 / 5

Distinctiveness Conflict Risk

It carves out a clear niche (per-hunk rationale notes for human review of agent-written commits) and explicitly disclaims the nearest overlapping skills ("Not for commit messages, PR descriptions or AI attribution metrics"), minimizing the chance it triggers for the wrong skill.

5 / 5

Total

19

/

20

Passed

Validation

93%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

frontmatter_unknown_keys

Unknown frontmatter key(s) found; consider removing or moving to metadata

Warning

Total

15

/

16

Passed

Repository

FlorianBruniaux/claude-code-ultimate-guide

Path

examples/skills/agent-rationale/SKILL.md

Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.