AD

add-admin-api-endpoint

Helps developers add custom endpoints to the Ghost Admin API.

Install

mkdir -p .claude/skills/add-admin-api-endpoint && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/2599" && unzip -o skill.zip -d .claude/skills/add-admin-api-endpoint && rm skill.zip

Installs to .claude/skills/add-admin-api-endpoint

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Add a new endpoint or endpoints to Ghost's Admin API at `ghost/api/admin/**`.
77 charsno explicit “when” trigger
Intermediate

Key capabilities

  • Create new Admin API endpoint files
  • Define controller objects using JSDoc
  • Register routes in admin/routes.js
  • Add e2e-api tests for new endpoints

How it works

The agent guides the creation of endpoint files, controller definitions, route registration, and the addition of required end-to-end tests.

Inputs & outputs

You give it
Endpoint definition requirements
You get back
Admin API endpoint and route configuration

When to use add-admin-api-endpoint

  • Adding custom admin features
  • Extending Ghost API functionality
  • Managing API routing

About this skill

Create Admin API Endpoint

Instructions

  1. If creating an endpoint for an entirely new resource, create a new endpoint file in ghost/core/core/server/api/endpoints/. Otherwise, locate the existing endpoint file in the same directory.
  2. The endpoint file should create a controller object using the JSDoc type from (@tryghost/api-framework).Controller, including at minimum a docName and a single endpoint definition, i.e. browse.
  3. Add routes for each endpoint to ghost/core/core/server/web/api/endpoints/admin/routes.js.
  4. Add basic e2e-api tests for the endpoint in ghost/core/test/e2e-api/admin to ensure the new endpoints function as expected.
  5. Run the tests and iterate until they pass: cd ghost/core && pnpm test:single test/e2e-api/admin/{test-file-name}.

Reference

For a detailed reference on Ghost's API framework and how to create API controllers, see reference.md.

When not to use it

  • Modifying existing core logic outside API endpoints

Prerequisites

Ghost codebase access

Limitations

  • Specific to Ghost Admin API structure
  • Requires manual test execution

How it compares

It provides a structured, repeatable workflow for extending the Ghost Admin API that ensures all necessary components and tests are included.

Compared to similar skills

add-admin-api-endpoint side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
add-admin-api-endpoint (this skill)24moNo flagsIntermediate
telegram-bot-builder1066moReviewIntermediate
telegram-mini-app626moReviewAdvanced
stripe-integration482moNo flagsAdvanced

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

telegram-bot-builder

davila7

Expert in building Telegram bots that solve real problems - from simple automation to complex AI-powered bots. Covers bot architecture, the Telegram Bot API, user experience, monetization strategies, and scaling bots to thousands of users. Use when: telegram bot, bot api, telegram automation, chat bot telegram, tg bot.

106130

telegram-mini-app

davila7

Expert in building Telegram Mini Apps (TWA) - web apps that run inside Telegram with native-like experience. Covers the TON ecosystem, Telegram Web App API, payments, user authentication, and building viral mini apps that monetize. Use when: telegram mini app, TWA, telegram web app, TON app, mini app.

62163

stripe-integration

wshobson

Implement Stripe payment processing for robust, PCI-compliant payment flows including checkout, subscriptions, and webhooks. Use when integrating Stripe payments, building subscription systems, or implementing secure checkout flows.

48165

nodejs-backend-patterns

wshobson

Build production-ready Node.js backend services with Express/Fastify, implementing middleware patterns, error handling, authentication, database integration, and API design best practices. Use when creating Node.js servers, REST APIs, GraphQL backends, or microservices architectures.

1246

hubspot-integration

davila7

Expert patterns for HubSpot CRM integration including OAuth authentication, CRM objects, associations, batch operations, webhooks, and custom objects. Covers Node.js and Python SDKs. Use when: hubspot, hubspot api, hubspot crm, hubspot integration, contacts api.

540

backend-architect

sickn33

Expert backend architect specializing in scalable API design, microservices architecture, and distributed systems. Masters REST/GraphQL/gRPC APIs, event-driven architectures, service mesh patterns, and modern backend frameworks. Handles service boundary definition, inter-service communication, resilience patterns, and observability. Use PROACTIVELY when creating new backend services or APIs.

1014

Search skills

Search the agent skills registry