From my-claude-skills
Audit whether user intent has been preserved in code artifacts. Use this skill when the user asks to check, audit, or verify that their reasoning and decisions were captured in commits, comments, or documentation. Also trigger when the user says "check intent", "did you capture why", "audit the session", "review what was lost", "verify commits match discussion", or references preserving decision context. Trigger at the end of a coding session if the user asks for a final review before finishing.
How this skill is triggered — by the user, by Claude, or both
Slash command
/my-claude-skills:intent-auditThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Verify that the user's stated reasoning, decisions, constraints,
Verify that the user's stated reasoning, decisions, constraints, and rejected alternatives have been captured in the session's artifacts: commit messages, inline comments, and documentation.
The user's words are the primary source of truth. Code shows WHAT. The user explained WHY. If the WHY is not recorded next to the WHAT, knowledge is lost.
Scan the current conversation for user messages that contain:
Extract each as a discrete intent item. Quote the user closely — do not paraphrase into something more "polished".
Collect all artifacts produced in this session:
git log --since="<session_start>" --format="%H %s%n%b" --no-merges
git diff <before_session>..HEAD
Also scan changed files for inline comments added or modified during this session.
If the session produced documentation files (ADR, CHANGELOG, README updates), include those too.
For each intent item from Step 1, check whether it appears in:
Mark each intent item as:
Present findings as a list grouped by status. For each lost or partial item:
Format:
## Intent Audit Report
### Lost (N items)
1. User said: "don't use regex here, nested brackets break it"
→ File: src/parser.nu, line 47
→ Proposed comment: # Why not regex: nested brackets
cause catastrophic backtracking. User tested this.
→ Proposed commit amend: add reasoning to commit abc123
### Partial (N items)
...
### Captured (N items)
...
After presenting the report, ask the user which items to fix. Then apply fixes:
git commit --amend
or git notes add if amending would disrupt historyDo not auto-fix without user confirmation.
A decision is captured if a future reader (human or LLM) who has never seen this conversation can understand:
All three must be present. If only (1) is there, mark as Partial.
# split the string above
a split operation — this is noise, not intentAudit only the current session's conversation and artifacts. Do not crawl entire repo history. Do not audit code that wasn't discussed or changed in this session.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub maxim-uvarov/my-claude-skills --plugin my-claude-skills