neo-dotnet-webapi
Use this skill when building, debugging, refactoring, or reviewing controller-based ASP.NET Core Web APIs, including ControllerBase, ActionResult<T>, Problem…
Skill by Benknightdark
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/benknightdark-neo-dotnet-webapi
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: backend
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/neo-dotnet-webapi
What's inside
- Skill name
neo-dotnet-webapi- Description
- Use this skill when building, debugging, refactoring, or reviewing controller-based ASP.NET Core Web APIs, including ControllerBase, ActionResult<T>, Problem Details, API versioning, global exception handling, DTOs, and OpenAPI behavior.
- License
- MIT
- Compatibility
- Supports .NET 6.0 through 10.0 environments. Requires .NET SDK installed locally.
- Metadata
- version: 1.0.0 · category: Framework
- Instructions
- 72 lines in SKILL.md · view on GitHub
Files (4)
- SKILL.md
- anti-patterns.md · reference/
- coding-style.md · reference/
- patterns.md · reference/
SKILL.md (first lines)
# .NET Web API Expert Skill ## Trigger On - The user requests to create, debug, refactor, or review ASP.NET Core Web APIs. - The project contains a `Controllers` directory and inherits from `ControllerBase`. - The target framework is .NET 6.0 (LTS) and above. - There is a need for API code modernization (e.g., migrating from Middleware exception handling to .NET 8+ `IExceptionHandler`). ## Workflow 1. **Perceive (Architecture Awareness):** - Check `.csproj` to identify `TargetFramework`. - Analyze project structure to confirm whether it uses N-Tier architecture or Vertical Slice. - Identify existing cross-cutting concern handling methods (filters, middleware). 2. **Reason (Planning Phase):** - Evaluate whether to introduce the "Problem Details" standard. - Determine whether to use the .NET 8+ global exception handling mechanism. - Choose an appropriate versioning strategy based on project scale. 3. **Act (Execution Phase):** - Write high-quality controllers compliant with `[ApiController]` conventions. - Implement strongly-typed and immutable DTOs (prioritize `record`). - Integrate dependency injection, prioritizing Primary Constructors (C# 12+). 4. **Validate (Standard Validation):** - Validate whether Action return types comply with `ActionResult<T>` specifications. - Check NRT (Nullable Reference Types) safety. - Ensure asynchronous operations correctly pass down `CancellationToken`. ## Feature Roadmap (.NET 6 - 10) ### .NET 6 & 7 (Foundation) - **Controllers Architecture**: Traditional controller patterns and attribute routing. - **Problem Details**: Unified error response standards. - **Output Caching**: High-performance server-side caching. - **Nullable Reference Types**: Comprehensive null safety support. ### .NET 8 & 9 (Productivity) - **IExceptionHandler**: More elegant centralized exception handling. - **Antiforgery**: Built-in anti-forgery support for Web APIs. - **Keyed Services**: More flexible dependency injection options. - **HybridCache**: Multi-level caching optimization. ### .NET 10+ (Version-Specific Features) - **Extension Members for Controllers**: Extending base controller functionality. - **Enhanced Serialization**: JSON optimization for large payloads. ## Coding Standards - **Strong Typing**: Prioritize `ActionResult<T>` to improve Swagger support. - **NRT Compliance**: Strictly enforce Null safety to reduce runtime errors. - **Async Best Practices**: Always accept and pass `CancellationToken`. - **Naming**: Controller names must end with `Controller`, async methods must end with `Async`. ## Deliver - **Version-Optimized Web API Code**: Provide modernized controllers and configurations suitable for the target version. - **Architectural Insights**: Provide refactoring suggestions for N-Tier or Clean Architecture. - **Security Recommendations**: Provide security suggestions regarding Problem Details and exception handling. ## Validate - Ensure the code complies with C# 10+ modern syntax standards. - Validate endpoints correctly return error formats compliant with RFC 7807. - Confirm the code has no resource leaks in the tested environment (correct use of `using` and async). ## Documentation ### Official References - [ASP.NET Core Web API Overview](https://learn.microsoft.com/en-us/aspnet/core/web-api/) - [Handle errors in ASP.NET Core web APIs (Problem Details)](https://learn.microsoft.com/en-us/aspnet/core/web-api/handle-errors) - [Controller action return types in ASP.NET Core web API](https://learn.microsoft.com/en-us/aspnet/core/web-api/action-return-types) ### Internal References - [Web API Coding Style and Naming Conventions](reference/coding-style.md) - [Web API Anti-Patterns and Best Practices](reference/anti-patterns.md) - [Web API Modern Patterns Guide](reference/patterns.md)
From Benknightdark/neo-skills, MIT.
More from Benknightdark/neo-skills
- 0.589score
neo-opentelemetry
Benknightdark
Use this skill when explaining OpenTelemetry concepts, choosing telemetry signals, planning or reviewing Collector architectures and declarative…
SkillBFreshness: B★ 7Claude Code +9 - 0.589score
neo-harness
Benknightdark
Use this skill when you need to inspect a target project codebase and generate or improve a tailored, comprehensive AGENTS.md file (Harness Workflow…
SkillBFreshness: B★ 7Claude Code +9 - 0.586score
neo-harness-project
Benknightdark
當使用者要求盤點目前專案並建立、重建或補強完整 Harness 工程環境時使用此技能, 包含專案知識地圖、架構文件、持久化計畫、驗證入口、.neo_harness 集中式資產及依證據選用的工程治理資產; 不用於只建立單一 AGENTS.md 或一般功能開發。
SkillBFreshness: B★ 7Claude Code +9 - 0.584score
neo-dotnet-mvc
Benknightdark
Use this skill when building, debugging, refactoring, or reviewing ASP.NET Core MVC apps with Razor views, controllers, ViewModels, validation, Tag Helpers…
SkillBFreshness: B★ 7Claude Code +9 - 0.584score
neo-dotnet-ef-core
Benknightdark
Use this skill when the task involves Entity Framework Core models, DbContext, migrations, LINQ queries, change tracking, database providers, performance…
SkillBFreshness: B★ 7Claude Code +9 - 0.584score
neo-dotnet-minimal-apis
Benknightdark
Use this skill when building, debugging, refactoring, or reviewing ASP.NET Core Minimal APIs, lightweight endpoints, route groups, endpoint filters, typed…
SkillBFreshness: B★ 7Claude Code +9 - 0.584score
neo-javascript
Benknightdark
Use this skill when writing, reviewing, debugging, or modernizing JavaScript across browser, Node.js, and pure JS projects.
SkillBFreshness: B★ 7Claude Code +9 - 0.584score
neo-csharp
Benknightdark
Use this skill when writing, reviewing, debugging, or modernizing C# code in .NET projects.
SkillBFreshness: B★ 7Claude Code +9 - 0.578score
generate-skill
Benknightdark
引導使用者建立、更新、審查或最佳化高品質 Agent Skill 定義檔 (SKILL.md),包含官方規格、description 觸發語、references/scripts/assets/evals 結構,以及 5 種核心設計模式。
SkillBFreshness: B★ 7Claude Code +9 - 0.564score
neo-clean-architecture
Benknightdark
Use this skill when the user wants to design, implement, review, or refactor software systems conforming to Clean Architecture principles.
SkillBFreshness: B★ 7Claude Code +9 - 0.564score
neo-iso-27701
Benknightdark
Use this skill when the user needs to establish, review, or improve an ISO/IEC 27701 PIMS, inventory PII processing, analyze controller and processor…
SkillBFreshness: B★ 7Claude Code +9 - 0.564score
neo-iso-27001
Benknightdark
Use this skill when the user needs to establish, review, or improve an ISO/IEC 27001 ISMS, perform information security risk discovery, define scope, create…
SkillBFreshness: B★ 7Claude Code +9
Signals
- Stars
- 7
- Forks
- 1
- Open issues
- 0
- Last commit (this folder)
- May 31, 2026 (5 months ago)
- Last release
- Sep 6, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- Version
- 1.0.0
- License
- MIT
- Repository
- github.com/Benknightdark/neo-skills
- Website
- neo-blog-iota.vercel.app/
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from Benknightdark
- 0.589score
neo-harness
Benknightdark
Use this skill when you need to inspect a target project codebase and generate or improve a tailored, comprehensive AGENTS.md file (Harness Workflow…
SkillBFreshness: B★ 7Claude Code +9 - 0.589score
neo-opentelemetry
Benknightdark
Use this skill when explaining OpenTelemetry concepts, choosing telemetry signals, planning or reviewing Collector architectures and declarative…
SkillBFreshness: B★ 7Claude Code +9 - 0.586score
neo-harness-project
Benknightdark
當使用者要求盤點目前專案並建立、重建或補強完整 Harness 工程環境時使用此技能, 包含專案知識地圖、架構文件、持久化計畫、驗證入口、.neo_harness 集中式資產及依證據選用的工程治理資產; 不用於只建立單一 AGENTS.md 或一般功能開發。
SkillBFreshness: B★ 7Claude Code +9 - 0.584score
neo-dotnet-ef-core
Benknightdark
Use this skill when the task involves Entity Framework Core models, DbContext, migrations, LINQ queries, change tracking, database providers, performance…
SkillBFreshness: B★ 7Claude Code +9 - 0.584score
neo-csharp
Benknightdark
Use this skill when writing, reviewing, debugging, or modernizing C# code in .NET projects.
SkillBFreshness: B★ 7Claude Code +9 - 0.584score
neo-dotnet-minimal-apis
Benknightdark
Use this skill when building, debugging, refactoring, or reviewing ASP.NET Core Minimal APIs, lightweight endpoints, route groups, endpoint filters, typed…
SkillBFreshness: B★ 7Claude Code +9
Cite this page
neo-dotnet-webapi skill. Agent Mart. https://agentmart.dev/skills/benknightdark-neo-dotnet-webapi (last updated 2026-10-24)