rest-endpoint-conventions
Was er macht
Use when adding or modifying a REST endpoint. Enforces the project's auth check, validation, error shape and pagination conventions.
Die Installation öffnet diesen Eintrag in deiner AgentsRoom-Desktop-App. Ist die App noch nicht installiert, landest du auf der Download-Seite.
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
Claude Ads: das Claude-Code-Skill, das deine Werbekonten prüft
Claude Ads ist ein Open-Source-Skill für Claude Code: über 250 Prüfungen auf Google, Meta, LinkedIn, TikTok oder Amazon Ads, ein Score von 100 und ein priorisierter Aktionsplan, in rund zehn Minuten. Installation, Befehle, Grenzen und wie du es in AgentsRoom orchestrierst.
AGENTS.md: eine Kontextdatei für jeden Coding-Agenten (Codex, Antigravity, Claude)
AGENTS.md ist die portable Anweisungsdatei, die deine KI-Coding-Agenten lesen, bevor sie deinen Code anfassen. Was reingehört, wie sie sich von CLAUDE.md unterscheidet und wie du einen einzigen Kontext über Codex, Antigravity und Claude hinweg behältst.
AgentsRoom herunterladen
Führe alle deine KI-Agenten aus, in all deinen Projekten, aus einem einzigen Fenster.
Companion-App: Agenten auch unterwegs im Blick behalten
Nutzen Sie Claude, Codex, Antigravity CLI oder einen anderen KI-Anbieter.
Bugs und Wünsche direkt in dein öffentliches Backlog schicken.