Add Content Type — Development skill for Claude Code
Add a content-type to the current Strapi v5 plugin (schema + factory service/controller/router + register).
How to install Add Content Type
Installs to ~/.claude/skills/ayhid-strapi-skills-add-content-type/SKILL.md
mkdir -p ~/.claude/skills/ayhid-strapi-skills-add-content-type && curl -fsSL https://raw.githubusercontent.com/ayhid/strapi-skills/HEAD/commands/add-content-type.md -o ~/.claude/skills/ayhid-strapi-skills-add-content-type/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Add Content Type does
description: Add a content-type to the current Strapi v5 plugin (schema + factory service/controller/router + register) argument-hint: allowed-tools: Bash, Read, Edit, Write, Glob, Grep model: claude-sonnet-4-5
Add a Strapi v5 content-type named `$1` to the current plugin. Follow the strapi-plugin-dev skill.
Steps
- Verify the current directory is a Strapi plugin (
package.jsonwithstrapi.kind: "plugin", orserver/src/+admin/src/present). If not, abo
Alternatives in Development
- Add Template — /add-template - Register a Custom CV or Cover Letter Template 36.6k ★
- Add New Service — Add New Service: $ARGUMENTS 831 ★
- Add Critical Pattern — Add current problem to Required Reading (juce8-critical-patterns.md) 209 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Add Cm Panel
Add a Content Manager edit-view side panel to the current Strapi v5 plugin
Add Observability
Add production observability to a service — structured logging, metrics endpoint, health checks, and Sentry er
Scaffold Plugin
Scaffold a new Strapi v5 plugin with opinionated structure (factory pattern, RHF+Zod, TanStack v5)
Add Content JSON
Create a static JSON content file with schema and loading utilities.
Java Endpoint
按 Mall4Cloud 后端约定新增或修改一个 REST 接口,覆盖 Controller、Service、Mapper/XML、DTO/VO、审计与 OpenAPI 注解、权限、测试和模块级 Maven 验证。
Register User
Register and verify a new user via Kratos self-service API + MailSlurper, then create Alkemio profile
Related Agents
Strapi Reviewer
Use this agent to review Strapi v5 plugin code (server/src/ or admin/src/) for v5 conformance — Document Servi
Backend Eng
Use for the schema, contract, repository, service, and controller layers of Phase A, once a module is in scope
Prevent XSS Attacks
add_header X-Content-Type-Options "nosniff"; add_header X-Frame-Options "DENY"; add_header X-XSS-Protection "1