rest-endpoint-conventions
Qué hace
Use when adding or modifying a REST endpoint. Enforces the project's auth check, validation, error shape and pagination conventions.
La instalación abre esta ficha en tu app de escritorio AgentsRoom. Si aún no la tienes instalada, te llevaremos a la página de descarga.
SKILL.md
---
name: rest-endpoint-conventions
description: Use when adding or modifying a REST endpoint. Enforces the project's auth check, validation, error shape and pagination conventions.
---
# REST endpoint conventions
When adding or modifying a REST endpoint:
1. Auth check FIRST: 401 if unauthenticated, 403 if forbidden — never silently empty.
2. Validate the input with the project's existing validation lib (zod, joi, ...) — do not introduce a new one.
3. Errors return `{ error: "CODE", message: "<human-readable>" }`. Status codes follow REST semantics (400 / 404 / 409 / 422 / 500).
4. List endpoints paginate by default (cursor or offset, match what the project already does).
5. Side effects (emails, webhooks) fire AFTER the DB commit, never inside the transaction.
Tags
Para profundizar
Claude Ads: el skill de Claude Code que audita tus cuentas de anuncios
Claude Ads es un skill open source para Claude Code: más de 250 comprobaciones en Google, Meta, LinkedIn, TikTok o Amazon Ads, una nota sobre 100 y un plan de acción priorizado, en unos diez minutos. Instalación, comandos, límites y cómo orquestarlo en AgentsRoom.
AGENTS.md: un solo archivo de contexto para todos tus agentes de código (Codex, Antigravity, Claude)
AGENTS.md es el archivo de instrucciones portable que tus agentes de código leen antes de tocar tu código. Qué poner en él, en qué se diferencia de CLAUDE.md, y cómo mantener un único contexto entre Codex, Antigravity y Claude.
Descargar AgentsRoom
Ejecuta todos tus agentes de IA, en todos tus proyectos, desde una sola ventana.
App complementaria: supervisa tus agentes en movimiento
Usa Claude, Codex, Antigravity CLI u otro proveedor de IA.
Envía bugs y peticiones directamente a tu backlog público.