用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/TryGhost/Ghost --skill add-admin-api-endpoint命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Use when adding a new private (developer experiments) feature flag to Ghost, including the backend registration and settings UI toggle.
Commit message formatting and guidelines
Create a database migration to add a table, add columns to an existing table, add a setting, or otherwise change the schema of Ghost's MySQL database. Use this skill whenever the task involves modifying Ghost's database schema — including adding, removing, or renaming columns or tables, adding new settings, creating indexes, updating data, or any change that requires a migration file in ghost/core. Also use when the user references schema.js, knex-migrator, the migrations directory, or asks to "add a field" or "add a column" to any Ghost model/table. Even if the user frames it as a feature or Linear issue, if the implementation requires a schema change, this skill applies.
正在显示 SKILL.md
| name | Add Admin API Endpoint |
| description | Add a new endpoint or endpoints to Ghost's Admin API at `ghost/api/admin/**`. |
ghost/core/core/server/api/endpoints/. Otherwise, locate the existing endpoint file in the same directory.docName and a single endpoint definition, i.e. browse.ghost/core/core/server/web/api/endpoints/admin/routes.js.e2e-api tests for the endpoint in ghost/core/test/e2e-api/admin to ensure the new endpoints function as expected.cd ghost/core && pnpm test:single test/e2e-api/admin/{test-file-name}.For a detailed reference on Ghost's API framework and how to create API controllers, see reference.md.