No slash command · from archon-os
Designs RESTful APIs with consistent naming, versioning, pagination, error schemas, and OpenAPI documentation. Useful for endpoint design, versioning strategies, and response formats.
Ships in archon-os. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
AI-consumed reference. Optimized for Claude to read during execution. Human-readable explanation: see docs/architecture/HIERARCHICAL_PLANNING.md or docs/getting-started/ depending on topic.
Design consistent, RESTful APIs with versioning, documentation, and error handling.
| Method | Endpoint | Purpose | Response |
|---|---|---|---|
| GET | /users | List | 200 + array |
| GET | /users/:id | Get one | 200 / 404 |
| POST | /users | Create | 201 + created |
| PUT | /users/:id | Replace | 200 / 404 |
| PATCH | /users/:id | Update | 200 / 404 |
| DELETE | /users/:id | Delete | 204 / 404 |
Nested: GET /users/:userId/orders
/users, /orders)page_size)Versioning: URL path /api/v1/... (recommended).
Success: { "data": {...}, "meta": {...} }
List: Add meta: { page, pageSize, total, totalPages }
Error: { "error": { "code": "VALIDATION_ERROR", "message": "...", "fields": {...} } }
| Code | When |
|---|---|
| 200 | Successful GET/PUT/PATCH |
| 201 | Successful POST |
| 204 | Successful DELETE |
| 400/422 | Invalid input / validation |
| 401/403 | No auth / no permission |
| 404/409 | Not found / conflict |
| 429 | Rate limited |
| 500 | Unexpected error |
Offset: ?page=2&page_size=20 (simple, slow on large sets)
Cursor: ?cursor=abc&limit=20 (consistent, fast, no page jump)
GET /users?status=active&sort=created_at:desc&q=john&page=1&page_size=20
RESTful naming, consistent response format, proper status codes, pagination for lists, error codes, versioning, OpenAPI docs, rate limiting headers.
rules/agent/api-design-rules.md — enforcement checklist (short form of this skill)rules/core/simplicity-over-complexity.md — favor flat resources over nested hierarchies, reject premature GraphQL when REST fits, no speculative "future-proofing" fieldsrules/agent/structured-data-schema.md — consistent schema across endpointsrules/agent/error-handling-standard.md — uniform error envelopeWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub nguyenthienthanh/archon --plugin archon-os45 skills in this plugin
/agent-detectorCRITICAL: MUST run for EVERY message. Detects agent, complexity, AND model automatically. Without this, tasks route to wrong agents and use wrong models, degrading quality and wasting tokens./bugfix-quickFast bug fixes with root cause investigation + TDD. Enforces 'no fix without root cause' discipline and verification protocol. Without this skill, fixes are applied at symptoms instead of sources, and bugs return./chain-of-verificationDraft → generate verification questions → answer independently via tools → revise. Catches hallucinated facts in reports and reviews. MANDATORY for Phase 4 security/test claims. Paper: Dhuliawala et al. 2023.Other plugins' skills for the same job