first-principles-skill
A Claude Code skill that provides systematic first principles thinking methodology for evaluating designs, challenging assumptions, and building solutions from fundamental truths.
Gives Claude Code structured, expert-level guidance for reviewing code, so reviews become consistent instead of vague suggestions. It covers many languages and frameworks, from React and Vue to Rust, Python, Go and Swift, and loads only the guidance it needs.
Claude Code
$ npx -y skills add awesome-skills/code-review-skill --agent claude-code
Codex
$ npx skills add awesome-skills/code-review-skill -a codex
Cursor
$ npx skills add awesome-skills/code-review-skill -a cursor
Gemini CLI
$ npx skills add awesome-skills/code-review-skill -a gemini-cli
GitHub Copilot
$ npx skills add awesome-skills/code-review-skill -a github-copilot
OpenCode
$ npx skills add awesome-skills/code-review-skill -a opencode
Windsurf
$ npx skills add awesome-skills/code-review-skill -a windsurf
A comprehensive, modular code review skill for Claude Code 面向 Claude Code 的全面模块化代码审查技能
English · 中文 · Contributing
Code Review Skill is a production-ready skill for Claude Code that transforms AI-assisted code review from vague suggestions into a structured, consistent, and expert-level process.
It covers 20+ languages and frameworks with over 21,000 lines of carefully curated review guidelines — loaded progressively to minimize context window usage.
blocking · important · nit · suggestion · learning · praisePhase 1 - Context Gathering
Understand PR scope, linked issues, and intent
|
v
Phase 2 - High-Level Review
Architecture - Performance impact - Test strategy
|
v
Phase 3 - Line-by-Line Analysis
Logic - Security - Maintainability - Edge cases
|
v
Phase 4 - Summary & Decision
Structured feedback - Approval status - Action items
| Label | Meaning |
|---|---|
🔴 blocking | Must be fixed before merge |
🟠 important | Should be fixed; may block depending on context |
🟡 nit | Minor style or preference issue |
🔵 suggestion | Optional improvement worth considering |
📚 learning | Educational note for the author |
🌟 praise | Explicitly highlight great work |
code-review-skill/
|
+-- SKILL.md # Core skill - loaded on activation (~220 lines)
+-- README.md
+-- LICENSE
+-- CONTRIBUTING.md
|
+-- reference/ # On-demand language guides
| +-- react.md # React 19 / Next.js / TanStack Query v5
| +-- vue.md # Vue 3.5 Composition API
| +-- angular.md # Angular 17+ / Signals / Zoneless
| +-- svelte.md # Svelte 5 / SvelteKit
| +-- rust.md # Rust ownership, async/await, unsafe
| +-- typescript.md # TypeScript strict mode, generics, ESLint
| +-- nestjs.md # NestJS DI, Guards, Interceptors, DTOs
| +-- java.md # Java 17/21 & Spring Boot 3
| +-- java8.md # Java 8 & Spring Boot 2 (legacy)
| +-- php.md # PHP 8.x types, PDO, security, Composer
| +-- ruby.md # Ruby 3.4+/4.0, Rails 8.x, Active Record/Job
| +-- python.md # Python async, typing, pytest
| +-- django.md # Django / DRF security, serializers, async
| +-- fastapi.md # FastAPI Depends, Pydantic v2, async, test-driven verification
| +-- go.md # Go goroutines, channels, context, interfaces
| +-- kotlin.md # Kotlin / Android coroutines, Compose, Flow
| +-- swift.md # Swift 5.9+/6, SwiftUI, concurrency, optionals
| +-- dart.md # Dart / Flutter rebuilds, null safety, isolates, state
| +-- csharp.md # C# 12 / .NET 8, EF Core, ASP.NET Core
| +-- c.md # C memory safety, UB, error handling
| +-- cpp.md # C++ RAII, move semantics, exception safety
| +-- zig.md # Zig allocators, errors, comptime, C interop
| +-- qt.md # Qt object model, signals/slots, GUI perf
| +-- css-less-sass.md # CSS/Less/Sass variables, responsive design
| +-- architecture-review-guide.md # SOLID, anti-patterns, coupling/cohesion
| +-- code-quality-universal.md # Reuse audit, parameter sprawl, TOCTOU, no-op updates
| +-- performance-review-guide.md # Core Web Vitals, N+1, memory leaks
| +-- security-review-guide.md # Security checklist (all languages)
| +-- common-bugs-checklist.md # Language-specific bug patterns
| +-- code-review-best-practices.md # Communication & process guidelines
|
+-- reference/cross-cutting/ # Language-agnostic cross-cutting patterns
| +-- sql-injection-prevention.md # Parameterized queries, 6 languages
| +-- xss-prevention.md # Output encoding, CSP, 5 frameworks
| +-- n-plus-one-queries.md # N+1 queries, eager loading, 5 languages
| +-- error-handling-principles.md # Error handling principles, 7 languages
| +-- async-concurrency-patterns.md # Concurrency patterns, 7 languages
|
+-- assets/
| +-- review-checklist.md # Quick reference checklist
| +-- pr-review-template.md # PR review comment template
|
+-- scripts/
+-- pr-analyzer.py # PR complexity analyzer
Install with npx skills (Cursor, Claude Code, Codex, OpenCode, and other agents):
npx skills add awesome-skills/code-review-skill
The skills CLI finds SKILL.md at the repo root. Do not nest this skill under skills/.
Or clone into the Claude Code skills directory:
A Claude Code skill that provides systematic first principles thinking methodology for evaluating designs, challenging assumptions, and building solutions from fundamental truths.
See 12 code-review-skill alternatives
Runs AI-powered code review on Git changes through the ocr CLI, leaving line-level comments that check for issues such as null pointer errors, thread-safety problems, XSS and SQL injection. Works with OpenAI and Anthropic compatible models.
Claude Code skills, agents, and commands for working on the streamlit/streamlit repository. They cover addressing PR review comments, running format, lint, type, and unit test checks, creating draft pull requests, debugging with hot-reload, and assessing external test risk.
Builds a local, persistent map of your codebase with tree-sitter so Claude Code reads only the code that matters. Offers skills for code review, debugging, exploring structure, and safe refactoring.
Hunk is an interactive terminal diff viewer for reviewing code changes, built on OpenTUI and Pierre diffs.
Install it with the command on its page. It includes code-review-skill. Its skills do not fire on their own yet. Free and open source.
Is this plugin yours?
Claim it with GitHubSubmit a pluginPromote it