dot_claude/skills/review/SKILL.md
--- name: review description: "Code review — detects language and spawns the appropriate reviewer agent. Works with diffs, staged changes, files, or directories." allowed-tools: Read, Glob, Grep, Edit, Write, Bash(git diff:*), Bash(git log:*), Bash(git status:*), Bash(git branch:*) argument-hint: [file/dir|staged|lang] [security|performance|idioms|bugs|tests] [--fix] [--deep] --- ## Context - Branch: !`git branch --show-current` - Changed files: !`git diff --name-only HEAD` - Diff stats: !`git
npx skillsauth add letstakeawalk/dotfiles dot_claude/skills/reviewInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
git branch --show-currentgit diff --name-only HEADgit diff --stat HEADReview code by spawning the appropriate language-specific reviewer agent.
$ARGUMENTS → determine language, pass to agentrs, ts, python) → find matching *-reviewer in ~/.claude/agents/staged → git diff --cached, detect languagegit diff HEAD, detect languageDiscover *-reviewer agents in ~/.claude/agents/. Common mappings:
.rs → rs-reviewer.ts, .svelte, .js, .jsx, .tsx → ts-reviewer.py → py-reviewerNew *-reviewer agents auto-match by extension.
Focus keyword in $ARGUMENTS (security, performance, idioms, bugs, tests) → pass to agent. Agent emphasizes that area.
$ARGUMENTS to agentgit diff HEAD output--fixAfter report, auto-fix trivial issues only:
console.log, dbg!(), print(), debugger)await on async callsLeave anything requiring judgment for user.
--deepFull quality gate. Two phases:
Phase 1 (parallel):
doc-auditor agent on targettest-analyzer agent on targetPhase 2 (after Phase 1):
3. Matching *-reviewer agent(s)
Verdict: BLOCK (any bug), WARN (risk only), APPROVE (clean).
--deep combinable with --fix.
development
Analyze test coverage gaps — untested public APIs, missing edge cases, uncovered error paths. Spawns the test-analyzer agent.
testing
This skill should be used when the user says 'remember this', 'save this for later', 'note this down', 'always do X', 'never do Y', or wants to persist a decision or preference across sessions.
tools
--- name: refactor description: "Identify and apply refactoring opportunities — supports full analysis, cleanup, simplify, structure, naming, and DRY focus modes." allowed-tools: Read, Glob, Grep, Edit, Write, Bash(git diff:*), Bash(git branch:*) argument-hint: [file/dir|staged] [full|cleanup|simplify|structure|naming|dry] --- ## Context - Branch: !`git branch --show-current` - Changed files: !`git diff --name-only HEAD` - Diff stats: !`git diff --stat HEAD` ## Task Analyze code for refactori
tools
--- name: qa description: "Run QA on the current project. Auto-detects project type and runs browser testing for frontend projects. Use after implementing features to verify they work end-to-end." allowed-tools: Read, Glob, Grep, Bash(bun run:*), Bash(npm run:*), Bash(curl:*), Bash(lsof:*), Bash(kill:*), mcp__plugin_playwright_playwright__* argument-hint: [url or flow to test] [--fix] --- ## Task Verify the project works end-to-end by running it and testing interactively. Not a code review — t