endpoint-conventions

endpoint-conventions is a skill for Claude Code from makigjuro/cloudstack-ai-plugins. It costs 39 tokens per session (465 once invoked), scanned A, original, MIT.

A set of rules for defining web API endpoints with ASP.NET Minimal APIs, a lightweight way to declare HTTP routes in .NET. It covers route grouping, API documentation details, dependency injection, and converting application results into HTTP responses.

In plain words
What is it for?
Use it when creating endpoint classes for resources such as orders. It helps map routes, attach documentation, obtain services and request data, and turn validation or authorization errors into HTTP responses.
Why use it?
It gives endpoints a consistent structure and makes their inputs, outputs, and error responses easier to understand. Standard status codes and OpenAPI metadata also help tools describe and test the API.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Part of the dotnet-architect plugin — 14 skills, 1 agent shipped together

Good fit Use it when creating endpoint classes for resources such as orders. It helps map routes, attach documentation, obtain services and request data, and turn validation or authorization errors into HTTP responses.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/makigjuro/cloudstack-ai-plugins/endpoint-conventions
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 makigjuro/cloudstack-ai-plugins --skill endpoint-conventions
Clone the repo
git clone --depth 1 https://github.com/makigjuro/cloudstack-ai-plugins

Made for: Claude Code.

Or install dotnet-architect, the plugin that ships this one along with the rest of its 14 skills, 1 agent.

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 endpoint-conventions

README.md
[![agentmods](https://agentmods.dev/badge/skills/makigjuro/cloudstack-ai-plugins/endpoint-conventions/github.svg)](https://agentmods.dev/skills/makigjuro/cloudstack-ai-plugins/endpoint-conventions)
Your own site
<a href="https://agentmods.dev/skills/makigjuro/cloudstack-ai-plugins/endpoint-conventions"><img src="https://agentmods.dev/badge/skills/makigjuro/cloudstack-ai-plugins/endpoint-conventions/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 endpoint-conventions

Your own site · 80×15
<a href="https://agentmods.dev/skills/makigjuro/cloudstack-ai-plugins/endpoint-conventions"><img src="https://agentmods.dev/badge/skills/makigjuro/cloudstack-ai-plugins/endpoint-conventions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 465 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.00039 $0.00465
Opus 5.5 $0.00016 $0.00186
Sonnet 5.5 $0.00008 $0.00093
Haiku 4.5 $0.00004 $0.00047

Measured 1mo ago against content hash 247a6208bc0d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

endpoint-conventions 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 1mo 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.

plugins/dotnet-architect/skills/endpoint-conventions/SKILL.md · 57 lines

What it actually says

Endpoint Rules (Minimal API)

Structure

  • Define as a static class with a MapEndpoints(this WebApplication app) extension method
  • Group routes: var group = app.MapGroup("/api/orders").WithTags("Orders").WithOpenApi();
  • Handler methods are private static async Task<IResult> methods in the same class

OpenAPI Metadata

  • Every endpoint has .WithName(), .WithSummary(), .WithDescription()
  • Use .Produces<T>(StatusCodes.Status200OK) and .ProducesProblem(StatusCodes.Status404NotFound) for response types
  • Group with .WithTags("DomainName")

DI in Handlers

  • Inject services via parameters with [FromServices] attribute
  • Inject route/query params with [FromRoute], [FromQuery], [FromBody]

Result-to-HTTP Conversion

  • Convert Result<T> to HTTP using .ToHttpResult() extension method
  • This maps ErrorType to status codes automatically:
    • Validation -> 400, NotFound -> 404, Conflict -> 409, Unauthorized -> 401, Forbidden -> 403

Pattern

public static class OrderEndpoints
{
    public static void MapEndpoints(this WebApplication app)
    {
        var group = app.MapGroup("/api/orders")
            .WithTags("Orders")
            .WithOpenApi();

        group.MapPost("/", CreateOrder)
            .WithName("CreateOrder")
            .WithSummary("Create a new order");
    }

    private static async Task<IResult> CreateOrder(
        [FromBody] CreateOrderRequest request,
        [FromServices] CreateOrderHandler handler,
        CancellationToken cancellationToken)
    {
        var command = new CreateOrderCommand(/* map from request */);
        var result = await handler.Handle(command, cancellationToken);
        return result.ToHttpResult();
    }
}
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. 1mo ago First seen · 57 lines · 39 tokens per session scan A 247a6208bc0d

Subscribe to this mod's changes

endpoint-conventions is a skill published in the GitHub repository makigjuro/cloudstack-ai-plugins (1 stars, last pushed 1mo ago), licensed MIT. It adds 39 tokens to every session and 465 once invoked, about $0.0002 per session on Opus 5.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-10-21.

Related

endpoint-conventions compared with skills from other repositories

endpoint-conventions next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
endpoint-conventionsmakigjuro/cloudstack-ai-pluginsSkill11mo agoMITA39Claude Code
gateway-apinitinjain999/platform-skillsSkill743d agoApache-2.0A168Claude Code
python-servicesiliaal/whetstoneSkill37todayMITA48Claude Code, Codex
nodejs-backendiliaal/whetstoneSkill37todayMITA50Claude Code, Codex
documentnitinjain999/platform-skillsSkill743d agoApache-2.0A31Claude Code
mcpnitinjain999/platform-skillsSkill743d agoApache-2.0B33Claude Code
ia-php-laraveliliaal/whetstoneSkill37todayMITA67Claude Code