# http-rest-fundamentals-wasp-drone

http-rest-fundamentals-wasp-drone audits API routes against HTTP RFC standards and REST principles. Catches status code mismatches, caching issues, and broken CORS preflights.

- subagent · `type=agent` · Claude Code, Codex, Cursor · ★ 96 repo stars
- Author: Legion Code Inc.
- License: AGPL-3.0-or-later · policy=link-only · description only; the file stays with the author
- Source: https://github.com/legioncodeinc/vibe-coding-tools/tree/HEAD/plugins/backend-and-desktop-tools/agents/http-rest-fundamentals-wasp-drone.md
- Updated: 2026-10-18
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/agents/http-rest-fundamentals-wasp-drone

## What it does

This subagent reviews API routes, OpenAPI specs, and network traces against HTTP protocol specifications. It examines method safety and idempotency, flagging GET handlers with side effects or POST endpoints that should be PUT. It also validates response codes, rejecting 200 statuses paired with error payloads.

Audits cover caching headers and CORS preflight flows. The agent tags combinations of wildcard origins with credentials as critical vulnerabilities. Every finding includes citations to the relevant RFC section so developers can confirm the baseline rule.

The subagent explicitly ignores TLS ciphers, OAuth tokens, and session cookies. Those tasks belong to separate infrastructure and authentication drones.

## Install

### Claude Code (native platform)

1. **Plugin marketplace**
In the agent chat (not a shell):
```text
/plugin marketplace add legioncodeinc/vibe-coding-tools
```
In the agent chat (not a shell):
```text
/plugin install backend-and-desktop-tools@wasp-nest
```

2. **Manually: put the files in place**
- File: `.claude/agents/http-rest-fundamentals-wasp-drone.md` — For all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention

### Codex

**Manually: put the files in place**
- File: `.codex/agents/http-rest-fundamentals-wasp-drone.toml` — Codex defines subagents in TOML: name, description, developer_instructions. Move the Markdown text into developer_instructions by hand. For all projects use ~/.codex/agents/

### Cursor

**Manually: put the files in place**
- File: `.cursor/agents/http-rest-fundamentals-wasp-drone.md` — Cursor also reads .claude/agents/

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/legioncodeinc/vibe-coding-tools/tree/HEAD/plugins/backend-and-desktop-tools/agents/http-rest-fundamentals-wasp-drone.md

## When to use it
- verify HTTP method idempotency across route handlers
- diagnose failing CORS preflight requests and origin headers
- eliminate dishonest 200 responses containing error payloads
- inspect ETag headers and concurrency guards using If-Match

## Example prompts
- Audit this OpenAPI document for RFC status code compliance
- Why is CORS preflight failing on this POST endpoint?
- Review route handlers to confirm PUT and PATCH semantics

## Similar
- [rest-api-design](https://affpapa.org/en/nevibecode/skills/rest-api-design.md) — skill · 2100 installs
- [rest-expert](https://affpapa.org/en/nevibecode/agents/rest-expert.md) — subagent · ★ 1029 repo stars
- [flutter-use-http-package](https://affpapa.org/en/nevibecode/skills/flutter-use-http-package.md) — skill · 39100 installs
- [extension-http-outcalls](https://affpapa.org/en/nevibecode/skills/extension-http-outcalls.md) — skill · 32200 installs
- [302-frameworks-spring-boot-rest](https://affpapa.org/en/nevibecode/skills/302-frameworks-spring-boot-rest.md) — skill · 420 installs
- [502-frameworks-micronaut-rest](https://affpapa.org/en/nevibecode/skills/502-frameworks-micronaut-rest.md) — skill · 322 installs

From the same set: [legioncodeinc/vibe-coding-tools](https://affpapa.org/en/nevibecode/by/legioncodeinc/vibe-coding-tools.md) — 172 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
