strapi

Installation
SKILL.md

Troubleshooting

If requests fail, run zero doctor check-connector --env-name STRAPI_TOKEN or zero doctor check-connector --url https://docs.strapi.io/cms/api/rest --method GET

IMPORTANT: Discovery Workflow

Before performing any content operations, always discover the user's content types first. Every Strapi instance has different content types, fields, and relationships. Never assume what types exist.

Step 1: Discover Content Types

curl -s "$STRAPI_BASE_URL/api/content-type-builder/content-types" \
  --header "Authorization: Bearer $STRAPI_TOKEN" | jq '[.data[] | select(.schema.visible != false) | {uid: .uid, name: .schema.displayName, kind: .schema.kind, attributes: [.schema.attributes | to_entries[] | {name: .key, type: .value.type, required: .value.required}]}]'

This returns all content types with their fields. Key properties:

  • uid: The unique identifier (e.g., api::article.article)
  • kind: Either collectionType (multiple entries) or singleType (one entry)
Related skills
Installs
11
GitHub Stars
59
First Seen
Apr 13, 2026