code-review
Skill2 starsChanged 5 months agoMITView on GitHub
Comprehensive code review across style rubrics, spec compliance, and bug/security checklists with team preference learning and extensible multi-language support.
188 other projects use a version of this.
Adopted by
Most recently taken up by
- github/spec-kittheir own version, first seen Nov 23, 2026
- microsoft/vscodetheir own version, first seen Nov 12, 2026
- mattpocock/skillstheir own version, first seen Oct 8, 2026
- rafaelob/pragmatic-agent-skillstheir own version, first seen Oct 5, 2026
- Kangentic/kangentictheir own version, first seen Oct 5, 2026
- dzhng/skillstheir own version, first seen Oct 4, 2026
Used with
Projects with it also use starter, media-processing and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
ww-w-aiSkillstarter
Static web development guide for beginners. Covers HTML/CSS/JavaScript and Next.js App Router basics. Project initialization with "init starter". Triggers: static website, portfolio, landing page, HTML CSS, beginner, 정적 웹, 포트폴리오, 초보자, 静的サイト, 初心者, 静态网站, 初学者, sitio web estático, site statique, statische Website, sito web statico Do NOT use for: fullstack apps (use $dynamic), enterprise (use $enterprise).
Also in 4 projects that use this
mrgoonieSkillmedia-processing
Process multimedia files with FFmpeg (video/audio encoding, conversion, streaming, filtering, hardware acceleration) and ImageMagick (image manipulation, format conversion, batch processing, effects, composition). Use when converting media formats, encoding videos with specific codecs (H.264, H.265, VP9), resizing/cropping images, extracting audio from video, applying filters and effects, optimizing file sizes, creating streaming manifests (HLS/DASH), generating thumbnails, batch processing images, creating composite images, or implementing media processing pipelines. Supports 100+ formats, hardware acceleration (NVENC, QSV), and complex filtergraphs.
Also in 5 projects that use this
loulanyueSkillsetup-ts-deep-modules
Wire dependency-cruiser into a TypeScript repo so each package is a deep module — implementation hidden in subfolders, reachable only through its entry-point files. User-invoked.
Also in 15 projects that use this
mrgoonieSkillaesthetic
Create aesthetically beautiful interfaces following proven design principles. Use when building UI/UX, analyzing designs from inspiration sites, generating design images with ai-multimodal, implementing visual hierarchy and color theory, adding micro-interactions, or creating design documentation. Includes workflows for capturing and analyzing inspiration screenshots with chrome-devtools and ai-multimodal, iterative design image generation until aesthetic standards are met, and comprehensive design system guidance covering BEAUTIFUL (aesthetic principles), RIGHT (functionality/accessibility), SATISFYING (micro-interactions), and PEAK (storytelling) stages. Integrates with chrome-devtools, ai-multimodal, media-processing, ui-styling, and web-frameworks skills.
Also in 4 projects that use this
AWSSkillask-matt
Ask which skill or flow fits your situation. A router over the skills in this repo.
Also in 32 projects that use this
AWSSkillresolving-merge-conflicts
Use when you need to resolve an in-progress git merge/rebase conflict.
Also in 48 projects that use this
- +1 more from mrgoonie
- +2 more from aws
Other versions188 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 188
- mattpocock/skills★ 335ksame name
- microsoft/vscode★ 196ksame name
- github/spec-kit★ 153ksame name
- shareAI-lab/learn-claude-code★ 78ksame name
- github/awesome-copilot★ 40ksame name
- langchain-ai/deepagents★ 30ksame name
- microsoft/vcpkg★ 28ksame name
- anthropics/knowledge-work-plugins★ 26ksame name
- Donchitos/Claude-Code-Game-Studios★ 26ksame name
- microsoft/onnxruntime★ 22ksame name
178 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository42 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- devcontainer-bridgeSkill
- memory-engineSkill
- newsletter-summarySkill
- process-delegate-tasksSkill
- git-masterSkill
- implement_taskSkill
- incremental_implementSkill
- investigate_issueSkill
- planning-and-task-breakdownSkill
- request_featureSkill
- test-driven-developmentSkill
- write_prdSkill
- evolution-logSkill
- flow-tracerSkill
- rcaSkill
- agent-browserSkill
- content-cleanerSkill
- content-summarySkill
- daily-distillerSkill
- daily-workflowSkill
- decision-sparringSkill
- fetch-threads-postSkill
- ingest-newsletterSkill
- ingest-threadsSkill
- ingest-websiteSkill
- ingest-youtubeSkill
- review-newsletter-subscriptionsSkill
- review-suggestionsSkill
- rubric-graderSkill
- study-github-repoSkill
- web-to-markdownSkill
- yt2docSkill
- agent-rules-reviewerSkill
- architecture-decision-recordsSkill
- cavemanSkill
- documentationSkill
- grill-meSkill
- insightSkill
- skill-context-refactorSkill
- tech-deconstructorSkill
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 1 is distinctive, and 2 are very specific to this project.
0
Common
Most of the 175 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 63
Cognitive Classification: Read references/template.md as schema contract.
- Very specific: line 95
When a learned preference in memory/preferences.md contradicts a baseline style guide rule in references/<lang>.md:
- Distinctive: line 106
Confidence Threshold: Only report findings where you are >80% confident that a real defect or violation exists.
“Common” is measured: kept by at least 6 in 10 of the 175 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Code Review Skill
A standalone, composable skill that performs comprehensive code review across three dimensions: language-specific coding style enforcement via standardized rubrics, specification compliance against RFCs/Plans, and general bug/security/test verification. The skill learns project-specific team preferences from GitHub PR comments, supports polyglot pull requests, and provides an on-demand cognitive onboarding workflow for expanding to new languages.
1. Invocation Modes
The skill supports four invocation modes:
| Mode | Trigger | Input | Output |
| Internal | Invocation from implement_task or engineer agent | git diff + optional RFC/Plan path | Structured findings returned in-memory to caller |
| PR URL | User provides GitHub PR URL (gh pr review) | gh pr diff + optional RFC/Plan path | Summary review + inline comments posted to GitHub |
| Learn | User requests learning from PR comments | gh api PR review comments | Propose-then-confirm entries appended to preferences.md |
| Onboard | User asks to add or transform a language style guide | Raw upstream guide (URL, file, text) | Propose-then-confirm rubric written to references/<lang>.md |
Mode 1: Internal Mode (Pipeline Review)
- Diff Input: Capture local changes via
git diff --staged,git diff HEAD~1, orgit diff $(git merge-base HEAD main)..HEAD. - Spec Input: RFC or Plan path provided in prompt (e.g.,
docs/rfcs/rfc_feature.mdordocs/plans/plan_feature.md). - Output: Returns the formatted Markdown review directly to the calling agent or pipeline.
Mode 2: PR URL Mode (GitHub Native)
- Diff Input: Retrieve PR diff using GitHub CLI:
gh pr diff <pr_number> -R <owner/repo>. - Posting Review (Hybrid Model):
- Post the summary table review comment:
gh pr review <pr_number> -R <owner/repo> --comment --body "<summary_markdown>" - Post inline comments for HIGH and CRITICAL findings only:
gh api repos/{owner}/{repo}/pulls/<pr_number>/reviews \ -f event="COMMENT" \ -f body="## Code Review Summary: Style & Critical Findings" \ -f 'comments[][path]=path/to/file.go' \ -f 'comments[][line]=42' \ -f 'comments[][body]=[STYLE] R-GO-01: Use %w for error wrapping'
- Post the summary table review comment:
Mode 3: Learn Mode (Preference Memory)
- Fetch Comments: Query review comments on PR:
gh api repos/{owner}/{repo}/pulls/<pr_number>/comments \ --jq '.[] | {id, body, path, line: .original_line, user: .user.login}' - Learning Procedure:
- Filter out automated bot comments and extract human feedback.
- Classify feedback: distinguish enduring team preferences from one-off situational remarks.
- Formulate proposed entries conforming to
memory/preferences.mdstructure. - Present proposed rules to the user via a propose-then-confirm gate.
- Append confirmed rules to
.agents/skills/code-review/memory/preferences.md.
Mode 4: Style Guide Onboarding Mode (Language Expansion)
- Trigger: User asks to add, import, or transform a style guide for
<lang>(e.g., "Add Python style guide from<source>"). - Onboarding Procedure (5-Step SOP):
- Fetch & Ingest: Save raw guide to
sources/<lang>.mdwith header provenance (URL, commit/tag, date). - Strict Linter Exclusion: Omit mechanical formatting (indentation, line length, quote style) and simple AST checks (unused variables, import order) enforced by standard formatters/linters (
gofmt,prettier,ruff,eslint). Focus exclusively on semantic idioms, error contracts, resource safety, and concurrency boundaries. - Cognitive Classification: Read
references/template.mdas schema contract. Extract binary pass/fail rules intoR-<LANG>-xxand judgment-based guidelines intoC-<LANG>-xx. - Propose-Then-Confirm Gate: Present draft rubric to user for review in chat or an artifact.
- Write & Register: Upon confirmation, write to
references/<lang>.mdand register the extension in the registry below.
- Fetch & Ingest: Save raw guide to
2. Style Guide Selection & Polyglot Routing
Extension-to-Language Registry
| File Extensions | Language Key | Reference Path |
.go | golang | references/golang.md |
.ts, .tsx, .js, .jsx | typescript | references/typescript.md |
.py | python | references/python.md |
.rs | rust | references/rust.md |
.sql | sql | references/sql.md |
.sh, .bash | shell | references/shell.md |
Language Auto-Detection & Polyglot Partitioning
- Inspect file extensions across all changed files in the diff.
- For each detected language with a guide in
references/:- Load
references/<lang>.md. - Hunk Partitioning: Evaluate each changed file strictly against its matching language rubric (e.g. Go files against
references/golang.md, TypeScript files againstreferences/typescript.md). Never test rules of one language against another.
- Load
- For file extensions without a dedicated style guide, fall back to
references/common-review.mdand log:"No style guide available for
<ext>files. Applied common review checklist."
Reference & Memory Loading Order
- Load matching
references/<lang>.mdfiles for detected languages. - Load
references/common-review.md(language-agnostic bug, security, and test checklist). - Load
memory/preferences.md(learned project preferences). - Load target RFC or Plan document if supplied.
3. Runtime Preference Precedence Rules
When a learned preference in memory/preferences.md contradicts a baseline style guide rule in references/<lang>.md:
- Immutable Baseline: The style guide file (
references/<lang>.md) is never modified or overwritten on disk. - Runtime Precedence: During review evaluation (in memory), the agent adopts the preference over the baseline rule.
- Scoring Alignment: Code conforming to the project preference is scored as compliant.
- Audit Transparency: Note any active override in the review report:
Rule <ID> superseded at review time by project preference: <Preference Title>. - Reversibility: Deleting an entry from
preferences.mdrestores baseline rule enforcement immediately.
4. Confidence-Based Filtering
To eliminate review fatigue and noise, strictly apply these filtering rules:
- Confidence Threshold: Only report findings where you are >80% confident that a real defect or violation exists.
- Changed Code Only: Focus strictly on modified lines and immediate call sites. Do not flag pre-existing issues in untouched code unless they are CRITICAL security vulnerabilities.
- Convention Driven: Stylistic findings must cite a specific rubric rule (
R-<LANG>-xx) or learned preference. - Consolidation: Consolidate repetitive occurrences of the same issue into a single finding listing all affected locations.
5. Multi-Dimensional Review Process
Execute review across three distinct dimensions:
Dimension 1: Style Review (Scored)
- Rubric Rules (
R-<LANG>-xx): Strict binary pass/fail checks contributing to the numerical score: $$\text{Style Score} = \left(\frac{\text{Passed Rubric Rules}}{\text{Total Evaluated Rubric Rules}}\right) \times 100%$$ - Contextual Guidelines (
C-<LANG>-xx): Qualitative guidelines requiring engineering judgment, output as advisory notes.
Dimension 2: Spec Compliance (Optional)
- Extract discrete requirements from RFC/Plan and verify against diff:
✅ Implemented: Requirement fully met.⚠️ Partial: Incomplete edge-case handling or partial implementation.❌ Missing: Requirement specified in RFC/Plan but absent in diff.
Dimension 3: Bugs, Security & Tests
- Check against
references/common-review.md:- Security (CRITICAL): Hardcoded secrets, injection (SQL/command), XSS, path traversal, auth bypasses.
- Bugs (HIGH): Logic flaws, nil/null dereferences, race conditions, unhandled errors, resource leaks.
- Test Coverage (MEDIUM): Untested new execution branches, missing edge cases.
6. Verdict and Review Output Format
Approval Criteria
- Approve: 0 CRITICAL, 0 HIGH, style rubric pass rate >= 80%, spec compliance >= 90%.
- Warning: 0 CRITICAL, but HIGH issues exist or style pass rate < 80%.
- Block: 1+ CRITICAL issues found, or major spec requirements missing.
Output Structure
## Code Review: <PR / Branch Title>
### Style: <Passed>/<Total> rubric rules passed (<Score>%)
<!-- For polyglot PRs, show per-language breakdown: -->
- Go: 9/10 passed (90%)
- TypeScript: 5/6 passed (83%)
| Rule | Language | Severity | Verdict | Location |
|------|----------|----------|---------|----------|
| R-GO-01: Error Wrapping | Go | HIGH | ❌ | pkg/handler.go:42 |
| R-GO-09: Avoid Mutable Globals | Go | HIGH | ✅ | — |
| R-TS-01: No Unsafe Type Assertions | TypeScript | HIGH | ❌ | web/app.tsx:18 |
*Active Overrides:* Rule R-GO-04 superseded by project preference: Prefer errors.Wrap
### Spec Compliance: <RFC/Plan Path>
| Requirement | Status | Location |
|-------------|--------|----------|
| JWT authentication middleware | ✅ Implemented | auth/middleware.go:15 |
| Rate limiting (100 req/min) | ❌ Missing | — |
### Bugs & Security
| # | Severity | Category | File | Issue | Suggestion |
|---|----------|----------|------|-------|------------|
| 1 | CRITICAL | SECURITY | config.go:12 | Hardcoded API key | Move credential to environment variable |
| 2 | HIGH | BUG | store.go:88 | Potential nil pointer dereference | Add nil guard before dereferencing |
### Advisory Notes (Contextual, No Score Impact)
- C-GO-01: `pkg/handler.go:28` — Consider pointer receiver for large struct methods.
### Summary
| Severity | Count | Status |
|----------|:---:|:---:|
| CRITICAL | 1 | block |
| HIGH | 2 | warn |
| MEDIUM | 0 | pass |
| LOW | 0 | pass |
**Verdict**: ⛔ BLOCK — 1 CRITICAL issue must be resolved before merge.Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

