Generate Strapi plugins with custom content types, controllers, and admin UI
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
Replace these placeholders with your own content before using the prompt.
[{PLUGIN_NAME][{FEATURES][{HAS_ADMIN_UI]