Ghost Admin API Endpoint Builder
v1.0.0Create or extend Ghost Admin API endpoint code in the standard core structure. Use this skill for tasks that add a new endpoint file under `ghost/core/core/server/api/endpoints/`, modify an existing controller with new actions or validation, register HTTP route entries in `ghost/core/core/server/web/api/endpoints/admin/routes.js`, register the endpoint module, or add matching e2e tests in `ghost/core/test/e2e-api/admin/`. Typical inputs include endpoint requirements, controller files, route files, validation schemas, module registration files, and existing test patterns; expected outputs include controller objects, route wiring, input serializers or schemas, module registration updates, and integration tests. Supported admin resources include members, posts, labels, newsletters, tiers, redirects, webhooks, snippets, and similar Ghost admin resources. Reject tasks outside this admin REST endpoint workflow, including frontend routes, database migrations, CLI commands, GraphQL APIs, WebSockets, SSE, SOAP, cron jobs, webpack/build tasks, multipart file-upload flows, or other non-REST admin patterns.