aip
Google API Improvement Proposals (AIP) reference. Use BEFORE designing or reviewing APIs, protobuf definitions, or any work…
Deliberate end-to-end review pass over a completed change, applying the laziness ladder. Invoke when the user asks for a review, or when orchestrating one. Not a routine step after every edit.
$ npx -y skills add fredrikaverpil/dotfiles --skill self-review --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/self-reviewContext preview
The summary Claude sees to decide when to auto-load this skill.
Deliberate end-to-end review pass over a completed change, applying the laziness ladder. Invoke when the user asks for a review, or when orchestrating one. Not a routine step after every edit.
name: self-review description: >- Deliberate end-to-end review pass over a completed change, applying the laziness ladder. Invoke when the user asks for a review, or when orchestrating one. Not a routine step after every edit. user-invocable: true disable-model-invocation: false
Review the change end-to-end. Read every file touched in full, not just the diff — the surrounding code is what says whether the change belongs. Report everything you find and fix what matters; don't self-censor to only the severe findings.
Beyond the obvious ones, weigh these — they are the ones most often missed:
merely somewhere that works?
it's written that way, it's probably too clever.
locally "better" but idiosyncratic.
developer's and the end user's side?
separated from side effects. Hard-to-test code is a design smell — flag it rather than leaving it untested.
but only by accident.
The [ponytail](https://github.com/DietrichGebert/ponytail) plugin applies this ladder while code is being *written*. Apply it here in reverse, to what **was** written: for each piece of code the change added, check it climbed no higher than necessary.
1. **Does this need to exist?** — if not, remove it (YAGNI). 2. **Already in this codebase?** — reuse it, don't rewrite. 3. **Standard library does it?** — use it. 4. **Native platform feature?** — use it. 5. **Already-installed dependency?** — use it. 6. **One line?** — one line. 7. **Only then**: the minimum that works.
Flag anything that skipped a lower rung — a new dependency where the stdlib or a native feature would do, a reimplementation of something the codebase already has, or an abstraction with a single caller.
The ladder never touches safety: trust-boundary and input validation, security, data-loss and error handling, and accessibility are out of scope for trimming.
$ARGUMENTS
Personal dotfiles, managed in three layers: Nix (nix/): system configuration and packages, pinned by flake.lock and applied with a rebuild. Fully reproducible. Stow (stow/): dotfiles symlinked into $HOME with GNU Stow (not Nix).
Google API Improvement Proposals (AIP) reference. Use BEFORE designing or reviewing APIs, protobuf definitions, or any work…
Analyze a git repo's history to surface high-churn files, ownership risks, bug hotspots, momentum trends, and firefighting…
GitHub CLI (gh) conventions and the inline PR review recipe. Use when working with GitHub repositories, PRs, issues, actions, `gh…
This skill should be used when creating a GitHub pull request via `gh pr create`. Covers the gh CLI mechanics; PR title and body…
This skill should be used BEFORE running any git commit command. Triggers when about to run `git commit`. Ensures commit messages…
Where this author deviates from, or tightens, idiomatic Go defaults.