code-review
Skill41 starsChanged 7 months agoMITView on GitHub
Architectural and quality review of one or more files. Verifies coding standards, SOLID, testability, mobile anti-patterns, and ADR compliance. Use after /dev-story and before /story-done.
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 repository77 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- design/CLAUDE.mdCLAUDE.md
- docs/CLAUDE.mdCLAUDE.md
- src/CLAUDE.mdCLAUDE.md
- tests/CLAUDE.mdCLAUDE.md
- adoptSkill
- architecture-decisionSkill
- architecture-reviewSkill
- asset-auditSkill
- asset-specSkill
- balance-checkSkill
- brainstormSkill
- bug-reportSkill
- bug-triageSkill
- changelogSkill
- consistency-checkSkill
- content-auditSkill
- create-architectureSkill
- create-control-manifestSkill
- create-epicsSkill
- create-storiesSkill
- day-one-patchSkill
- design-bibleSkill
- design-reviewSkill
- design-systemSkill
- dev-storySkill
- estimateSkill
- extractSkill
- gate-checkSkill
- helpSkill
- hotfixSkill
- launch-checklistSkill
- localizeSkill
- map-systemsSkill
- milestone-reviewSkill
- onboardSkill
- patch-notesSkill
- perf-profileSkill
- prd-reviewSkill
- project-stage-detectSkill
- propagate-design-changeSkill
- prototypeSkill
- qa-planSkill
- quick-designSkill
- regression-suiteSkill
- release-checklistSkill
- retrospectiveSkill
- reverse-documentSkill
- review-all-prdsSkill
- scope-checkSkill
- security-auditSkill
- setup-frameworkSkill
- skill-improveSkill
- skill-testSkill
- smoke-checkSkill
- soak-testSkill
- sprint-planSkill
- sprint-statusSkill
- startSkill
- story-doneSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 3 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 174 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 13
Read-only quality pass over a recent change.
- Very specific: line 21
Read the target file(s) in full.
- Very specific: line 25
Read CLAUDE.md and .claude/docs/coding-standards.md to refresh the active project rules.
- Very specific: line 42
If the section is [TO BE CONFIGURED], skip the framework-specialist phase.
- Very specific: line 48
Search the changed files (and any matching story file) for ADR references: patterns like ADR-NNN, docs/architecture/ADR-, or Governing ADR:.
- Distinctive: line 153
Ask qa-tester to verify:
- Distinctive: line 167
Wait for all specialists to return before composing output.
“Common” is measured: kept by at least 6 in 10 of the 174 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
Read-only quality pass over a recent change. Confirms the diff respects the project's coding rules, the governing ADR, and mobile-specific health checks (cold start, frame budget, memory, battery, deep-link surface).
Phase 1: Load Targets
Read the target file(s) in full. If a directory is given, glob it for source
files (*.ts, *.tsx, *.js, *.dart, *.swift, *.kt, *.kts,
*.java, *.m, *.mm).
Read CLAUDE.md and .claude/docs/coding-standards.md to refresh the active
project rules. Read .claude/docs/technical-preferences.md to capture frame
budget, cold-start budget, memory ceiling, and forbidden patterns.
Phase 2: Identify Framework Specialists
Open the ## Framework Specialists section of technical-preferences.md.
Note:
- Primary specialist (architecture and lifecycle calls).
- Language/UI specialist (RN screens, SwiftUI views, Compose composables, Flutter widgets).
- Native modules / platform channels specialist (bridges, JNI, Obj-C++).
- State management specialist (Redux, Riverpod, MVI, Combine, etc.).
If the section is [TO BE CONFIGURED], skip the framework-specialist phase.
Phase 3: ADR Compliance
Search the changed files (and any matching story file) for ADR references:
patterns like ADR-NNN, docs/architecture/ADR-, or
Governing ADR:. If none are found, log: "No ADR references found — ADR
compliance check skipped."
For each referenced ADR, read it and pull out the Decision and Consequences sections. Classify each deviation:
- BLOCKING — the code uses a pattern explicitly rejected by the ADR.
- DRIFT — the code diverges from the chosen approach without using a forbidden pattern.
- MINOR — small textual difference that does not change architecture.
Phase 4: Standards Compliance
For each target file, score these checks:
- All public APIs (exports, public methods, public protocols) carry doc comments.
- No method exceeds 40 lines (excluding data declarations).
- Cyclomatic complexity stays under 10 per method.
- Dependencies are injected; no module-scope singletons holding mutable app state.
- Tunable values come from config/remote config, not magic numbers.
- Modules expose interfaces (TS interface, Swift protocol, Kotlin interface, abstract Dart class) rather than concrete implementations.
- No hardcoded user-facing strings — all strings flow through the localization system.
Cite line numbers for every failure.
Phase 5: Architecture and SOLID
Architecture:
- Dependency direction is correct (UI -> domain -> data, never reverse).
- No circular module imports.
- UI does not own domain state directly; state passes through a state container.
- Cross-feature communication goes through events / streams / navigation, not direct calls.
- New code matches the patterns already in the codebase — flag novelty.
SOLID:
- Single Responsibility: each class/screen/hook has one reason to change.
- Open/Closed: extension via composition, not edits to closed code.
- Liskov Substitution: subtypes honour parent contracts.
- Interface Segregation: no fat protocols/interfaces.
- Dependency Inversion: depend on abstractions, not concretes.
Phase 6: Mobile-Specific Concerns
- Cold-start budget respected — no synchronous heavy work in app entry,
AppDelegate.didFinishLaunching,MainActivity.onCreate, or React NativeApp.tsxtop-level. - No allocations in animation callbacks, gesture handlers, or list cell builders.
- List rendering uses virtualization (
FlatList/SectionList,LazyColumn,LazyVStack,ListView.builder). - Image loads use a cache layer (FastImage, Coil, SDWebImage, cached_network_image).
- Network calls have explicit timeout, retry, and offline handling.
- Background work uses platform-correct APIs (WorkManager, BGTaskScheduler).
- Deep links and universal links validate input before navigating.
- Sensitive data lands in Keychain / Keystore, never AsyncStorage, SharedPreferences, NSUserDefaults, or unencrypted SQLite.
- Battery-affecting features (location, camera, BLE) release resources on screen exit.
- No string-concatenated SQL; use parameterized queries.
- Memory: no retain cycles in closures (Swift
[weak self], Dart avoid capturing State, RN avoid capturing component refs).
Phase 7: Specialist Reviews (in parallel)
Spawn every applicable specialist via Task at the same time — do not chain.
Framework specialists
Decide per file:
- React Native screens / hooks / RN-specific code -> RN specialist.
- Flutter widgets / Dart code -> Flutter specialist.
- SwiftUI / UIKit / Swift code -> iOS specialist (UI variant if SwiftUI).
- Compose / Views / Kotlin code -> Android specialist (Compose variant if Compose).
- Native module / platform channel / JNI code -> native modules specialist.
- Cross-cutting (build config, app entry, lifecycle) -> primary specialist.
Testability review
For Logic and Integration stories, also spawn qa-tester in parallel. Pass:
- The diff under review.
- The story's
## QA Test Casessection. - The story's Acceptance Criteria.
Ask qa-tester to verify:
- Test seams exist — public hooks, exported functions, dependency injection points.
- Each QA test case maps to a code path that is reachable in test mode.
- No AC is hidden behind a hardcoded value or non-injectable singleton.
- No new edge cases are introduced without a corresponding test.
- Observable side effects (analytics events, navigation, persistence) have at least an interaction test.
For Visual/Feel and UI stories: qa-tester instead checks that the manual verification steps in QA Test Cases are physically reachable in the build (e.g., the state transition the tester needs to observe is reachable).
Wait for all specialists to return before composing output.
Phase 8: Render the Review
## Code Review: [target]
### Framework Specialist Findings: [N/A | CLEAN | ISSUES]
[per-specialist output]
### Testability: [N/A | TESTABLE | GAPS | BLOCKING]
[qa-tester output — list test seams missing or untestable ACs]
### ADR Compliance: [NONE FOUND | COMPLIANT | DRIFT | BLOCKING]
[ADR-by-ADR result and severity]
### Standards Compliance: [X/7 passing]
[failures with file:line]
### Architecture: [CLEAN | MINOR | VIOLATIONS]
[specific concerns]
### SOLID: [COMPLIANT | ISSUES]
[specific violations]
### Mobile-Specific Concerns
[cold start, frame budget, battery, secure storage, deep links, etc.]
### Positive Observations
[Always include — what the change did well]
### Required Changes
[Must-fix before approval. Any BLOCKING ADR finding lands here.]
### Suggestions
[Nice-to-have improvements]
### Verdict: [APPROVED | APPROVED WITH SUGGESTIONS | CHANGES REQUIRED]This skill writes nothing to disk.
Quality Gates / PASS-FAIL
- APPROVED — every required check passed and no BLOCKING items remain.
- APPROVED WITH SUGGESTIONS — required checks passed; nice-to-haves remain.
- CHANGES REQUIRED — at least one BLOCKING ADR violation, standards failure, mobile anti-pattern, or testability gap is present.
Examples
Example 1 — A new RN list screen:
Reads src/screens/inbox/InboxScreen.tsx, finds ADR-022 (list virtualization
policy), spawns RN specialist + qa-tester, flags an inline .map() over
2000+ items as a frame-budget violation, returns CHANGES REQUIRED.
Example 2 — A pricing config edit:
Single file assets/data/pricing.json. Standards check passes; no ADR
referenced. qa-tester confirms a smoke check exists for the price flow.
Verdict: APPROVED.
Next Steps
- APPROVED -> run
/story-done [story-path]. - CHANGES REQUIRED -> fix and re-run
/code-review. - BLOCKING ADR violation -> run
/architecture-decisionto capture the correct approach before re-implementing.
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.

