agent-skills/local-review/SKILL.md
Code reviews of git changes without creating actual PR.
npx skillsauth add win20/dotfiles local-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.
Orchestrate a local code review by collecting diffs and producing a structured review with clear priorities and fixes. Keep everything self-contained in this skill file.
.agent.local/reviews/{dd-mm-yyyy}-{branch-name}.mdmain...HEAD (fall back to origin/main...HEAD if needed).HEAD~N..HEAD with recent log context.Uncommitted changes (unstaged + staged):
git status -sbgit diffgit diff --cachedAgainst main:
git diff main...HEADmain is missing locally: git diff origin/main...HEADgit log --oneline main..HEADLast N commits:
git log -n <N> --onelinegit diff HEAD~<N>..HEAD.agent.local/reviews if missing.git rev-parse --abbrev-ref HEAD, replacing / with - in the filename.CLAUDE.md or AGENTS.md files and quotes when applicable.For each issue:
[CRITICAL] Hardcoded API key
File: src/api/client.ts:42
Issue: API key exposed in source code
Fix: Move to environment variable
const apiKey = "sk-abc123"; // ❌ Bad
const apiKey = process.env.API_KEY; // ✓ Good
development
Best practices for developing Expo SDK 54 React Native apps with Expo Router, Zustand, and NativeWind. Use when building mobile apps with this stack, implementing navigation, state management, styling, performance optimization, TypeScript patterns, or security.
development
Best practices for developing Expo SDK 54 React Native apps with Expo Router, Zustand, and NativeWind. Use when building mobile apps with this stack, implementing navigation, state management, styling, performance optimization, TypeScript patterns, or security.
development
Simplify and clarify existing code without changing behavior.
tools
Generate pull request summaries and open GitHub PRs from the current branch’s git changes.