Skills by asyrafhussin

5 skills available

php-best-practices
This skill is a PHP 8.5+ best-practices guide for reviewing and auditing PHP code, with prioritized rules, examples, and file-level recommendations. No security-relevant behaviors detected.
Verified
278 installs
react-vite-best-practices
This skill provides React + Vite performance and build optimization guidance for Vite configuration, code splitting, and build tooling. It includes scripts that execute shell commands (`execSync`) to run `sentry-cli` and delete source maps and reads env vars like `SENTRY_AUTH_TOKEN` to interact with external services.
Review
252 installs
laravel-best-practices
This skill is a Laravel 12 best-practices guide containing examples for controllers, models, migrations, validation, services, and architecture. It includes explicit `php artisan` commands and example network calls to `https://crm.example.com/orders` and `https://shipping.example.com/orders`.
Verified
160 installs
clean-code-principles
This skill provides `clean-code` and SOLID design guidance for architecture reviews, refactoring, and code-quality checks. The examples explicitly read environment variables like `process.env.SENDGRID_API_KEY` and invoke external services (e.g., `https://api.example.com/v1`, `this.stripe.paymentIntents.create`), demonstrating network use and secret-dependent integrations.
Verified
153 installs
laravel-inertia-react
Laravel + Inertia.js + React integration patterns. Use when building Inertia page components, handling forms with useForm, managing shared data, or implementing persistent layouts. Triggers on tasks involving Inertia.js, page props, form handling, or Laravel React integration.
Verified
149 installs