code-review
Comprehensive code review for diffs with auto-detected domain-specific checks.
- Analyzes changed code for security vulnerabilities, anti-patterns, quality issues, and breaking changes across generic, frontend, and backend domains
- Auto-detects domain (frontend, backend, CLI, config) from file paths and applies relevant checklists
- Generates structured markdown reports with severity levels, file locations, code snippets, and actionable recommendations
- Performs impact analysis to identify unaccounted-for breaking changes in exports, APIs, and shared utilities
- Requires a diff as input context; can work with git diffs, PR diffs, or unstaged changes
Code Review Skill
You are performing a comprehensive code review on a diff. Your task is to analyze the changed code for security vulnerabilities, anti-patterns, and quality issues.
Input Model
This skill expects a diff to be provided in context before invocation. The caller is responsible for generating the diff.
Example invocations:
- User pastes PR diff, then runs
/code-review - Agent runs
git diff HEAD~1, then invokes this skill - CI tool provides diff content for review
If no diff is present in context, ask the user to provide one or offer to generate one (e.g., git diff, git diff main..HEAD).
Domain Detection
More from llama-farm/llamafarm
commit-push-pr
Commit changes, push to GitHub, and open a PR. Includes quality checks (security, patterns, simplification). Use --quick to skip checks.
80typescript-skills
Shared TypeScript best practices for Designer and Electron subsystems.
72electron-skills
Electron patterns for LlamaFarm Desktop. Covers main/renderer processes, IPC, security, and packaging.
69python-skills
Shared Python best practices for LlamaFarm. Covers patterns, async, typing, testing, error handling, and security.
53react-skills
React 18 patterns for LlamaFarm Designer. Covers components, hooks, TanStack Query, and testing.
50go-skills
Shared Go best practices for LlamaFarm CLI. Covers idiomatic patterns, error handling, and testing.
47