aspnet-core

Guide ASP.NET Core development with Clean Architecture and dependency injection.

7|1|Updated Nov 3, 2025
One-click install
npx skills add https://github.com/ar4mirez/samuel --skill aspnet-core-ar4mirez
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: aspnet-core
Source: https://github.com/ar4mirez/samuel/tree/main/template/.claude/skills/aspnet-core
Command: npx skills add https://github.com/ar4mirez/samuel --skill aspnet-core-ar4mirez

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a comprehensive set of best practices, architectural patterns, and code guardrails for building robust, scalable, and maintainable ASP.NET Core applications.

Core Features & Use Cases

  • Architectural Guidance: Enforces Clean Architecture principles, DI best practices, and project structure.
  • Code Standards: Defines coding style, error handling, and security guidelines.
  • Framework Features: Demonstrates patterns for Minimal APIs, MVC Controllers, EF Core, Middleware, and Validation.
  • Use Case: When starting a new ASP.NET Core project, use this Skill to ensure the foundational structure and coding standards are immediately established, leading to higher quality code from the outset.

Quick Start

Use the aspnet-core skill to generate a new ASP.NET Core project structure following Clean Architecture principles.

Frequently Asked Questions about aspnet-core

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

FAQPage Schema
How do I structure an ASP.NET Core project using Clean Architecture?

ASP.NET Core Clean Architecture project structure separates concerns into distinct layers for domain, application, and infrastructure. This Skill provides project structure recommendations and code guardrails to enforce dependency inversion and maintainable boundaries from the outset.

What are the best practices for dependency injection in ASP.NET Core?

Dependency injection best practices in ASP.NET Core involve registering services with appropriate lifetimes and resolving dependencies through constructor injection. This Skill defines DI guidelines and architectural patterns to ensure robust, scalable service configuration.

How do I implement Minimal APIs in ASP.NET Core?

Minimal APIs in ASP.NET Core are implemented using lightweight endpoint routing without MVC controller overhead. This Skill demonstrates Minimal API patterns, middleware integration, and validation techniques to build efficient HTTP APIs.

How should I handle errors and validation in ASP.NET Core?

Error handling and validation in ASP.NET Core require centralized middleware for exceptions and consistent error response models. This Skill provides coding standards and robust error handling patterns to ensure predictable API failure behavior.

How do I integrate EF Core in an ASP.NET Core Clean Architecture project?

EF Core integration in Clean Architecture confines database access to the infrastructure layer using dependency injection and repository patterns. This Skill covers EF Core setup, middleware implementation, and project structure to maintain separation of concerns.

Can I use this ASP.NET Core guide for an existing codebase or only new projects?

This ASP.NET Core guide suits new projects best for establishing foundational structure and coding standards immediately. Existing codebases can adopt the architectural patterns, DI best practices, and error handling guidelines incrementally to improve code quality.