neo-dotnet-webapi

neo-dotnet-webapi is a skill for Claude Code, Codex from Benknightdark/neo-skills. It costs 54 tokens per session (939 once invoked), scanned A, original, MIT.

A guide for building and reviewing controller-based ASP.NET Core Web APIs, where controller classes handle HTTP requests.

In plain words
What is it for?
Use it when creating, debugging, refactoring, or reviewing .NET 6-or-later APIs that use ControllerBase and a Controllers directory.
Why use it?
It helps structure controllers, errors, validation, API versions, data objects, and OpenAPI behavior consistently.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when creating, debugging, refactoring, or reviewing .NET 6-or-later APIs that use ControllerBase and a Controllers directory.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/benknightdark/neo-skills/neo-dotnet-webapi
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Benknightdark/neo-skills --skill neo-dotnet-webapi
Clone the repo
git clone --depth 1 https://github.com/Benknightdark/neo-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for neo-dotnet-webapi

README.md
[![agentmods](https://agentmods.dev/badge/skills/benknightdark/neo-skills/neo-dotnet-webapi/github.svg)](https://agentmods.dev/skills/benknightdark/neo-skills/neo-dotnet-webapi)
Your own site
<a href="https://agentmods.dev/skills/benknightdark/neo-skills/neo-dotnet-webapi"><img src="https://agentmods.dev/badge/skills/benknightdark/neo-skills/neo-dotnet-webapi/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for neo-dotnet-webapi

Your own site · 80×15
<a href="https://agentmods.dev/skills/benknightdark/neo-skills/neo-dotnet-webapi"><img src="https://agentmods.dev/badge/skills/benknightdark/neo-skills/neo-dotnet-webapi.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 939 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00054 $0.00939
Opus 5 $0.00027 $0.00469
Sonnet 5 $0.00011 $0.00188
Haiku 4.5 $0.00005 $0.00094

Measured 10d ago against content hash 6c6981a1233d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

neo-dotnet-webapi scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/neo-dotnet-webapi/SKILL.md · 83 lines

How it starts

The opening of the file, as written. The whole thing — 83 lines — stays where its author put it; the contents beside it link to each section on GitHub.

.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.

Read the full file on GitHub · 83 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 83 lines · 54 tokens per session scan A 6c6981a1233d

Subscribe to this mod's changes

neo-dotnet-webapi is a skill published in the GitHub repository Benknightdark/neo-skills (7 stars, last pushed 4d ago), licensed MIT. It adds 54 tokens to every session and 939 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

csharp-dotnet

Use when building on .NET 8+ with C# 12. Covers nullable reference types, records, async/await correctness, minimal APIs, dependency injection, and EF Core query performance.

nimadorostkar/Claude-Skills-collection · 44 tokens

csharp-developer

Use when building C# applications with .NET 8+, ASP.NET Core APIs, or Blazor web apps. Builds REST APIs using minimal or controller-based routing, configures database access with Entity Framework Core, implements async patterns and cancellation, structures applications with CQRS via MediatR, and scaffolds Blazor…

Jeffallan/claude-skills · 102 tokens

dotnet-core-expert

Use when building .NET 8 applications with minimal APIs, clean architecture, or cloud-native microservices. Invoke for Entity Framework Core, CQRS with MediatR, JWT authentication, AOT compilation.

Jeffallan/claude-skills · 47 tokens

worker-services

Build long-running .NET background services with BackgroundService, Generic Host, graceful shutdown, configuration, logging, and deployment patterns suited to workers and daemons. USE FOR: background services; scheduled workers; hosted services; worker extraction; graceful shutdown, health checks, and service hosting…

managedcode/dotnet-skills · 109 tokens

aspnet-core

Build, debug, modernize, or review ASP.NET Core applications with correct hosting, middleware, security, configuration, logging, and deployment patterns on current .NET. USE FOR: working on ASP.NET Core apps, services, or middleware; changing auth, routing, configuration, hosting, or deployment behavior; deciding…

managedcode/dotnet-skills · 122 tokens

minimal-apis

Design and implement Minimal APIs in ASP.NET Core using handler-first endpoints, route groups, filters, and lightweight composition suited to modern .NET services. USE FOR: building new HTTP APIs in ASP.NET Core; creating lightweight microservices; choosing between Minimal APIs and controllers. DO NOT USE FOR…

managedcode/dotnet-skills · 105 tokens