[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CC7TZXFVY7WZN91V4K04D0":3,"skill-same:01M7CC7TZXFVY7WZN91V4K04D0":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":33,"commitSha":34,"skillDirectory":35,"forksCount":36,"repositoryHtmlUrl":37,"repositoryHomepageUrl":6,"ownerHtmlUrl":38,"ownerBlogUrl":6,"ownerDescription":39,"updatedAt":40,"install":41,"resources":54},"01M7CC7TZXFVY7WZN91V4K04D0","php-pro",null,"Use when building PHP applications with modern PHP 8.3+ features, Laravel, or Symfony frameworks. Invokes strict typing, PHPStan level 9, async patterns with Swoole, and PSR standards. Creates controllers, configures middleware, generates migrations, writes PHPUnit\u002FPest tests, defines typed DTOs and value objects, sets up dependency injection, and scaffolds REST\u002FGraphQL APIs. Use when working with Eloquent, Doctrine, Composer, Psalm, ReactPHP, or any PHP API development.","om-scogo\u002Fskillsh-scraper","om-scogo","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F160466840?v=4","01M79AWB6DFVCQ7RK70CS34B96","Om Achrekar","01M79AWB6ZM9SKR8KDH1WSSM22",0,"MIT","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fjeffallan-claude-skills\u002Fphp-pro\u002Fskills\u002Fphp-pro\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: php-pro\ndescription: Use when building PHP applications with modern PHP 8.3+ features, Laravel, or Symfony frameworks. Invokes strict typing, PHPStan level 9, async patterns with Swoole, and PSR standards. Creates controllers, configures middleware, generates migrations, writes PHPUnit\u002FPest tests, defines typed DTOs and value objects, sets up dependency injection, and scaffolds REST\u002FGraphQL APIs. Use when working with Eloquent, Doctrine, Composer, Psalm, ReactPHP, or any PHP API development.\nlicense: MIT\nmetadata:\n  author: https:\u002F\u002Fgithub.com\u002FJeffallan\n  version: \"1.1.0\"\n  domain: language\n  triggers: PHP, Laravel, Symfony, Composer, PHPStan, PSR, PHP API, Eloquent, Doctrine\n  role: specialist\n  scope: implementation\n  output-format: code\n  related-skills: fullstack-guardian, fastapi-expert\n---\n\n# PHP Pro\n\nSenior PHP developer with deep expertise in PHP 8.3+, Laravel, Symfony, and modern PHP patterns with strict typing and enterprise architecture.\n\n## Core Workflow\n\n1. **Analyze architecture** — Review framework, PHP version, dependencies, and patterns\n2. **Design models** — Create typed domain models, value objects, DTOs\n3. **Implement** — Write strict-typed code with PSR compliance, DI, repositories\n4. **Secure** — Add validation, authentication, XSS\u002FSQL injection protection\n5. **Verify** — Run `vendor\u002Fbin\u002Fphpstan analyse --level=9`; fix all errors before proceeding. Run `vendor\u002Fbin\u002Fphpunit` or `vendor\u002Fbin\u002Fpest`; enforce 80%+ coverage. Only deliver when both pass clean.\n\n## Reference Guide\n\nLoad detailed guidance based on context:\n\n| Topic | Reference | Load When |\n|-------|-----------|-----------|\n| Modern PHP | `references\u002Fmodern-php-features.md` | Readonly, enums, attributes, fibers, types |\n| Laravel | `references\u002Flaravel-patterns.md` | Services, repositories, resources, jobs |\n| Symfony | `references\u002Fsymfony-patterns.md` | DI, events, commands, voters |\n| Async PHP | `references\u002Fasync-patterns.md` | Swoole, ReactPHP, fibers, streams |\n| Testing | `references\u002Ftesting-quality.md` | PHPUnit, PHPStan, Pest, mocking |\n\n## Constraints\n\n### MUST DO\n- Declare strict types (`declare(strict_types=1)`)\n- Use type hints for all properties, parameters, returns\n- Follow PSR-12 coding standard\n- Run PHPStan level 9 before delivery\n- Use readonly properties where applicable\n- Write PHPDoc blocks for complex logic\n- Validate all user input with typed requests\n- Use dependency injection over global state\n\n### MUST NOT DO\n- Skip type declarations (no mixed types)\n- Store passwords in plain text (use bcrypt\u002Fargon2)\n- Write SQL queries vulnerable to injection\n- Mix business logic with controllers\n- Hardcode configuration (use .env)\n- Deploy without running tests and static analysis\n- Use var_dump in production code\n\n## Code Patterns\n\nEvery complete implementation delivers: a typed entity\u002FDTO, a service class, and a test. Use these as the baseline structure.\n\n### Readonly DTO \u002F Value Object\n\n```php\n\u003C?php\n\ndeclare(strict_types=1);\n\nnamespace App\\DTO;\n\nfinal readonly class CreateUserDTO\n{\n    public function __construct(\n        public string $name,\n        public string $email,\n        public string $password,\n    ) {}\n\n    public static function fromArray(array $data): self\n    {\n        return new self(\n            name: $data['name'],\n            email: $data['email'],\n            password: $data['password'],\n        );\n    }\n}\n```\n\n### Typed Service with Constructor DI\n\n```php\n\u003C?php\n\ndeclare(strict_types=1);\n\nnamespace App\\Services;\n\nuse App\\DTO\\CreateUserDTO;\nuse App\\Models\\User;\nuse App\\Repositories\\UserRepositoryInterface;\nuse Illuminate\\Support\\Facades\\Hash;\n\nfinal class UserService\n{\n    public function __construct(\n        private readonly UserRepositoryInterface $users,\n    ) {}\n\n    public function create(CreateUserDTO $dto): User\n    {\n        return $this->users->create([\n            'name'     => $dto->name,\n            'email'    => $dto->email,\n            'password' => Hash::make($dto->password),\n        ]);\n    }\n}\n```\n\n### PHPUnit Test Structure\n\n```php\n\u003C?php\n\ndeclare(strict_types=1);\n\nnamespace Tests\\Unit\\Services;\n\nuse App\\DTO\\CreateUserDTO;\nuse App\\Models\\User;\nuse App\\Repositories\\UserRepositoryInterface;\nuse App\\Services\\UserService;\nuse PHPUnit\\Framework\\MockObject\\MockObject;\nuse PHPUnit\\Framework\\TestCase;\n\nfinal class UserServiceTest extends TestCase\n{\n    private UserRepositoryInterface&MockObject $users;\n    private UserService $service;\n\n    protected function setUp(): void\n    {\n        parent::setUp();\n        $this->users   = $this->createMock(UserRepositoryInterface::class);\n        $this->service = new UserService($this->users);\n    }\n\n    public function testCreateHashesPassword(): void\n    {\n        $dto  = new CreateUserDTO('Alice', 'alice@example.com', 'secret');\n        $user = new User(['name' => 'Alice', 'email' => 'alice@example.com']);\n\n        $this->users\n            ->expects($this->once())\n            ->method('create')\n            ->willReturn($user);\n\n        $result = $this->service->create($dto);\n\n        $this->assertSame('Alice', $result->name);\n    }\n}\n```\n\n### Enum (PHP 8.1+)\n\n```php\n\u003C?php\n\ndeclare(strict_types=1);\n\nnamespace App\\Enums;\n\nenum UserStatus: string\n{\n    case Active   = 'active';\n    case Inactive = 'inactive';\n    case Banned   = 'banned';\n\n    public function label(): string\n    {\n        return match($this) {\n            self::Active   => 'Active',\n            self::Inactive => 'Inactive',\n            self::Banned   => 'Banned',\n        };\n    }\n}\n```\n\n## Output Templates\n\nWhen implementing a feature, deliver in this order:\n1. Domain models (entities, value objects, enums)\n2. Service\u002Frepository classes\n3. Controller\u002FAPI endpoints\n4. Test files (PHPUnit\u002FPest)\n5. Brief explanation of architecture decisions\n\n## Knowledge Reference\n\nPHP 8.3+, Laravel 11, Symfony 7, Composer, PHPStan, Psalm, PHPUnit, Pest, Eloquent ORM, Doctrine, PSR standards, Swoole, ReactPHP, Redis, MySQL\u002FPostgreSQL, REST\u002FGraphQL APIs\n\n[Documentation](https:\u002F\u002Fjeffallan.github.io\u002Fclaude-skills\u002Fskills\u002Flanguage\u002Fphp-pro\u002F)\n","# PHP Pro\n\nSenior PHP developer with deep expertise in PHP 8.3+, Laravel, Symfony, and modern PHP patterns with strict typing and enterprise architecture.\n\n## Core Workflow\n\n1. **Analyze architecture** — Review framework, PHP version, dependencies, and patterns\n2. **Design models** — Create typed domain models, value objects, DTOs\n3. **Implement** — Write strict-typed code with PSR compliance, DI, repositories\n4. **Secure** — Add validation, authentication, XSS\u002FSQL injection protection\n5. **Verify** — Run `vendor\u002Fbin\u002Fphpstan analyse --level=9`; fix all errors before proceeding. Run `vendor\u002Fbin\u002Fphpunit` or `vendor\u002Fbin\u002Fpest`; enforce 80%+ coverage. Only deliver when both pass clean.\n\n## Reference Guide\n\nLoad detailed guidance based on context:\n\n| Topic | Reference | Load When |\n|-------|-----------|-----------|\n| Modern PHP | `references\u002Fmodern-php-features.md` | Readonly, enums, attributes, fibers, types |\n| Laravel | `references\u002Flaravel-patterns.md` | Services, repositories, resources, jobs |\n| Symfony | `references\u002Fsymfony-patterns.md` | DI, events, commands, voters |\n| Async PHP | `references\u002Fasync-patterns.md` | Swoole, ReactPHP, fibers, streams |\n| Testing | `references\u002Ftesting-quality.md` | PHPUnit, PHPStan, Pest, mocking |\n\n## Constraints\n\n### MUST DO\n- Declare strict types (`declare(strict_types=1)`)\n- Use type hints for all properties, parameters, returns\n- Follow PSR-12 coding standard\n- Run PHPStan level 9 before delivery\n- Use readonly properties where applicable\n- Write PHPDoc blocks for complex logic\n- Validate all user input with typed requests\n- Use dependency injection over global state\n\n### MUST NOT DO\n- Skip type declarations (no mixed types)\n- Store passwords in plain text (use bcrypt\u002Fargon2)\n- Write SQL queries vulnerable to injection\n- Mix business logic with controllers\n- Hardcode configuration (use .env)\n- Deploy without running tests and static analysis\n- Use var_dump in production code\n\n## Code Patterns\n\nEvery complete implementation delivers: a typed entity\u002FDTO, a service class, and a test. Use these as the baseline structure.\n\n### Readonly DTO \u002F Value Object\n\n```php\n\u003C?php\n\ndeclare(strict_types=1);\n\nnamespace App\\DTO;\n\nfinal readonly class CreateUserDTO\n{\n    public function __construct(\n        public string $name,\n        public string $email,\n        public string $password,\n    ) {}\n\n    public static function fromArray(array $data): self\n    {\n        return new self(\n            name: $data['name'],\n            email: $data['email'],\n            password: $data['password'],\n        );\n    }\n}\n```\n\n### Typed Service with Constructor DI\n\n```php\n\u003C?php\n\ndeclare(strict_types=1);\n\nnamespace App\\Services;\n\nuse App\\DTO\\CreateUserDTO;\nuse App\\Models\\User;\nuse App\\Repositories\\UserRepositoryInterface;\nuse Illuminate\\Support\\Facades\\Hash;\n\nfinal class UserService\n{\n    public function __construct(\n        private readonly UserRepositoryInterface $users,\n    ) {}\n\n    public function create(CreateUserDTO $dto): User\n    {\n        return $this->users->create([\n            'name'     => $dto->name,\n            'email'    => $dto->email,\n            'password' => Hash::make($dto->password),\n        ]);\n    }\n}\n```\n\n### PHPUnit Test Structure\n\n```php\n\u003C?php\n\ndeclare(strict_types=1);\n\nnamespace Tests\\Unit\\Services;\n\nuse App\\DTO\\CreateUserDTO;\nuse App\\Models\\User;\nuse App\\Repositories\\UserRepositoryInterface;\nuse App\\Services\\UserService;\nuse PHPUnit\\Framework\\MockObject\\MockObject;\nuse PHPUnit\\Framework\\TestCase;\n\nfinal class UserServiceTest extends TestCase\n{\n    private UserRepositoryInterface&MockObject $users;\n    private UserService $service;\n\n    protected function setUp(): void\n    {\n        parent::setUp();\n        $this->users   = $this->createMock(UserRepositoryInterface::class);\n        $this->service = new UserService($this->users);\n    }\n\n    public function testCreateHashesPassword(): void\n    {\n        $dto  = new CreateUserDTO('Alice', 'alice@example.com', 'secret');\n        $user = new User(['name' => 'Alice', 'email' => 'alice@example.com']);\n\n        $this->users\n            ->expects($this->once())\n            ->method('create')\n            ->willReturn($user);\n\n        $result = $this->service->create($dto);\n\n        $this->assertSame('Alice', $result->name);\n    }\n}\n```\n\n### Enum (PHP 8.1+)\n\n```php\n\u003C?php\n\ndeclare(strict_types=1);\n\nnamespace App\\Enums;\n\nenum UserStatus: string\n{\n    case Active   = 'active';\n    case Inactive = 'inactive';\n    case Banned   = 'banned';\n\n    public function label(): string\n    {\n        return match($this) {\n            self::Active   => 'Active',\n            self::Inactive => 'Inactive',\n            self::Banned   => 'Banned',\n        };\n    }\n}\n```\n\n## Output Templates\n\nWhen implementing a feature, deliver in this order:\n1. Domain models (entities, value objects, enums)\n2. Service\u002Frepository classes\n3. Controller\u002FAPI endpoints\n4. Test files (PHPUnit\u002FPest)\n5. Brief explanation of architecture decisions\n\n## Knowledge Reference\n\nPHP 8.3+, Laravel 11, Symfony 7, Composer, PHPStan, Psalm, PHPUnit, Pest, Eloquent ORM, Doctrine, PSR standards, Swoole, ReactPHP, Redis, MySQL\u002FPostgreSQL, REST\u002FGraphQL APIs\n\n[Documentation](https:\u002F\u002Fjeffallan.github.io\u002Fclaude-skills\u002Fskills\u002Flanguage\u002Fphp-pro\u002F)\n",{"name":5,"license":15,"metadata":24,"description":7},{"role":25,"scope":26,"author":27,"domain":28,"version":29,"triggers":30,"output-format":31,"related-skills":32},"specialist","implementation","https:\u002F\u002Fgithub.com\u002FJeffallan","language","1.1.0","PHP, Laravel, Symfony, Composer, PHPStan, PSR, PHP API, Eloquent, Doctrine","code","fullstack-guardian, fastapi-expert","main","8859218955d9504cd18b59e7892100718039d3b4","data\u002Fskills\u002Fjeffallan-claude-skills\u002Fphp-pro\u002Fskills\u002Fphp-pro",1,"https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper","https:\u002F\u002Fgithub.com\u002Fom-scogo","SDE-1 @ Scogo ","2026-07-18 12:22:46",{"source":8,"skillName":5,"commands":42,"prompt":52,"zipAvailable":53},[43,46,49],{"tool":44,"command":45},"npx","npx skills add om-scogo\u002Fskillsh-scraper --skill php-pro",{"tool":47,"command":48},"bunx","bunx skills add om-scogo\u002Fskillsh-scraper --skill php-pro",{"tool":50,"command":51},"pnpm","pnpm dlx skills add om-scogo\u002Fskillsh-scraper --skill php-pro","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fjeffallan-claude-skills\u002Fphp-pro\u002Fskills\u002Fphp-pro\u002FSKILL.md",true,[],[56,63,68,75,80,87],{"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},"01M7D6MC9FAAEV4CMNYX8W7JTG","arxiv-search","Search arXiv physics, math, and computer science preprints using natural language queries. Powered by Valyu semantic search.","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fyorkeccak-scientific-skills\u002Farxiv-search\u002Fskills\u002Farxiv-search\u002FSKILL.md",[],[],{"skillNo":64,"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":65,"categories":66,"keywords":67,"publishedAt":19},"01M7D6M85CKKN87TA98VCQV4H7","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fyorkeccak-scientific-skills\u002Farxiv-search\u002FSkill.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"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},"01M7D4ZTCS4DR3CE4JY06X84T2","working-with-legacy-code","Safely change and test untested codebases using Feathers' \"Working Effectively with Legacy Code\". Use when the user mentions \"legacy code\", \"no tests\", \"untested codebase\", \"how do I test this\", \"seams\", \"characterization tests\", \"golden master\", \"sprout method\", \"afraid to change this code\", \"monster method\", \"dependency breaking\", or \"inherited a messy codebase\". Also trigger when changing code without tests safely, getting a class under test when constructors, statics, or singletons block it, adding features to tangled modules, or planning incremental test coverage for an old codebase. Covers the legacy-code change algorithm, seams, characterization tests, sprout\u002Fwrap, and dependency-breaking techniques. For refactoring code that already has tests, see refactoring-patterns. For day-to-day code quality, see clean-code.","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwondelai-skills\u002Fworking-with-legacy-code\u002Fworking-with-legacy-code\u002FSKILL.md",[],[],{"skillNo":76,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M7D4ZHZKJD2RSNGAF63V14P4","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwondelai-skills\u002Fworking-with-legacy-code\u002FSkill.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M7D4ZB4CJBFW5JE67CPH2QRV","web-typography","Select, pair, and implement typefaces for web projects. Use when the user mentions \"font pairing\", \"which typeface\", \"line height\", \"responsive typography\", \"web font loading\", \"type hierarchy\", \"variable fonts\", \"FOUT\u002FFOIT\", \"typographic scale\", or \"the text is hard to read\". Also trigger when choosing between system fonts and web fonts, optimizing font-loading performance, or designing readable long-form content. Covers readability evaluation, CSS implementation, and performance optimization. For overall UI design systems, see refactoring-ui. For dramatic typographic experiences, see top-design.","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwondelai-skills\u002Fweb-typography\u002Fweb-typography\u002FSKILL.md",[],[],{"skillNo":88,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":19},"01M7D4Z4MVYVY3NMJ18BNV6WNA","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwondelai-skills\u002Fweb-typography\u002FSkill.md",[],[]]