Strapi Custom Plugin Template

Generate Strapi plugins with custom content types, controllers, and admin UI

6/11/2026
Prompt
Create Strapi plugin for:

Plugin Name: {{PLUGIN_NAME}}
Features: {{FEATURES}}
Admin UI: {{HAS_ADMIN_UI}} (yes/no)

Generate complete Strapi plugin:

1. **Plugin Structure:**
   - server/index.js
   - server/bootstrap.js
   - server/register.js
   - admin/src/index.js

2. **Content Types:**
   - Schema definition
   - Lifecycle hooks
   - Relations
   - Components

3. **Controllers:**
   - Custom controllers
   - Route definitions
   - Parameter validation
   - Response handling

4. **Services:**
   - Business logic
   - Database queries
   - External APIs
   - Cache handling

5. **Middleware:**
   - Route middleware
   - Global middleware
   - Authentication

6. **Admin Panel:**
   - Plugin registration
   - Menu items
   - Custom pages
   - Components

7. **Policies:**
   - Access control
   - Rate limiting
   - Custom policies

8. **Configuration:**
   - Plugin config
   - Environment handling
   - Default values

9. **Internationalization:**
   - Translation files
   - Language support

10. **Testing:**
    - Unit tests
    - Integration tests
    - Admin tests

Include database migration pattern.

Or press ⌘C to copy

Variables (3)

Replace these placeholders with your own content before using the prompt.

[{PLUGIN_NAME][{FEATURES][{HAS_ADMIN_UI]

Ready to use?

Copy and paste into your favorite AI tool

Test this prompt live

Try it in our AI Playground with Claude

Open Playground

Explore more Coding prompts

Browse Coding

Command Palette

Search for a command to run...