rest-endpoint-conventions
Cosa fa
Use when adding or modifying a REST endpoint. Enforces the project's auth check, validation, error shape and pagination conventions.
L'installazione apre questa scheda nella tua app desktop AgentsRoom. Se l'app non è ancora installata, verrai portato alla pagina di download.
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.
Tag
Approfondimenti
Claude Ads: lo skill di Claude Code che audita i tuoi account pubblicitari
Claude Ads è uno skill open source per Claude Code: oltre 250 verifiche su Google, Meta, LinkedIn, TikTok o Amazon Ads, un punteggio su 100 e un piano d'azione prioritizzato, in una decina di minuti. Installazione, comandi, limiti e come orchestrarlo in AgentsRoom.
AGENTS.md: un solo file di contesto per ogni agente di coding (Codex, Antigravity, Claude)
AGENTS.md è il file di istruzioni portabile che i tuoi agenti di coding leggono prima di toccare il codice. Cosa metterci dentro, in cosa si differenzia da CLAUDE.md e come tenere un unico contesto tra Codex, Antigravity e Claude.
Scarica AgentsRoom
Esegui tutti i tuoi agenti AI, su tutti i tuoi progetti, da una sola finestra.
App companion: monitora i tuoi agenti in movimento
Usa Claude, Codex, Antigravity CLI o un altro provider IA.
Invia bug e richieste direttamente nel tuo backlog pubblico.