review
Skill197 starsChanged 3 months agoMITView on GitHub
Perform a structured code review by composing validation checklists from relevant atoms based on what code changed. Loads atoms conditionally -- clean-code always, architecture/DDD/security/tests only when the delta touches their domain. Produces a severity-ordered report with specific locations and fixes. Use when the user asks to 'review this', 'code review', 'quality check', 'validate the code', 'check my code', 'review the delta', or 'review this PR'.
193 other projects use a version of this.
Adopted by
Most recently taken up by
- garrytan/gstacktheir own version, first seen Oct 7, 2026
- joi-fairshare/agentic-workflowtheir own version, first seen Oct 5, 2026
- kurofune/claudittheir own version, first seen Oct 5, 2026
- kopp0510/claude-ddtheir own version, first seen Oct 5, 2026
- muon-m2/magento2-toolstheir own version, first seen Oct 4, 2026
- dzhng/skillstheir own version, first seen Oct 4, 2026
Used with
Projects with it also use cso, plan-devex-review 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.
ayudaySkillcso
Chief Security Officer mode. Performs OWASP Top 10 audit, STRIDE threat modeling, attack surface analysis, auth flow verification, secret detection, dependency CVE scanning, supply chain risk assessment, and data classification review. Use when: "security audit", "threat model", "pentest review", "OWASP", "CSO review".
Also in 11 projects that use this
seek888Skillplan-devex-review
Interactive developer experience plan review. Explores developer personas, benchmarks against competitors, designs magical moments, and traces friction points before scoring. Three modes: DX EXPANSION (competitive advantage), DX POLISH (bulletproof every touchpoint), DX TRIAGE (critical gaps only). Use when asked to "DX review", "developer experience audit", "devex review", or "API design review". Proactively suggest when the user has a plan for developer-facing products (APIs, CLIs, SDKs, libraries, platforms, docs). (gstack) Voice triggers (speech-to-text aliases): "dx review", "developer experience review", "devex review", "devex audit", "API design review", "onboarding review".
Also in 9 projects that use this
seek888Skillopen-gstack-browser
Launch GStack Browser — AI-controlled Chromium with the sidebar extension baked in. Opens a visible browser window where you can watch every action in real time. The sidebar shows a live activity feed and chat. Anti-bot stealth built in. Use when asked to "open gstack browser", "launch browser", "connect chrome", "open chrome", "real browser", "launch chrome", "side panel", or "control my browser". Voice triggers (speech-to-text aliases): "show me the browser".
Also in 5 projects that use this
ayudaySkillsetup-deploy
Configure deployment settings for /land-and-deploy. Detects your deploy platform (Fly.io, Render, Vercel, Netlify, Heroku, GitHub Actions, custom), production URL, health check endpoints, and deploy status commands. Writes the configuration to CLAUDE.md so all future deploys are automatic. Use when: "setup deploy", "configure deployment", "set up land-and-deploy", "how do I deploy with gstack", "add deploy config".
Also in 11 projects that use this
Kit4SomeSkillunfreeze
Also in 12 projects that use this
AICreator-WindSkilldesign-consultation
设计合作伙伴工具。构建完整设计系统,提供专业设计建议。
Also in 12 projects that use this
- +1 more from seek888
Other versions193 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 193
- garrytan/gstack★ 143ksame name
- anthropics/claude-for-legal★ 9.6ksame name
- vercel/eve★ 5.5ksame name
- microsoft/FluidFramework★ 4.9ksame name
- ccch1mneyyy/dsh-TUI★ 4ksame name
- parcadei/Continuous-Claude-v3★ 3.9ksame name
- dzhng/jevgrep★ 2.3ksame name
- getsentry/sentry-react-native★ 1.8ksame name
- skyllwt/AutoSci★ 1.7ksame name
- nagisanzenin/engram★ 1.4ksame name
183 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 repository28 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- architecture-compassSkill
- architecture-refinerSkill
- architectureSkill
- bug-fixSkill
- clean-code-refinerSkill
- clean-codeSkill
- code-forgeSkill
- collaborative-judgmentSkill
- context-anchoringSkill
- ddd-refinerSkill
- design-blueprintSkill
- design-firstSkill
- domain-driven-designSkill
- knowledge-priming-refinerSkill
- knowledge-primingSkill
- language-idioms-refinerSkill
- lattice-initSkill
- learning-harvestSkill
- refactor-safelySkill
- refiners-updateSkill
- requirement-forge-refinerSkill
- requirement-forgeSkill
- requirement-qualitySkill
- review-refinerSkill
- secure-codingSkill
- test-qualitySkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
33 rules. 0 are common, 24 are distinctive, and 9 are very specific to this project.
0
Common
Most of the 167 edited versions we read keep these.
24
Distinctive
This author's own choices. Worth a look.
9
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 26
Look for .lattice/config.yaml in repo root.
- Very specific: line 27
Check for config key paths.review_standards.
- Very specific: line 28
If doc exists at path, read & check YAML frontmatter for mode:
- Very specific: line 29
mode: overlay: Read embedded defaults first, then apply doc's sections on top. - Distinctive: line 31
If no config or no review-standards doc found, use embedded defaults thruout workflow (full backward compat — identical to review with no …
- Very specific: line 51
Use framework:learning-harvest Load behavior.
- Distinctive: line 55
PR or commit: Use git diff for changed files/lines.
- Distinctive: line 66
Config override (§4 Scope Rules): If review-standards doc defines scope rules, apply after identifying delta:
- Distinctive: line 67
Directory exclusions: Remove files matching exclusion patterns from delta before classification.
- Distinctive: line 68
Directory inclusions (always-full-scan): When delta touches file in always-full-scan dir, expand delta to include all files in that dir.
- Very specific: line 69
Surrounding-code policy: Use configured policy (strict/default/expansive) instead of default.
- Distinctive: line 70
Dependency expansion: If enabled, also include files that directly import from changed files.
- Distinctive: line 85
When multiple atoms load, run independently -- each atom's checklist applied to parts of delta relevant to it.
- Distinctive: line 87
Config override (§1 Atom Loading Policy): If review-standards doc defines atom loading rules, apply instead of (override) or on top of …
- Distinctive: line 90
Custom path-based triggers: If delta includes files matching custom path pattern, load associated atom regardless of standard conditions.
- Distinctive: line 109
Config override (§7 Custom Review Dimensions): If review-standards doc defines custom review dimensions, run after atom validation passes:
- Distinctive: line 116
Default to summary mode. Use full mode if user asked for detailed/comprehensive review.
- Very specific: line 132
When finding borderline between severity levels, use framework:collaborative-judgment — note uncertainty inline with both interpretations …
- Distinctive: line 154
After all atom sections, add:
- Distinctive: line 159
Config override (§2 Severity Classification): If review-standards doc defines custom severity levels or per-atom overrides:
- Distinctive: line 160
Use custom severity level definitions instead of (override) or merged with (overlay) defaults above.
- Distinctive: line 164
Config override (§3 Report Preferences): If review-standards doc defines report preferences:
- Distinctive: line 165
Default mode: Use configured default (summary or full) instead of summary.
- Distinctive: line 167
Grouping strategy: Use configured grouping (by-severity, by-atom, by-file) instead of defaults.
- Distinctive: line 168
"What's done well" toggle: If disabled, omit positive observation section.
- Distinctive: line 174
After presenting report, harvest learnings & log review.
- Very specific: line 182
Create .lattice/reviews/ dir if doesn't exist.
- Very specific: line 196
If log exceeds ~20 entries, move oldest entries to one-line ## History summary section at top of file.
- Distinctive: line 198
Config override (§5 Insight Capture Preferences): If review-standards doc defines insight capture preferences:
- Distinctive: line 201
Config override (§6 Health Log Preferences): If review-standards doc defines health log preferences:
- Distinctive: line 203
Entry cap: Use configured line limit instead of 8 lines per entry.
- Distinctive: line 204
History cap: Use configured entry limit instead of ~20 before rolloff.
- Distinctive: line 206
History compression format: Use configured format for rolled-off entries.
“Common” is measured: kept by at least 6 in 10 of the 167 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
Review
Required Skills
Load/apply skills based on scope (see Step 2 for conditional loading):
framework:knowledge-priming-- Load project context (tech stack, architecture, conventions) to evaluate against real standards (always loaded)framework:learning-harvest-- Load prior operational learnings inform review; harvest new patterns at session end (always)framework:collaborative-judgment-- Surface borderline findings with both interpretations instead of silently classifying (always loaded)framework:clean-code-- Code craft: SRP, naming, complexity, error handling (always loaded)framework:architecture-- Structural: layer rules, dependency direction, architectural flows (conditional)framework:domain-driven-design-- Domain modeling: aggregates, entities, value objects (conditional)framework:secure-coding-- Security: trust boundaries, injection, secrets, input handling (conditional)framework:test-quality-- Test: AAA structure, isolation, assertions, naming (conditional)
Config Resolution
Review molecule supports optional config thru review-standards doc from review-refiner (or hand-written). Configures review process — not what atoms check (that's atom-level config via atom refiners).
Resolution steps:
- Look for
.lattice/config.yamlin repo root. - Check for config key
paths.review_standards. - If doc exists at path, read & check YAML frontmatter for
mode:mode: overlay: Read embedded defaults first, then apply doc's sections on top. Sections matched by heading — custom replaces matching defaults, new appended.mode: override(or no mode): Custom doc full precedence. Must be comprehensive.
- If no config or no review-standards doc found, use embedded defaults thruout workflow (full backward compat — identical to review with no config).
Review-standards doc has 7 sections map to workflow steps:
| Section | Affects step |
| §1 Atom Loading Policy | Step 2 (Load Relevant Atoms) |
| §2 Severity Classification | Step 4 (Produce Report) |
| §3 Report Preferences | Step 4 (Produce Report) |
| §4 Scope Rules | Step 1 (Identify the Delta) |
| §5 Insight Capture Preferences | Step 5 (Harvest Learnings and Log Review) |
| §6 Health Log Preferences | Step 5 (Harvest Learnings and Log Review) |
| §7 Custom Review Dimensions | Step 3 (Run Targeted Validation) |
Each step notes where config applies with "Config override" callouts.
Workflow
Step 1: Identify the Delta
Use framework:learning-harvest Load behavior. Focus hint: "review session — focus: all categories".
Determine what code reviewing & establish scope.
- PR or commit: Use
git difffor changed files/lines. Delta is changes, not entire codebase. - Set of files: User specifies files. Delta is those files.
- Feature or module: User points to feature. Identify relevant files from codebase.
Classify delta:
- Which architectural layers touched? (per loaded architecture rules) -- determines if
architectureloads. - Is domain code included? (files in configured
domain_folderor containing aggregates, entities, value objects) -- determines ifdomain-driven-designloads. - Security-sensitive areas touched? (auth, authz, input handling, DB queries, external API calls, file I/O, config, secrets) -- determines if
secure-codingloads. - Test files included? -- determines if
test-qualityloads.
Config override (§4 Scope Rules): If review-standards doc defines scope rules, apply after identifying delta:
- Directory exclusions: Remove files matching exclusion patterns from delta before classification.
- Directory inclusions (always-full-scan): When delta touches file in always-full-scan dir, expand delta to include all files in that dir.
- Surrounding-code policy: Use configured policy (strict/default/expansive) instead of default.
- Dependency expansion: If enabled, also include files that directly import from changed files.
Step 2: Load Relevant Atoms
Always load: framework:clean-code -- applies to all code regardless of layer/purpose.
Conditionally load based on delta classification:
| Condition | Load |
| Delta touches multiple layers, adds new files, or changes file locations | framework:architecture |
| Delta includes files in domain folder or modifies domain objects | framework:domain-driven-design |
| Delta touches trust boundaries (HTTP handlers, auth, DB queries, external APIs, secrets, config) | framework:secure-coding |
| Delta includes test files | framework:test-quality |
When multiple atoms load, run independently -- each atom's checklist applied to parts of delta relevant to it. Findings from different atoms merged Step 4.
Config override (§1 Atom Loading Policy): If review-standards doc defines atom loading rules, apply instead of (override) or on top of (overlay) table above:
- Always-load overrides: Additional atoms moved to always-load (e.g.,
secure-codingevery review).clean-codeandknowledge-primingmust remain always-loaded regardless of config. - Suppressed atoms: Atoms listed as suppressed never loaded, even if delta matches trigger condition.
- Custom path-based triggers: If delta includes files matching custom path pattern, load associated atom regardless of standard conditions.
- Modified conditions: Replacement trigger conditions for conditional atoms.
Step 3: Run Targeted Validation
For each loaded atom, apply two passes against delta:
Pass 1 -- Self-Validation Checklist: Walk thru atom's Self-Validation Checklist (numbered items in atom's SKILL.md). For each check, examine if any code in delta violates. Record violations with:
- Specific check that failed
- Exact file & line(s)
- Concrete suggested fix
Pass 2 -- Anti-Pattern Scan: Walk thru atom's Active Anti-Pattern Scan (checkbox items in atom's SKILL.md). For each anti-pattern, check if delta exhibits symptom. Record matches with:
- Anti-pattern name
- Symptom observed in delta
- Fix, adapted to specific code
Scope rule: Focus on delta. Don't review unchanged code unless change in delta creates new violation in surrounding code (e.g., new dependency breaks dependency rule for existing file). When reviewing surrounding code, note finding originates from delta's impact, not pre-existing issues.
Config override (§7 Custom Review Dimensions): If review-standards doc defines custom review dimensions, run after atom validation passes:
- For each custom dimension, check if delta matches trigger condition.
- For matching dimensions, apply dimension's checklist against delta using same two-pass approach: check each criterion, record findings with dimension's default severity (or classified severity), file location, suggested fix.
- Custom dimension findings merged with atom findings Step 4.
Step 4: Produce Report
Default to summary mode. Use full mode if user asked for detailed/comprehensive review.
Summary mode (default):
Present top issues ordered by severity, one line each. Cap at most important findings -- don't enumerate every minor issue.
For each finding:
[SEVERITY] file:line -- description (atom-name: check-name)Severity levels:
- critical -- Will cause bugs, security vulnerabilities, or data loss. Must fix.
- warning -- Violates principle & will cause maintenance pain. Should fix.
- suggestion -- Could be improved but works correctly as-is. Consider fixing.
When finding borderline between severity levels, use framework:collaborative-judgment — note uncertainty inline with both interpretations rather than silently classifying.
End with "What's done well" sentence highlighting something positive about delta -- good naming, proper error handling, clean test structure, correct layer placement.
Full mode (when user asks for detailed/comprehensive review):
Organize findings by atom. For each atom loaded:
## Clean Code
- [warning] src/services/OrderService.ts:45 -- Function `processOrder` does validation,
business logic, and persistence (SRP violation). Extract validation into guard clause,
persistence into repository call.
- [suggestion] src/services/OrderService.ts:72 -- Parameter list has 5 arguments.
Group into `ProcessOrderOptions` object.
## Architecture
- [critical] src/domain/Order.ts:12 -- Inner layer imports from outer layer
(`import { DatabaseClient }`). Violates dependency direction rules.
Define an interface in the inner layer, implement in the outer layer.After all atom sections, add:
- What's done well: List 2-3 positive observations.
- Improvement suggestions (optional): If broader patterns beyond individual findings -- e.g., "consider extracting shared validation layer", or whether the delta introduces complexity where a simpler path exists (stdlib, platform built-in, fewer abstractions) -- note here. Keep to 1-2 suggestions max.
Config override (§2 Severity Classification): If review-standards doc defines custom severity levels or per-atom overrides:
- Use custom severity level definitions instead of (override) or merged with (overlay) defaults above.
- Apply per-atom severity overrides: if atom has min severity floor, promote findings below that floor. If atom has max severity ceiling, cap findings above that ceiling.
- Custom dimensions from §7 use severity levels from this section.
Config override (§3 Report Preferences): If review-standards doc defines report preferences:
- Default mode: Use configured default (summary or full) instead of summary.
- Finding cap: Apply configured cap for summary mode.
- Grouping strategy: Use configured grouping (by-severity, by-atom, by-file) instead of defaults.
- "What's done well" toggle: If disabled, omit positive observation section.
- Custom report sections: Include any configured custom sections at specified position.
- Custom dimension findings merge into report alongside atom findings, following same grouping & severity ordering.
Step 5: Harvest Learnings and Log Review
After presenting report, harvest learnings & log review.
Harvest Learnings — use framework:learning-harvest Harvest behavior:
Session context: "review session — code quality assessment against atom standards". Synthesize and propose cross-cutting patterns from this review — recurring quality anti-patterns, structural issues that keep appearing, reliability gaps. User confirms what enters the document. STOP: complete this before Log Review below.
Log Review — append to .lattice/reviews/review-log.md:
- Create
.lattice/reviews/dir if doesn't exist. - Append structured summary to
.lattice/reviews/review-log.md. Create file with# Review Logheading if doesn't exist. - Format — keep each entry under 8 lines:
## YYYY-MM-DD — [feature/scope name]
- **Scope**: [file count], [layers touched]
- **Atoms**: [atoms loaded for this review]
- **Result**: [critical count] critical, [warning count] warning, [suggestion count] suggestion
- **Key findings**: [top 2-3 specific findings, one line]
- **Strengths**: [one positive highlight]- Health signal only. Keep concise.
- If log exceeds ~20 entries, move oldest entries to one-line
## Historysummary section at top of file.
Config override (§5 Insight Capture Preferences): If review-standards doc defines insight capture preferences:
- Capture criteria: Apply custom criteria (e.g., "always capture security findings") as additional guidance to
framework:learning-harvestwhen proposing candidates.
Config override (§6 Health Log Preferences): If review-standards doc defines health log preferences:
- Custom fields: Include additional fields in each log entry (e.g., "Confidence", "Estimated fix time").
- Entry cap: Use configured line limit instead of 8 lines per entry.
- History cap: Use configured entry limit instead of ~20 before rolloff.
- Additional metrics: Include configured metrics (e.g., findings-per-file ratio, most-firing atoms) in each entry.
- History compression format: Use configured format for rolled-off entries.
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.

