code-review
Skill1 starsChanged 4 months agoMITView on GitHub
Review .NET code changes and pull requests for correctness, security, data integrity, concurrency, reliability, performance, maintainability, testing, and architectural issues. Use when reviewing diffs, commits, branches, pull requests, patches, or proposed changes in a .NET repository.
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 repository4 other files it gives its agents.
- architecture-reviewSkill
- dotnet-backendSkill
- dotnet-testingSkill
- ef-coreSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
52 rules. 0 are common, 46 are distinctive, and 6 are very specific to this project.
0
Common
Most of the 175 edited versions we read keep these.
46
Distinctive
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 9
Use this skill when reviewing .NET code changes, commits, branches, pull requests, patches, or proposed implementations.
- Very specific: line 16
Use dotnet-backend for deeper ASP.NET Core, architecture, dependency injection, async, backend reliability, security, and integration …
- Very specific: line 17
Use dotnet-testing for deeper test quality, test strategy, fixtures, integration testing, concurrency testing, and regression coverage …
- Very specific: line 18
Use ef-core for deeper Entity Framework Core guidance involving DbContext, queries, transactions, migrations, database constraints, …
- Distinctive: line 19
Do not duplicate the full guidance from specialized skills in the review.
- Distinctive: line 35
Do not force a finding in every category.
- Distinctive: line 39
Before reviewing findings, determine the appropriate review base and scope.
- Distinctive: line 48
Do not review changed lines in isolation when surrounding behavior determines correctness.
- Distinctive: line 52
Before reporting findings, determine:
- Distinctive: line 65
Every reported finding must be actionable and evidence-based.
- Distinctive: line 73
Avoid vague comments such as:
- Distinctive: line 88
Use for issues that can cause severe consequences, such as major security vulnerabilities, authorization bypass, corruption of important …
- Distinctive: line 92
Use for defects likely to cause incorrect application behavior, lost or duplicated data, significant concurrency bugs, broken public …
- Distinctive: line 96
Use for legitimate problems with meaningful impact but lower likelihood or severity, such as important edge cases not handled, avoidable …
- Distinctive: line 100
Use sparingly for small but concrete engineering problems.
- Distinctive: line 116
Verify that the implementation actually satisfies the intended behavior and preserves behavior that should remain unchanged.
- Distinctive: line 120
Do not assume sequential-looking application logic is safe under concurrent requests.
- Distinctive: line 132
When concurrency behavior matters, inspect whether the code protects the invariant under simultaneous requests, retries, background …
- Distinctive: line 136
When code modifies persistent state, identify the invariant that must remain true.
- Distinctive: line 185
When reviewing HTTP clients, queues, webhooks, messaging, or external-service integrations, inspect:
- Distinctive: line 212
Do not report speculative micro-optimizations.
- Very specific: line 227
Do not request tests for trivial implementation details solely to increase coverage.
- Distinctive: line 231
Look for unintended changes to:
- Distinctive: line 242
If a breaking change appears intentional, verify that the surrounding change accounts for migration, compatibility, rollout, or consumer …
- Distinctive: line 246
When EF Core migrations are part of the change, inspect them explicitly.
- Very specific: line 257
Do not assume a migration is correct because EF Core generated it.
- Distinctive: line 261
Check whether failures are handled at the correct boundary, preserve useful diagnostic context, expose appropriate responses, avoid leaking …
- Very specific: line 263
Do not recommend broad try/catch blocks merely to suppress exceptions.
- Distinctive: line 269
Only report maintainability issues when they have practical consequences.
- Distinctive: line 278
Do not report naming or formatting issues that automated tooling should handle unless they materially affect understanding.
- Distinctive: line 282
Before reporting a finding:
- Distinctive: line 284
Verify the issue exists in the changed code.
- Distinctive: line 286
Check whether another layer already handles it.
- Distinctive: line 288
Verify the finding is not merely a preference.
- Distinctive: line 290
Do not invent runtime behavior.
- Distinctive: line 294
Prefer findings over a long summary.
- Distinctive: line 296
Use this format for each finding:
- Distinctive: line 306
When useful, include a small code suggestion, but do not rewrite large sections of the implementation.
- Distinctive: line 308
If no meaningful problems are found, say so clearly.
- Distinctive: line 318
Check correctness and edge cases.
- Distinctive: line 319
Check security and authorization.
- Distinctive: line 320
Check data integrity and concurrency.
- Distinctive: line 321
Check external integrations and failure behavior.
- Distinctive: line 322
Check persistence and migrations.
- Distinctive: line 323
Check meaningful performance risks.
- Distinctive: line 324
Verify each potential finding against the actual code.
- Distinctive: line 330
Before completing a review, consider:
- Distinctive: line 356
Do not force a comment for every checklist item.
- Distinctive: line 362
Avoid generic best-practice comments.
- Distinctive: line 364
Avoid praise that does not help the review.
- Distinctive: line 365
Do not exaggerate severity.
- Distinctive: line 366
Do not speculate when the code can be inspected.
“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
Use this skill when reviewing .NET code changes, commits, branches, pull requests, patches, or proposed implementations.
The goal of the review is to identify real defects and material risks before changes are merged. Prioritize correctness, security, data integrity, concurrency, reliability, breaking changes, performance, test coverage, and maintainability. Do not turn the review into a style critique, and do not report personal preferences as defects.
Relationship With Specialized Skills
- This skill controls the review process, scope, severity, and finding quality.
- Use
dotnet-backendfor deeper ASP.NET Core, architecture, dependency injection, async, backend reliability, security, and integration guidance. - Use
dotnet-testingfor deeper test quality, test strategy, fixtures, integration testing, concurrency testing, and regression coverage guidance. - Use
ef-corefor deeper Entity Framework Core guidance involvingDbContext, queries, transactions, migrations, database constraints, concurrency, and persistence performance. - Do not duplicate the full guidance from specialized skills in the review. Apply it where it is relevant to a concrete risk in the changed code.
Review Priorities
Evaluate issues in this order:
- Correctness
- Security
- Data integrity
- Concurrency
- Reliability
- Breaking changes
- Performance
- Test coverage
- Maintainability
Do not force a finding in every category. A review with zero findings is better than a review containing invented problems.
Establish Scope First
Before reviewing findings, determine the appropriate review base and scope.
- For a branch or pull request, compare against the intended base branch rather than treating the whole repository as new code.
- Inspect the repository structure, projects, test layout, configuration, and relevant conventions.
- Understand what behavior is being added, removed, or changed.
- Inspect the complete diff before focusing on individual files.
- Inspect surrounding code when behavior depends on callers, dependencies, configuration, middleware, persistence mappings, or tests.
- Identify affected callers, background jobs, API consumers, database schemas, messages, external integrations, and test coverage.
Do not review changed lines in isolation when surrounding behavior determines correctness.
Understand Intent
Before reporting findings, determine:
- What behavior is intended to change.
- What existing behavior should remain unchanged.
- Which components and execution paths are affected.
- Which external contracts may change.
- Which data invariants must remain true.
- Which failure modes are realistically possible.
Distinguish intentional behavior changes from regressions. Do not report unrelated pre-existing problems as findings against the current change unless the change makes them materially worse.
Finding Quality
Every reported finding must be actionable and evidence-based. A useful finding explains:
- Where the problem is.
- What is wrong.
- Under what conditions it occurs.
- Why it matters.
- What direction a fix should take.
Avoid vague comments such as:
- "This could be improved."
- "Consider refactoring."
- "This might cause issues."
- "This is not best practice."
Explain the concrete failure or risk. Do not speculate when the code, tests, configuration, or surrounding implementation can be inspected.
Severity
Classify findings with the lowest severity that accurately reflects impact and likelihood.
Critical
Use for issues that can cause severe consequences, such as major security vulnerabilities, authorization bypass, corruption of important data, catastrophic production failures, or irreversible destructive behavior.
High
Use for defects likely to cause incorrect application behavior, lost or duplicated data, significant concurrency bugs, broken public contracts, or serious reliability problems.
Medium
Use for legitimate problems with meaningful impact but lower likelihood or severity, such as important edge cases not handled, avoidable performance problems, incomplete error handling, or meaningful missing tests.
Low
Use sparingly for small but concrete engineering problems. Do not classify formatting, naming, or stylistic preferences as significant findings unless they materially affect understanding or correctness.
Correctness Review
Trace important execution paths end to end rather than only reading methods independently. Look for:
- Incorrect conditions or inverted logic.
- Off-by-one errors.
- Missing cases or invalid assumptions.
- Null handling problems.
- Incorrect state transitions.
- Partial updates.
- Incorrect exception behavior.
- Incorrect HTTP responses.
- Unexpected side effects.
Verify that the implementation actually satisfies the intended behavior and preserves behavior that should remain unchanged.
Async And Concurrency Review
Do not assume sequential-looking application logic is safe under concurrent requests. Pay particular attention to:
- Missing
await. - Fire-and-forget tasks.
- Sync-over-async,
.Result, and.Wait(). - Shared mutable state.
- Race conditions.
- Incorrect locking.
- Parallel access to non-thread-safe dependencies.
- Duplicate processing.
- Concurrent operations using the same EF Core
DbContext.
When concurrency behavior matters, inspect whether the code protects the invariant under simultaneous requests, retries, background processing, and repeated delivery.
Data Integrity Review
When code modifies persistent state, identify the invariant that must remain true. Check:
- Transaction boundaries.
- Uniqueness and database constraints.
- Duplicate execution.
- Check-then-write races.
- Partial persistence.
- Optimistic concurrency.
- Retry behavior.
- Idempotency.
Application-level validation alone may not protect invariants from concurrent requests. Use ef-core when deeper EF Core persistence analysis is relevant.
ASP.NET Core And API Review
For API changes, inspect:
- Routing.
- Request binding.
- Validation.
- Status codes.
- Authorization.
- Cancellation.
- Error handling.
- Response contracts.
- Backwards compatibility.
Controllers and endpoint handlers should generally coordinate transport concerns rather than contain substantial business logic. Use dotnet-backend for deeper backend guidance where relevant.
Security Review
Report only concrete security problems with a plausible execution path. Look for:
- Missing authorization or incorrect authorization scope.
- Injection.
- Unsafe deserialization.
- Committed secrets.
- Sensitive logging.
- Insecure configuration.
- Path traversal.
- Mass assignment.
- Insecure direct object references.
- Untrusted external input.
- Credential exposure.
Distinguish authentication from authorization. Verify whether another layer already enforces the security property before reporting a finding.
External Integration Review
When reviewing HTTP clients, queues, webhooks, messaging, or external-service integrations, inspect:
- Timeouts.
- Cancellation.
- Error handling.
- Retry behavior.
- Idempotency.
- Response validation.
- Authentication.
- Rate limiting.
- Partial failures.
Be particularly careful when retries can duplicate non-idempotent operations.
Performance Review
Report performance findings only when there is a credible impact. Look for:
- N+1 database queries.
- Unnecessary database round trips.
- Unbounded queries.
- Excessive allocations in meaningful hot paths.
- Loading excessive data.
- Sequential independent I/O.
- Repeated expensive operations.
- Blocking asynchronous code.
Do not report speculative micro-optimizations.
Test Review
Review whether tests meaningfully protect the changed behavior. Look for missing coverage of:
- Important success paths.
- Failure paths.
- Boundary conditions.
- Authorization.
- Concurrency.
- Idempotency.
- Persistence behavior.
- Regression scenarios.
Do not request tests for trivial implementation details solely to increase coverage. Use dotnet-testing for deeper testing guidance when relevant.
Breaking Change Review
Look for unintended changes to:
- Public APIs.
- Request and response contracts.
- Serialized models.
- Database schemas.
- Configuration keys.
- Environment variables.
- Events and messages.
- Externally consumed interfaces.
If a breaking change appears intentional, verify that the surrounding change accounts for migration, compatibility, rollout, or consumer requirements.
EF Core Migrations
When EF Core migrations are part of the change, inspect them explicitly. Look for:
- Destructive operations.
- Accidental column drops.
- Incorrect renames.
- Nullability changes.
- Data loss.
- Unsafe unique constraints.
- Missing data migration.
- Model snapshot inconsistencies.
Do not assume a migration is correct because EF Core generated it. Use ef-core for detailed persistence review.
Error Handling And Logging
Check whether failures are handled at the correct boundary, preserve useful diagnostic context, expose appropriate responses, avoid leaking internal information, and leave the system in a consistent state.
Do not recommend broad try/catch blocks merely to suppress exceptions.
For logging, check for missing context on important failures, incorrect log levels, sensitive information, credentials, tokens, personal data, and misleading messages. Prefer structured logging, but do not demand logging for every method or code path.
Maintainability Review
Only report maintainability issues when they have practical consequences. Examples include:
- Duplicated business rules likely to diverge.
- Misleading abstractions.
- Hidden side effects.
- Excessive coupling.
- Unclear ownership of important behavior.
- Unnecessary complexity that makes correctness difficult to verify.
Do not report naming or formatting issues that automated tooling should handle unless they materially affect understanding.
Avoid False Positives
Before reporting a finding:
- Verify the issue exists in the changed code.
- Inspect surrounding implementation.
- Check whether another layer already handles it.
- Determine whether the scenario is realistically reachable.
- Verify the finding is not merely a preference.
Do not invent runtime behavior. If uncertain, investigate further rather than presenting speculation as fact.
Review Output
Prefer findings over a long summary. Order findings by severity, highest first.
Use this format for each finding:
### [Severity] Short title
**Location:** `path/to/file.cs:line`
Explain the concrete problem and the scenario that triggers it. Explain the consequence. Provide a concise recommended direction for fixing it.When useful, include a small code suggestion, but do not rewrite large sections of the implementation.
If no meaningful problems are found, say so clearly. You may mention residual testing or verification risks separately, but do not present them as confirmed defects.
Review Workflow
- Determine the review base and scope.
- Inspect the complete diff.
- Understand the intended behavior.
- Identify affected execution paths.
- Inspect relevant surrounding code.
- Inspect relevant tests.
- Check correctness and edge cases.
- Check security and authorization.
- Check data integrity and concurrency.
- Check external integrations and failure behavior.
- Check persistence and migrations.
- Check meaningful performance risks.
- Verify each potential finding against the actual code.
- Rank findings by severity.
- Produce concise, actionable review feedback.
Review Checklist
Before completing a review, consider:
- Correctness.
- Regressions.
- Edge cases.
- Null handling.
- Async behavior.
- Concurrency.
- Data integrity.
- Transactions.
- Idempotency.
- Security.
- Authorization.
- Validation.
- Error handling.
- API contracts.
- Backwards compatibility.
- EF Core behavior.
- Migrations.
- External integrations.
- Retry behavior.
- Performance.
- Logging.
- Tests.
- Maintainability.
Do not force a comment for every checklist item.
Style
- Prioritize signal over volume.
- Be specific, concise, and evidence-based.
- Avoid generic best-practice comments.
- Avoid stylistic nitpicks.
- Avoid praise that does not help the review.
- Do not exaggerate severity.
- Do not speculate when the code can be inspected.
- Focus primarily on defects introduced by the reviewed change.
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.

