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.
npx skills add aps08/fullstack-clean-architecture --skill api_designgit clone --depth 1 https://github.com/aps08/fullstack-clean-architectureWrote 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.
[](https://agentmods.dev/skills/aps08/fullstack-clean-architecture/api_design)<a href="https://agentmods.dev/skills/aps08/fullstack-clean-architecture/api_design"><img src="https://agentmods.dev/badge/skills/aps08/fullstack-clean-architecture/api_design/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.
<a href="https://agentmods.dev/skills/aps08/fullstack-clean-architecture/api_design"><img src="https://agentmods.dev/badge/skills/aps08/fullstack-clean-architecture/api_design.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00026 | $0.03004 |
| Opus 5.5 | $0.00010 | $0.01202 |
| Sonnet 5.5 | $0.00005 | $0.00601 |
| Haiku 4.5 | $0.00003 | $0.00300 |
Grade A, and why
api-design 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 18d 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.
How it starts
The opening of the file, as written. The whole thing — 315 lines — stays where its author put it; the contents beside it link to each section on GitHub.
REST API Design Guide
Overview
Design stable, well-documented REST APIs that are predictable and hard to misuse. Good APIs make the right operations easy and incorrect usage hard. This guide defines conventions for resource modeling, endpoint hierarchies, standard HTTP methods, payload schemas, error formats, and idempotency.
When to Use
- Designing new REST API endpoints or resources
- Defining request and response contracts between clients and the backend
- Establishing data schemas and models that inform the API shape
- Versioning, extending, or refactoring existing REST endpoints
1. Core Principles
Hyrum's Law
With a sufficient number of users of an API, all observable behaviors of your system will be depended on by somebody, regardless of what you promise in the contract.
Every public behavior — including undocumented quirks, error message phrasing, response headers, timing, and ordering — becomes a de facto contract once clients depend on it.
- Be intentional about what you expose: Every observable field or header is a commitment.
- Don't leak implementation details: Never expose internal database column names, raw SQL errors, or stack traces.
- Plan for deprecation at design time: Phased deprecation is required before removing fields or endpoints.
- Tests alone are not enough: Changes that pass unit tests can still break consumers relying on subtle undocumented behaviors.
The One-Version Rule
Avoid forcing consumers to navigate multiple diverging versions of the same API. Design endpoints to be backward-compatible and additive rather than repeatedly forking major versions.
Contract First
Define the endpoint specifications (HTTP method, URL path, request body, query parameters, status codes, and response schemas) before implementing internal logic.
POST /v2/todos → Create a todo (201 Created)
GET /v2/todos → List todos with pagination (200 OK)
GET /v2/todos/:id → Retrieve a todo (200 OK)
PATCH /v2/todos/:id → Partial update (200 OK)
DELETE /v2/todos/:id → Delete a todo (204 No Content)
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.
- 18d ago Changed · +30 lines · +5 tokens per session 785e95e27a09
- 1mo ago First seen · 285 lines · 21 tokens per session scan A bbeee393557d
api-design is a skill published in the GitHub repository aps08/fullstack-clean-architecture (2 stars, last pushed 18d ago), licensed Apache-2.0. It adds 26 tokens to every session and 3,004 once invoked, about $0.0001 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-08-31.
Other skills, from other repositories
backend-conventions
Backend convention reference (.NET 10 / C# 13). Auto-injected into backend-aware agents - not user-invocable.
add-background-job
Add a Hangfire background job (recurring or one-time).
manage-file-storage
Swap or remove the file storage provider (S3/MinIO).
new-entity
Create a backend entity with EF Core configuration and migration.
add-permission
Add a permission constant across backend and frontend.
add-rate-limit
Add a rate limit policy to an endpoint.