Skip to content
Back to skills

Api Implementation

ASecurity

Implement an HTTP endpoint from an agreed contract, including authorization, pagination, concurrency, and safe retry behavior.

  • 3 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 13, 2026
ai-agentsrustgitapi

Works with

  • cursor
  • api

Security analysis

A100/100

Scanned October 13, 2026

npx -y skills add sujith011/agentic-pro-skills --skill api-implementation --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Api Implementation?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Api Implementation
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/sujith011-api-implementation/badge)](https://www.skillsdirectory.com/skills/sujith011-api-implementation)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: api-implementation
description: "Implement an HTTP endpoint from an agreed contract, including authorization, pagination, concurrency, and safe retry behavior."
---

# API Implementation

## Process
1. Read the existing routing, validation, authentication, error, and persistence conventions. Keep the agreed contract and framework versions visible.
2. Validate at the request boundary and derive identity from trusted authentication. Query resources within the caller's authorized scope; reject unexpected writable fields.
3. Bound list size and define stable ordering. For cursor pagination, include a unique tie breaker and document behavior during concurrent changes.
4. For mutations, define transaction boundaries, conditional updates, and duplicate-request handling. An idempotency record must bind the key to identity, operation, and payload; concurrent requests need atomic arbitration.
5. Map expected failures to the existing error format without returning internal details. Test allowed access, denial, malformed input, conflict, and retry after ambiguous success.

## Example
A retry of order creation returns the original result for the same caller/key/body. Reusing that key with a different body produces a conflict; two simultaneous requests cannot create two orders.

## Stop conditions
A valid token does not establish resource ownership. Do not invent a new error protocol or blanket retry mutations without reviewing the contract.

## Evidence
- Contract and relevant version references.
- Authorization and concurrency checks.
- Observed responses and explicitly unverified integrations.

## Reference
Workflow independently written after reviewing [api-design-principles](https://github.com/sickn33/agentic-awesome-skills/blob/cb30121a2dfd007531bd2fbefb56f68de927da6a/skills/api-design-principles/SKILL.md).

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.