← 返回 Skills 市场
kukudadasd

Ghost Admin API Endpoint Builder

作者 kukudadasd · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
37
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install ghost-admin-api-endpoint-builder
功能描述
Create 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/s...
使用说明 (SKILL.md)

Admin API Endpoint Testing Guide

This guide provides a comprehensive approach for developers to test newly created endpoints in Ghost's Admin API. Follow the steps below to ensure your endpoints are functioning correctly.

Instructions

  1. Creating a New Endpoint: If you are creating an endpoint for a new resource, start by creating a new endpoint file in ghost/core/core/server/api/endpoints/. If the endpoint already exists, locate the corresponding file in the same directory.
  2. Controller Object: In the endpoint file, create a controller object using the JSDoc type from @tryghost/api-framework.Controller. Ensure it includes at least a docName and a single endpoint definition, such as browse.
  3. Adding Routes: Add the necessary routes for each endpoint to ghost/core/core/server/web/api/endpoints/admin/routes.js to make them accessible through the API.
  4. Testing the Endpoint: Implement basic end-to-end API tests for the new endpoint in ghost/core/test/e2e-api/admin. This will help verify that the endpoint functions as expected.
  5. Running Tests: Execute the tests and iterate on your implementation until all tests pass. Use the command: cd ghost/core && yarn test:single test/e2e-api/admin/{test-file-name} to run your specific test file.

Reference

For further details on Ghost's API framework and how to create API controllers, refer to the official documentation.

安全使用建议
Install only if you work on Ghost Admin API endpoint code. Expect it to guide source and test edits under the Ghost repository, but it does not itself install code, run background tasks, or request credentials.
能力评估
Purpose & Capability
The stated purpose matches the artifact content: it guides creation of Ghost Admin REST API endpoint files, route registration, controller structure, and matching e2e tests.
Instruction Scope
Instructions are bounded to specific Ghost backend API paths and explicitly reject unrelated workflows such as frontend routes, migrations, CLI commands, GraphQL, cron jobs, and file-upload flows.
Install Mechanism
The package contains only a single markdown SKILL.md file, with no executable scripts, declared dependencies, install hooks, or bundled code.
Credentials
When used, it can lead an agent to edit Ghost core source and tests, but that is expected for its developer-assistance purpose and is scoped to user-directed endpoint work.
Persistence & Privilege
No persistence, background workers, credential access, session/profile use, network calls, or privilege escalation behavior appears in the artifact.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install ghost-admin-api-endpoint-builder
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /ghost-admin-api-endpoint-builder 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial public release
元数据
Slug ghost-admin-api-endpoint-builder
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Ghost Admin API Endpoint Builder 是什么?

Create 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/s... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 37 次。

如何安装 Ghost Admin API Endpoint Builder?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install ghost-admin-api-endpoint-builder」即可一键安装,无需额外配置。

Ghost Admin API Endpoint Builder 是免费的吗?

是的,Ghost Admin API Endpoint Builder 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Ghost Admin API Endpoint Builder 支持哪些平台?

Ghost Admin API Endpoint Builder 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Ghost Admin API Endpoint Builder?

由 kukudadasd(@kukudadasd)开发并维护,当前版本 v1.0.0。

💬 留言讨论