Automated summary
This skill inspects code changes with git diff and produces a severity-ordered review covering security, code quality, parameters, testing, and project standards.
Strengths
- Explicit checklist spanning security, quality, parameters, Python specifics, and tests
- Output grouped into Critical / Warnings / Suggestions with line numbers and suggested fixes
- Encodes a single-source-of-truth rule for configuration defaults instead of scattered magic strings
- Anchors the review on git diff so feedback targets actual changes rather than the whole codebase
Limitations
- Assumes a Git repository with a usable diff to review
- The Python section and ruff check are language-specific and add little value outside Python projects
- Produces written feedback only, with no automated fixups or pass/fail gating
Use it right after implementing a feature or finishing a chunk of work, before committing or opening a pull request.
Avoid relying on it as the sole CI quality gate, since it returns narrative feedback rather than deterministic pass/fail enforcement.
Security analysis
CautionThe skill is a standard code-review workflow with no destructive, exfiltration, obfuscated, or safety-disabling instructions. The only notable risk is the use of Bash for running git and lint commands, which is legitimate but powerful enough to warrant caution.
- •Declares/uses Bash, allowing arbitrary shell commands; instructions only mention legitimate commands like `git diff` and `ruff`, but Bash execution is inherently powerful.
Examples
I just finished the user-export feature. Run a code review on my changes and organize the feedback by severity.Review the staged changes with a focus on security: secrets, input validation, path traversal, and command injection.Before I commit, review my working diff for quality issues, missing tests, and any ruff violations.name: code-review description: Reviews code for quality, security, and maintainability. Use after implementing features, completing significant work, or when user asks for code review. targets: ["*"] claudecode: allowed-tools: ["Read", "Grep", "Glob", "Bash"] codexcli: allowed-tools: ["Read", "Grep", "Glob", "Bash"]
Code Review
Instructions
- Run
git diffto identify changed files - Read modified files to understand the intent of changes
- Review against the checklist below
- Provide structured feedback organized by priority
Review Checklist
Security
- No exposed credentials, API keys, or secrets
- Input validation implemented where needed
- File paths are sanitized (no path traversal)
- External commands are safely constructed (no injection)
Code Quality
- Variables and functions are clearly named
- Functions have single responsibility
- No code duplication (DRY principle)
- Complex logic has explanatory comments
- Error handling is comprehensive
- No unused imports or variables
- Clean separation of concerns
Parameters
- Use enums rather than bare strings for parameters
- Do not spread "magic strings" throughout the code, use a single source of truth for parameter defaults (config.py)
- Do not use the "if (check config) then (value = from config) else (value = default)" pattern - this breaks the single source of truth rule
Python Specific
- Type hints used appropriately
- Exceptions are specific (not bare
except:) - Context managers used for resources
- f-strings preferred over
.format()or%
Testing
- New functionality has test coverage
- Edge cases are tested
- Error conditions are tested
- Tests are readable and maintainable
Project Standards
- Code passes
rufflinting - No legacy wrappers or thin compatibility layers
- No "last updated" dates or copyright headers
Output Format
Organize feedback by severity:
Critical (must fix)
- Security issues
- Bugs that will cause failures
- Include specific line numbers and suggested fixes
Warnings (should fix)
- Code quality issues
- Missing error handling
- Potential edge cases
- Include rationale and improvement suggestions
Suggestions (consider)
- Style improvements
- Minor optimizations
- Include brief explanation of benefit
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/code-review-mm78noj7/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/code-review-mm78noj7' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/code-review-mm78noj7/download' --output '.skill-downloads/code-review-mm78noj7/SKILL.md.part' && mv '.skill-downloads/code-review-mm78noj7/SKILL.md.part' '.skill-downloads/code-review-mm78noj7/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.
Claude Code
test -f '.skill-downloads/code-review-mm78noj7/SKILL.md' && test -s '.skill-downloads/code-review-mm78noj7/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/code-review' && cp -R '.skill-downloads/code-review-mm78noj7' '.claude/skills/code-review'Codex
test -f '.skill-downloads/code-review-mm78noj7/SKILL.md' && test -s '.skill-downloads/code-review-mm78noj7/SKILL.md' && mkdir -p '.agents/skills' && test ! -e '.agents/skills/code-review' && cp -R '.skill-downloads/code-review-mm78noj7' '.agents/skills/code-review'OpenSkills
OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.
Official OpenSkills installationopenskills install './.skill-downloads/code-review-mm78noj7'openskills read 'code-review-mm78noj7'Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.
For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.
openskills syncManual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/code-review-mm78noj7/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
React Hook Form Best Practices
Development
Master React Hook Form: avoid anti-patterns, manage subscriptions, and handle reset, dirty state, and controlled inputs correctly.
Emotion to Mantine Migration
Development
Migrate Emotion styled-components to Mantine components with style props and CSS modules. Use when converting .styled.tsx files or removing @emotion imports.
Scope Creep Detector
Development
Analyzes git diffs against a stated intent to detect scope creep, unrelated files, broad PRs, and oversized changes, then suggests keep, split, or justify actions.