with one click
migrations
Use when creating or editing database migrations in the project.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Use when creating or editing database migrations in the project.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
| name | migrations |
| description | Use when creating or editing database migrations in the project. |
constrained() method.❌ Don't
$table->foreignId('account_id')->comment('account the user belongs to')->constrained()->cascadeOnDelete();
Do
$table->unsignedBigInteger('user_id')->nullable()->comment('user who performed the action');
...
// (at the bottom of the migration)
$table->foreign('user_id')->references('id')->on('users')->nullOnDelete();
Write clear, user-focused documentation for the product, including concept explanations, tutorials, how-to guides, and onboarding content. Use when creating or improving documentation pages, help center content, user guides, setup instructions, feature explanations, or task-based walkthroughs. Trigger whenever documentation, docs portal, tutorials, guides, concepts, onboarding, help content, or user education are mentioned.
Analyze the codebase and produce a comprehensive implementation plan for the product documentation portal. Inspect the application's features, terminology, configuration, installation, authentication, subscriptions, permissions, and user workflows to design a documentation structure following industry best practices. Use when planning a documentation portal, defining its information architecture, creating a documentation roadmap, or identifying the documentation required before writing the content.
Write or update the public-facing API reference for API methods. Use when a new API controller is created, API routes are added or changed, or when the docs portal at /docs is out of sync with the codebase.
Build a complete API surface for a given model or concept. Use when the user asks to add API methods, expose a resource via API, or mirror a web controller as an API. Activates when user mentions API methods, API controller, API routes, or wants to expose an existing web resource via API.
Actions are what the user does within an application. Use when working with actions.
Add a new locale to the application. Use when the user wants to support an additional language, register a locale in config, and generate its lang/*.json translation file. Trigger whenever adding a language, new locale, or i18n support is mentioned.