.cursor/skills/ directory.
Invoke a skill using Cursor’s slash command syntax in the chat input, e.g. /create-object.
Available Skills
Create Object — /create-object
Generates a complete domain object with all necessary components:
- Laravel model with
HasDomainObjecttrait - Database migration
- Factory with realistic fake data
- Enum classes (status, permissions)
- Controller with RESTful routes
- Form requests with validation
- Table with filters and actions
- Frontend index page with Inertia
- Delete action
- Feature tests
- Ask for confirmation about the fields and relationships
- Generate all files following Core conventions
- Add permissions to the Permission enum
- Create proper routes and navigation
- Run tests to verify everything works
Create Property — /create-property
Scaffolds a custom property type — PHP backend class and React frontend components — and registers it.
- Ask whether this is an app-level or platform-level property if not stated
- Create the PHP class in
App\Properties\Types\(app) orInly\Core\Properties\Types\(platform) - Create the frontend value and input components
- Register the property via
createCoreApp(app) orcorePropertyDefinitions(platform) - Run
pint --dirtyandpnpm lint
resources/js/app.tsx.
Platform-level properties are part of Core itself and are registered in resources/js/core/properties/properties.ts.
Create Action — /create-action
Scaffolds CoreAction classes (make:core-action), registration on models via objectActions(), table and UI integration, and tests. Includes how to return persisted document references from handle() using ActionResult::document() / documentSet() with Inly\Core\Models\Document from CoreDocument::store().
stubs/laravel/.cursor/skills/create-action/SKILL.md (see also examples.md in the same folder).
Create Document — /create-document
Authors App\Documents\... classes extending Inly\Core\Documents\CoreDocument: text (HTML/Blade) and file artifacts, store() / key() / regenerate(), print layouts (core:: views), PDF format override, and tests. Pairs with create-action when an action should open the viewer or download after generation.
stubs/laravel/.cursor/skills/create-document/SKILL.md (see also examples.md in the same folder).
Translate — /translate
Automatically translates missing strings in all language JSON files (except en.json).
composer localize.
Important:
- Only translates missing strings, never modifies existing translations
- Uses consistent terminology from the rest of the translation file
- Outputs only the newly translated strings
Update Core — /update-core
Guides the process of updating the inly/core package to a newer version and implementing any breaking changes from the upgrade guide.
- Run
php artisan core:update - Read the upgrade guide at
vendor/inly/core/UPGRADE.md - Search the codebase for affected code
- Present an implementation plan
- Ask for permission before making changes
- Implement the changes systematically
- Run tests and linters to verify