code-review

Classify codebase issues in .NET projects according to CodeSpirit standards.

56|14|Updated Dec 30, 2024
One-click install
npx skills add https://github.com/xin-lai/CodeSpirit --skill code-review-xin-lai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-review
Source: https://github.com/xin-lai/CodeSpirit/tree/main/.cursor/skills/code-review
Command: npx skills add https://github.com/xin-lai/CodeSpirit --skill code-review-xin-lai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provides a structured, standards-driven approach to reviewing CodeSpirit-based projects so teams can identify security, database, async, and architectural issues consistently before merge or release.

Core Features & Use Cases

  • Three-level priority triage: classifies findings as 🔴 severe (must-fix), 🟡 important, and 🟢 suggestions for best practices.
  • Comprehensive rule coverage: checks security, database/migration correctness, async programming patterns, reflection usage, dependency injection, package management, DTOs, controllers, services, EF Core queries, and i18n concerns.
  • Report generation: produces a structured review report using the provided template that includes file locations, severity, descriptions, and remediation suggestions.
  • Reviewer tooling guidance: recommends search patterns, linters, and rule documents to accelerate audits and ensure consistent fixes.

Quick Start

Run a CodeSpirit-style review on the changed files and produce a structured report summarizing all 🔴, 🟡, and 🟢 findings with file locations and recommended fixes.

Frequently Asked Questions about code-review

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I perform a .NET code review for EF Core migrations and security vulnerabilities?

A .NET code review for EF Core and security identifies database migration correctness and vulnerabilities, classifies findings by severity, and generates a structured remediation report.

What is the best way to check async programming patterns and dependency injection in .NET projects?

Checking async patterns and dependency injection involves scanning .NET codebases for reflection usage, DI configurations, and anti-patterns, then outputting categorized audit findings.

Does CodeSpirit code review support i18n and DTO validation checks?

CodeSpirit code review supports i18n and DTO validation by inspecting localization concerns and data transfer objects, classifying issues as severe, important, or suggestions.

How do I generate a structured pre-commit code review report for a .NET pull request?

To generate a structured pre-commit code review report for a .NET pull request, run an audit on changed files to summarize severe, important, and suggestion-level findings with remediation steps.

Can I audit controllers and services for CodeSpirit project standards during manual reviews?

You can audit controllers and services for CodeSpirit standards during manual reviews by applying three-level priority triage to architectural and structural issues, producing a categorized report.