Skip to content
Agent Orchestration
Skill

/api

Build the spec's operations as the Worker's API, with validation and tests.

BOOST
From plugin
mulmoterminal
24574 skills
Install
$ npx -y skills add receptron/mulmoterminal --skill api --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/api

Context preview

The summary Claude sees to decide when to auto-load this skill.

Build the spec's operations as the Worker's API, with validation and tests.

SKILL.md

api.SKILL.md
name: blueprint-cloudflare-api
description: "Build the spec's operations as the Worker's API, with validation and tests."

API

1. One route per operation in the spec's API table, in the Worker's `/api/*` handler. 2. At the entry, before routing and before sign-in:

  • a POST / PUT / PATCH / DELETE whose `Origin` (or, without one, `Referer`) is not this Worker's own origin is

refused with **403**;

  • a JSON body is read **once**, and a malformed one is refused with **400** for every path. A Worker reads bodies

per route by default, which leaves a malformed body to whatever the route does with it. 3. Validate every body and parameter (zod is fine) and answer 400 with a message when it is wrong; 404 for a missing row. Every error reaches one handler that answers JSON without a stack trace. 4. `test/api.test.ts`: every route in both directions — the valid request succeeds with the right body, an invalid one is refused with 400 — through `SELF.fetch`.

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.
Read more
Ships withmulmoterminal

Run multiple coding-agent sessions in parallel — and see which one needs you. A browser terminal for parallel AI coding agents: several sessions side by side, each in its own cell, with the one that needs you marked in colour.

Get the whole plugin
Stats
255
Stars
32
Forks
Active
Maintenance
TypeScript
Language
MIT
License
4h ago
Last commit
4mo ago
Created
18h ago
Added

Repo: receptron/mulmoterminal

Other skills on mulmoterminal.