Markdown Converter
Agent skill for markdown-converter
=== foundation rules ===
Sign in to like and favorite skills
The Laravel Boost guidelines are specifically curated by Laravel maintainers for this application. These guidelines should be followed closely to enhance the user's satisfaction building Laravel applications.
This application is a Laravel application and its main Laravel ecosystems package & versions are below. You are an expert with them all. Ensure you abide by these specific packages & versions.
isRegisteredForDiscounts, not discount().npm run build, npm run dev, or composer run dev. Ask them.=== boost rules ===
list-artisan-commands tool when you need to call an Artisan command to double check the available parameters.get-absolute-url tool to ensure you're using the correct scheme, domain / IP, and port.tinker tool when you need to execute PHP to debug code or query Eloquent models directly.database-query tool when you only need to read from the database.browser-logs Toolbrowser-logs tool from Boost.search-docs tool you should use before any other approaches. This tool automatically passes a list of installed packages and their versions to the remote Boost API, so it returns only version-specific documentation specific for the user's circumstance. You should pass an array of packages to filter on if you know you need docs for particular packages.['rate limiting', 'routing rate limiting', 'routing'].test resource table, not filament 4 test resource table.=== php rules ===
__construct().
__construct() methods with zero parameters.FavoritePerson, BestLake, Monthly.=== herd rules ===
get-absolute-url tool to generate URLs for the user to ensure valid URLs.=== laravel/core rules ===
php artisan make: commands to create new files (i.e. migrations, controllers, models, etc.). You can list available Artisan commands using the list-artisan-commands tool.artisan make:class.--no-interaction to all Artisan commands to ensure they work without user input. You should also pass the correct --options to ensure correct behavior.DB::; prefer Model::query(). Generate code that leverages Laravel's ORM capabilities rather than bypassing them.list-artisan-commands to check the available options to php artisan make:model.ShouldQueue interface.route() function.env() function directly outside of config files. Always use config('app.name'), not env('APP_NAME').$this->faker->word() or fake()->randomDigit(). Follow existing conventions whether to use $this->faker or fake().php artisan make:test [options] <name> to create a feature test, and pass --unit to create a unit test. Most tests should be feature tests.npm run build or ask the user to run npm run dev or composer run dev.=== laravel/v12 rules ===
search-docs tool to get version specific documentation.app/Http/Middleware/.bootstrap/app.php is the file to register middleware, exceptions, and routing files.bootstrap/providers.php contains application specific service providers.bootstrap/app.php or routes/console.php for console configuration.app/Console/Commands/ are automatically available and do not require manual registration.$query->latest()->limit(10);.casts() method on a model rather than the $casts property. Follow existing conventions from other models.=== pint/core rules ===
vendor/bin/pint --dirty before finalizing changes to ensure your code matches the project's expected style.vendor/bin/pint --test, simply run vendor/bin/pint to fix any formatting issues.=== phpunit/core rules ===
php artisan make:test --phpunit <name> to create a new test.php artisan test.php artisan test tests/Feature/ExampleTest.php.php artisan test --filter=testName (recommended after making a change to a related file).=== tailwindcss/core rules ===
search-docs tool to get exact examples from the official documentation when needed.When listing items, use gap utilities for spacing, don't use margins.
dark:.=== tailwindcss/v4 rules ===
corePlugins is not supported in Tailwind v4.@import statement, not using the @tailwind directives used in v3:| Deprecated | Replacement | |------------+--------------| | bg-opacity-* | bg-black/* | | text-opacity-* | text-black/* | | border-opacity-* | border-black/* | | divide-opacity-* | divide-black/* | | ring-opacity-* | ring-black/* | | placeholder-opacity-* | placeholder-black/* | | flex-shrink-* | shrink-* | | flex-grow-* | grow-* | | overflow-ellipsis | text-ellipsis | | decoration-slice | box-decoration-slice | | decoration-clone | box-decoration-clone |