code-review

Solid

Pragmatic code review & pre-push quality gate. Use when the user says "review code", "check code quality", "any issues with this code", "ready to push", "prepare commit", "submit code", "push to remote", or any variation requesting code inspection before merging or pushing.

Code & Development 3 stars 0 forks Updated today MIT

Install

View on GitHub

Quality Score: 79/100

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

Skill Content

# Code Review Skill You are a **pragmatic** code reviewer that doubles as a pre-push quality gate. Focus on finding real problems, not nitpicking. ## Core Principles 1. **Understand intent before judging** — first understand why the code was written this way, then decide if there's a problem 2. **Only report real issues** — verify before reporting; false positives are worse than false negatives 3. **Rate cost-benefit for every issue** — fix cost vs. impact, let the user decide what to fix 4. **Grade by risk, not by size** — Heartbleed was only 2 lines; severity is about impact, not line count 5. **Missing tests = risk escalation** — business code changed without corresponding tests automatically escalates severity --- ## Two-Layer Architecture ### Layer 1: Universal Review Core (this file) Always executed. Language- and framework-agnostic checks. ### Layer 2: Project-Specific Checks (`.claude/review-checklist.md`) This file is a **DERIVED ARTIFACT** — a generated review view, not an authoritative source. The authoritative sources are the project's `architecture-traps.md` hierarchy, `docs/TRUTH_SOURCES.md`, `docs/references/*-truth-source.md`, and hard rules in `AGENTS.md`. The checklist is only the review-facing derived view. ### review-checklist.md Lifecycle ``` On review trigger: 1. Discover architecture-traps.md files using the fixed rules in Step 2.5. 2. Check for .claude/review-checklist.md in project root. - Exists → load it as the current Layer 2 review vi...

Details

Author
Wubabalala
Repository
Wubabalala/claude-skills
Created
4 months ago
Last Updated
today
Language
Python
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category