dotnet

Automates ASP.NET Core code reviews enforcing security and architectural best practices.

Updated Jan 29, 2026
One-click install
npx skills add https://github.com/yldgio/codereview-skills --skill dotnet-yldgio
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dotnet
Source: https://github.com/yldgio/codereview-skills/tree/main/skills/dotnet
Command: npx skills add https://github.com/yldgio/codereview-skills --skill dotnet-yldgio

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill guides code reviewers in evaluating ASP.NET Core projects, ensuring security, architecture, and maintainability during reviews.

Core Features & Use Cases

  • Security checks: Validate anti-forgery, auth, input validation, and safe handling of secrets.
  • Architecture & DI patterns: Recommend proper dependency injection lifetimes, middleware ordering, and clean controller/service delegation.
  • Performance & async: Check for correct use of async/await, AsNoTracking, and efficient data access patterns.
  • Use Case: During a pull request for an ASP.NET Core API, apply rules to verify that controllers use ApiController, proper error handling, and versioning.

Quick Start

Activate the dotnet skill during a code review by prompting for ASP.NET Core best-practice checks on the target codebase.

Frequently Asked Questions about dotnet

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

FAQPage Schema
How do I automate ASP.NET Core code reviews for security and architecture?

Automate ASP.NET Core code reviews by applying rules that validate anti-forgery, authentication, input validation, and safe secret handling. This enforces proper security best practices and ensures architecture compliance during pull request workflows.

What are the best practices for dependency injection lifetimes and middleware ordering in ASP.NET Core?

Best practices for dependency injection lifetimes and middleware ordering in ASP.NET Core involve using proper DI lifetimes, configuring middleware sequence correctly, and delegating logic cleanly across controllers and services to maintain architecture.

How do I check async/await usage and EF Core data access patterns during a code review?

Check async/await usage and EF Core data access patterns by verifying correct asynchronous operations, applying AsNoTracking where appropriate, and enforcing efficient data access patterns to optimize application performance.

Can I enforce API design rules like ApiController attributes and versioning in ASP.NET Core reviews?

Yes, you can enforce API design rules in ASP.NET Core reviews by verifying that controllers use ApiController attributes, implement proper error handling, and maintain consistent versioning and documentation across the API project.

Why should I validate input handling and proper logging in ASP.NET Core projects?

Validate input handling and proper logging in ASP.NET Core projects to satisfy security requirements, prevent data corruption, and ensure that application behavior is traceable during execution for reliable maintenance.