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().yarn run build,
yarn 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.=== tests rules ===
php artisan test with a specific
filename or filter.=== inertia-laravel/core rules ===
resources/js/Pages directory unless specified differently in the JS
bundler (vite.config.js).Inertia::render() for server-side routing instead of traditional Blade views.search-docs for accurate guidance on all things Inertia.=== inertia-laravel/v2 rules ===
WhenVisibleuseForm helper. Use the code examples and search-docs tool with a query of useForm helper
for guidance.=== 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.php 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.yarn run build or ask the user to run yarn 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.=== 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).=== laravel/fortify rules ===
Fortify is a headless authentication backend that provides authentication routes and controllers for Laravel applications.
Before implementing any authentication features, use the
tool to get the latest docs for that specific
feature.search-docs
config/fortify.php to see what's enabled. Use search-docs for detailed information on specific features.'features' => [] array: Features::registration(),
Features::resetPasswords(), etc.list-routes tool with the only_vendor: true and
action: "Fortify" parameters.'views' => false in the configuration file to disable
them if you're handling views yourself.FortifyServiceProvider's boot() method using Fortify::loginView(),
Fortify::registerView(), etc.Fortify::authenticateUsing() for custom user retrieval / validation.app/Actions/Fortify/ handle business logic (user creation, password reset, etc.). They're fully
customizable, so you can modify them to change feature behavior.Features::registration() for user registration.Features::emailVerification() to verify new user emails.Features::twoFactorAuthentication() for 2FA with QR codes and recovery codes.
['confirmPassword' => true, 'confirm' => true] to require password confirmation and OTP
confirmation before enabling 2FA.Features::updateProfileInformation() to let users update their profile.Features::updatePasswords() to let users change their passwords.Features::resetPasswords() for password reset via email.