Skip to content
Back to skills

Api

ASecurity

Expose the spec's operations as a validated JSON API under /api, with tests.

  • 234 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 28, 2026
ai-agentsrustgitapidatabase

Works with

  • api

Security analysis

A100/100

Scanned September 28, 2026

npx -y skills add receptron/mulmoterminal --skill api --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Api?

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

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

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: blueprint-local-api
description: "Expose the spec's operations as a validated JSON API under /api, with tests."
---

# API

1. One route per operation in the spec's API table. Validate every body and parameter at the entry (zod is fine)
   and answer 400 with a message when it is wrong; 404 for a missing row.
2. State-changing requests (POST/PUT/PATCH/DELETE) are refused unless they come from the same origin.
3. `test/api.test.ts`: every route in both directions — the valid request succeeds with the right body, an
   invalid one is refused with 400. Build the app on a temporary database.

Done when the check passes: `yarn build` and `yarn test` succeed and `test/` has the api tests.

## Always

- Read `.blueprint/spec.md` first. It is the agreed specification; do not widen it.
- When you need a decision, ask it through the blueprint question tool and stop. Do not guess.
- Do not run `git init`: a new repository loses the folder's trust and the next unattended step stops at Claude
  Code's trust prompt. The user adds git themselves after the build if they want it.
- Say you are done by stopping; the executor runs the check. Do not claim success yourself.

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.