[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77NC91BHGRTFTPPGCCPDHWD":3,"skill-same:01M77NC91BHGRTFTPPGCCPDHWD":55},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":26,"commitSha":27,"skillDirectory":28,"forksCount":29,"repositoryHtmlUrl":30,"repositoryHomepageUrl":6,"ownerHtmlUrl":31,"ownerBlogUrl":32,"ownerDescription":33,"updatedAt":34,"install":35,"resources":48},"01M77NC91BHGRTFTPPGCCPDHWD","spatie-laravel-php",null,"Apply Spatie's Laravel and PHP coding standards for any task that creates, edits, reviews, refactors, or formats Laravel\u002FPHP code or Blade templates; use for controllers, Eloquent models, routes, config, validation, migrations, tests, and related files to align with Laravel conventions and PSR-12.","w1do\u002Fcontent-backend","w1do","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F122446147?v=4","01M77N9PAY1Z1RMN8S3936Q9Y9","W1DO DIGITAL","01M77N9PBRQG10QM0Z8WFRAK25",1,"MIT","https:\u002F\u002Fgithub.com\u002Fw1do\u002Fcontent-backend\u002Fblob\u002Fmain\u002F.ai\u002Fskills\u002Fskills\u002Fspatie-laravel-php\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: spatie-laravel-php\ndescription: Apply Spatie's Laravel and PHP coding standards for any task that creates, edits, reviews, refactors, or formats Laravel\u002FPHP code or Blade templates; use for controllers, Eloquent models, routes, config, validation, migrations, tests, and related files to align with Laravel conventions and PSR-12.\nlicense: MIT\nmetadata:\n  author: Spatie\n---\n\n# Spatie Laravel & PHP Guidelines\n\n## Overview\nApply Spatie's Laravel and PHP guidelines to keep code style consistent and Laravel-native.\n\n## When to Activate\n- Activate this skill for any Laravel or PHP coding work, even if the user does not explicitly mention Spatie.\n- Activate this skill when asked to generate, edit, format, refactor, review, or align Laravel\u002FPHP code.\n- Activate this skill when working on `.php` or `.blade.php` files, routes, controllers, models, config, validation, migrations, or tests.\n\n## Scope\n- In scope: `.php`, `.blade.php`, Laravel conventions (routes, controllers, config, validation, migrations, tests).\n- Out of scope: JS\u002FTS, CSS, infrastructure, database schema design, non-Laravel frameworks.\n\n## Workflow\n1. Identify the artifact (controller, route, config, model, Blade, test, etc.).\n2. Read `references\u002Fspatie-laravel-php-guidelines.md` and focus on the relevant sections.\n3. Apply the core Laravel principle first, then PHP standards, then section-specific rules.\n4. If a rule conflicts with existing project conventions, follow Laravel conventions and keep changes consistent.\n\n## Core Rules (Summary)\n- Follow Laravel conventions first.\n- Follow PSR-1, PSR-2, and PSR-12.\n- Prefer typed properties and explicit return types (including `void`).\n- Use short nullable syntax like `?string`.\n- Use constructor property promotion when all properties can be promoted.\n- One trait per line with separate `use` statements.\n- Prefer early returns and avoid `else` when possible.\n- Always use curly braces for control structures.\n- Use string interpolation over concatenation.\n- Happy path last: handle error conditions first.\n\n## Do and Don't\nDo:\n- Use kebab-case URLs, camelCase route names, and camelCase route parameters.\n- Use tuple notation for routes: `[Controller::class, 'method']`.\n- Use plural resource names for controllers (`PostsController`).\n- Use array notation for validation rules.\n- Use `config()` helper and avoid `env()` outside config files.\n- Add service configs to `config\u002Fservices.php`, not new files.\n- Use `__()` for translations instead of `@lang`.\n- Use PascalCase for enum values.\n\nDon't:\n- Add docblocks when full type hints already exist.\n- Use fully qualified classnames in docblocks.\n- Use `final` or `readonly` by default.\n- Use `else` when early returns work.\n- Add spaces after Blade control structures.\n- Write down methods in migrations, only up methods.\n\n## Examples\n```php\n\u002F\u002F Happy path last with early returns\nif (! $user) {\n    return null;\n}\n\nif (! $user->isActive()) {\n    return null;\n}\n\n\u002F\u002F Process active user...\n\n\u002F\u002F Short ternary\n$name = $isFoo ? 'foo' : 'bar';\n\n\u002F\u002F Constructor property promotion\nclass MyClass {\n    public function __construct(\n        protected string $firstArgument,\n        protected string $secondArgument,\n    ) {}\n}\n```\n\n```blade\n@if($condition)\n    Something\n@endif\n```\n\n## References\n- `references\u002Fspatie-laravel-php-guidelines.md`\n","# Spatie Laravel & PHP Guidelines\n\n## Overview\nApply Spatie's Laravel and PHP guidelines to keep code style consistent and Laravel-native.\n\n## When to Activate\n- Activate this skill for any Laravel or PHP coding work, even if the user does not explicitly mention Spatie.\n- Activate this skill when asked to generate, edit, format, refactor, review, or align Laravel\u002FPHP code.\n- Activate this skill when working on `.php` or `.blade.php` files, routes, controllers, models, config, validation, migrations, or tests.\n\n## Scope\n- In scope: `.php`, `.blade.php`, Laravel conventions (routes, controllers, config, validation, migrations, tests).\n- Out of scope: JS\u002FTS, CSS, infrastructure, database schema design, non-Laravel frameworks.\n\n## Workflow\n1. Identify the artifact (controller, route, config, model, Blade, test, etc.).\n2. Read `references\u002Fspatie-laravel-php-guidelines.md` and focus on the relevant sections.\n3. Apply the core Laravel principle first, then PHP standards, then section-specific rules.\n4. If a rule conflicts with existing project conventions, follow Laravel conventions and keep changes consistent.\n\n## Core Rules (Summary)\n- Follow Laravel conventions first.\n- Follow PSR-1, PSR-2, and PSR-12.\n- Prefer typed properties and explicit return types (including `void`).\n- Use short nullable syntax like `?string`.\n- Use constructor property promotion when all properties can be promoted.\n- One trait per line with separate `use` statements.\n- Prefer early returns and avoid `else` when possible.\n- Always use curly braces for control structures.\n- Use string interpolation over concatenation.\n- Happy path last: handle error conditions first.\n\n## Do and Don't\nDo:\n- Use kebab-case URLs, camelCase route names, and camelCase route parameters.\n- Use tuple notation for routes: `[Controller::class, 'method']`.\n- Use plural resource names for controllers (`PostsController`).\n- Use array notation for validation rules.\n- Use `config()` helper and avoid `env()` outside config files.\n- Add service configs to `config\u002Fservices.php`, not new files.\n- Use `__()` for translations instead of `@lang`.\n- Use PascalCase for enum values.\n\nDon't:\n- Add docblocks when full type hints already exist.\n- Use fully qualified classnames in docblocks.\n- Use `final` or `readonly` by default.\n- Use `else` when early returns work.\n- Add spaces after Blade control structures.\n- Write down methods in migrations, only up methods.\n\n## Examples\n```php\n\u002F\u002F Happy path last with early returns\nif (! $user) {\n    return null;\n}\n\nif (! $user->isActive()) {\n    return null;\n}\n\n\u002F\u002F Process active user...\n\n\u002F\u002F Short ternary\n$name = $isFoo ? 'foo' : 'bar';\n\n\u002F\u002F Constructor property promotion\nclass MyClass {\n    public function __construct(\n        protected string $firstArgument,\n        protected string $secondArgument,\n    ) {}\n}\n```\n\n```blade\n@if($condition)\n    Something\n@endif\n```\n\n## References\n- `references\u002Fspatie-laravel-php-guidelines.md`\n",{"name":5,"license":15,"metadata":24,"description":7},{"author":25},"Spatie","main","5cfcb5a7c17ede079f700eaebe2541a2e8a35b99",".ai\u002Fskills\u002Fskills\u002Fspatie-laravel-php",0,"https:\u002F\u002Fgithub.com\u002Fw1do\u002Fcontent-backend","https:\u002F\u002Fgithub.com\u002Fw1do","https:\u002F\u002Fw1do.ru","Разработчик с использованием AI (Claude, Junie), автоматизация систем, построение сложной архитектуры на Laravel","2026-07-30 04:57:34",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":47},[37,40,43],{"tool":38,"command":39},"npx","npx skills add w1do\u002Fcontent-backend --skill spatie-laravel-php",{"tool":41,"command":42},"bunx","bunx skills add w1do\u002Fcontent-backend --skill spatie-laravel-php",{"tool":44,"command":45},"pnpm","pnpm dlx skills add w1do\u002Fcontent-backend --skill spatie-laravel-php","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fw1do\u002Fcontent-backend\u002Fblob\u002Fmain\u002F.ai\u002Fskills\u002Fskills\u002Fspatie-laravel-php\u002FSKILL.md",true,[49],{"path":50,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":53,"sourceHtmlUrl":54},"references\u002Fspatie-laravel-php-guidelines.md","REFERENCE","参考文档",8975,"https:\u002F\u002Fgithub.com\u002Fw1do\u002Fcontent-backend\u002Fblob\u002Fmain\u002F.ai\u002Fskills\u002Fskills\u002Fspatie-laravel-php\u002Freferences\u002Fspatie-laravel-php-guidelines.md",[56,63,70,75,82,89],{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":19},"01M77NER3ZH88RF7652A2GPV0N","spatie-version-control","Apply Spatie's version control conventions when creating commits, branches, pull requests, or managing Git repositories; use for naming repos, writing commit messages, choosing branch strategies, and merging code.","https:\u002F\u002Fgithub.com\u002Fw1do\u002Fcontent-backend\u002Fblob\u002Fmain\u002F.junie\u002Fskills\u002Fspatie-version-control\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M77NEM7BB0878PKWFZFBFV2A","spatie-security","Apply Spatie's security guidelines when configuring applications, databases, or servers, or when reviewing code for security concerns; use for SSL setup, CSRF protection, password hashing, database permissions, and server hardening.","https:\u002F\u002Fgithub.com\u002Fw1do\u002Fcontent-backend\u002Fblob\u002Fmain\u002F.junie\u002Fskills\u002Fspatie-security\u002FSKILL.md",[],[],{"skillNo":71,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M77NEH0V5W6RZP9VJXRBR9QT","https:\u002F\u002Fgithub.com\u002Fw1do\u002Fcontent-backend\u002Fblob\u002Fmain\u002F.junie\u002Fskills\u002Fspatie-laravel-php\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M77NECV2J2GTVQ7KDM5X2WC4","spatie-javascript","Apply Spatie's JavaScript coding standards for any task that creates, edits, reviews, refactors, or formats JavaScript or TypeScript code; use for variable declarations, comparisons, functions, destructuring, and Prettier configuration to align with Spatie's JS conventions.","https:\u002F\u002Fgithub.com\u002Fw1do\u002Fcontent-backend\u002Fblob\u002Fmain\u002F.junie\u002Fskills\u002Fspatie-javascript\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M77NE4V810CG6DRAKNFEREZ4","sluggable-development","Use when making a field on an Eloquent model sluggable, generating the migration for a slug column, switching to self-healing URLs, or resolving a model from its slug in a route. Trigger when the request mentions slugs, permalinks, the spatie\u002Flaravel-sluggable package, the HasSlug or HasTranslatableSlug trait, the #[Sluggable] attribute, SlugOptions, findBySlug, self-healing URLs, or stale slug redirects in a Laravel project. Covers choosing between the attribute and the trait, generating unique slugs, configuring separator\u002Flength\u002Flanguage\u002Fscope\u002Funiqueness, preventing slug overwrites, translatable slugs via spatie\u002Flaravel-translatable, route model binding through the slug column, self-healing route keys, customizing the 308 redirect through the SelfHealing facade, and overriding the default actions via config\u002Fsluggable.php. Do not use for one-off URL-safe strings, signed URLs, or Laravel's built-in Str::slug helper when the result is not stored on a model.","https:\u002F\u002Fgithub.com\u002Fw1do\u002Fcontent-backend\u002Fblob\u002Fmain\u002F.junie\u002Fskills\u002Fsluggable-development\u002FSKILL.md",[],[],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":93,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":19},"01M77NDSVMR88QCTD52WBBM72V","olakunlevpn-filament-skills","Use when writing, reviewing, or refactoring Filament PHP v5 code -- resources, forms, tables, infolists, actions, widgets, panels, relation managers, multi-tenancy, testing, or plugin development. Always apply these standards to all Filament work.","https:\u002F\u002Fgithub.com\u002Fw1do\u002Fcontent-backend\u002Fblob\u002Fmain\u002F.junie\u002Fskills\u002Folakunlevpn-filament-skills\u002FLICENSE.md","https:\u002F\u002Fgithub.com\u002Fw1do\u002Fcontent-backend\u002Fblob\u002Fmain\u002F.junie\u002Fskills\u002Folakunlevpn-filament-skills\u002FSKILL.md",[],[]]