fastapi-self-review

Solid

Use right before declaring an implementation done — a last-pass review of your OWN uncommitted change against a fixed checklist (reuse, stdlib, comments, dead code, tests, scope). Catches the things that make a diff read as AI-written before a human ever sees it. Reviews the current diff; it does not write new features.

Code & Development 11 stars 0 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 79/100

Stars 20%
36
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

Review the change you just made before you call it complete. This is the gate between "I wrote code" and "it's done" — run it on your own diff and fix what it surfaces, don't just report. ## Step 1: Get the diff Look at exactly what changed — `git diff` (unstaged), `git diff --cached` (staged), and untracked files. Read the full changed files, not only the hunks; a problem often lives in the context around an edit. ## Step 2: Walk the checklist Go through every item against the diff. For each, either confirm it holds or fix it now. **Reuse before reinvention** - Does this add a function, helper, type, or constant that already exists somewhere in the repo? Search first, then reuse it instead. - Is any logic duplicated from another module? Call the existing code, don't copy it. **Built-ins and existing dependencies** - Did you hand-roll something the standard library or an already-installed dependency provides (deep-clone, debounce, grouping, UUID, HTTP, parsing, date math)? Replace it with the built-in. - Did you add a new third-party dependency? That's a decision to raise with the user, not to slip in — flag it. **Comments** - Deleting is the default; keeping one needs a reason you could defend in review. Go comment by comment and cut every one that restates the code, narrates steps, or reads as changelog ("Now we handle…", "Added to fix…"). - What survives gets one sentence, and only where it earns its place: a *why*, a gotcha, an invariant, a link. A second sentence ...

Details

Author
steph-dove
Repository
steph-dove/klaussy-agents
Created
4 months ago
Last Updated
yesterday
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category