strapi
通过官方 @strapi/client SDK 管理 Strapi CMS 内容。对集合类型、单一类型和媒体文件进行 CRUD。将文件上传到媒体库。内省内容类型架构、关系和组件。管理国际化语言环境和本地化内容(翻译)。草稿/发布工作流程。配置编辑表单布局(字段顺序、大小、标签)。管理最终用户、角色和身份验证。当用户询问 Strapi、无头 CMS、内容管理、管理文章、博客文章、页面、条目、媒体文件、上传图像、从 URL 上传、下载和上传、翻译、本地化、发布、草稿、内容类型、架构、表单布局、编辑视图、用户、角色、权限、身份验证、登录、注册、REST API 或创建/更新/删除 CMS 内容时使用。
安装 / 下载方式
TotalClaw CLI推荐
totalclaw install totalclaw:totalclaw~ilya-ryzhov-strapicURL直接下载,无需登录
curl -fsSL https://skills.taituai.com/api/skills/totalclaw%3Atotalclaw~ilya-ryzhov-strapi/file -o ilya-ryzhov-strapi.md## 概述(中文)
通过官方 @strapi/client SDK 管理 Strapi CMS 内容。对集合类型、单一类型和媒体文件进行 CRUD。将文件上传到媒体库。内省内容类型架构、关系和组件。管理国际化语言环境和本地化内容(翻译)。草稿/发布工作流程。配置编辑表单布局(字段顺序、大小、标签)。管理最终用户、角色和身份验证。当用户询问 Strapi、无头 CMS、内容管理、管理文章、博客文章、页面、条目、媒体文件、上传图像、从 URL 上传、下载和上传、翻译、本地化、发布、草稿、内容类型、架构、表单布局、编辑视图、用户、角色、权限、身份验证、登录、注册、REST API 或创建/更新/删除 CMS 内容时使用。
## 原文
# Strapi CMS Skill
Manage content in a Strapi headless CMS instance via the official `@strapi/client` SDK.
## Setup
During installation, enter your **Strapi API Token** in the API Key field.
Then add `STRAPI_BASE_URL` to the `env` section:
```json5
{
skills: {
entries: {
strapi: {
enabled: true,
apiKey: "your-strapi-api-token", // → STRAPI_API_TOKEN
env: {
STRAPI_BASE_URL: "http://localhost:1337/api"
}
}
}
}
}
```
## Capabilities
- **Collection types**: find, findOne, create, update, delete entries
- **Single types**: find, update, delete the document
- **Content introspection**: discover types, schemas, components, relations, inspect real data
- **Schema management**: create/update/delete content types, components, fields (destructive)
- **Form layout**: configure edit form field order, sizes, labels, descriptions (local/dev only)
- **Draft & publish**: list drafts, publish, unpublish, create as draft or published
- **Files**: list, get, upload (local path or URL), update metadata, delete media files
- **Users & Permissions**: list, create, update, delete end users; view roles; login, register, password reset
- **Locales (i18n)**: list, create, delete locales
- **Localized content**: CRUD per locale, translation status, fetch all locales at once
- **Raw fetch**: direct HTTP to any Strapi endpoint
## Usage
See [instructions.md](instructions.md) for full agent instructions.
See [examples/usage.md](examples/usage.md) for conversation examples.