[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M73AXZ452863VTX2N85GCQ27":3,"skill-same:01M73AXZ452863VTX2N85GCQ27":76},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":32,"commitSha":33,"skillDirectory":34,"forksCount":35,"repositoryHtmlUrl":36,"repositoryHomepageUrl":6,"ownerHtmlUrl":37,"ownerBlogUrl":38,"ownerDescription":6,"updatedAt":39,"install":40,"resources":53},"01M73AXZ452863VTX2N85GCQ27","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.","roohe\u002Fagentic-super-skills","roohe","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F99054084?v=4","01M734WCDFP6RZVT5CNM00QR26","01M734WCE4BD0T4NZS5PCV9V5F",10,"MIT","https:\u002F\u002Fgithub.com\u002Froohe\u002Fagentic-super-skills\u002Fblob\u002Fmaster\u002Fskills_library\u002Fphp-pro\u002FSKILL.md",[],[],"2026-11-11 15:11:14",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":14,"metadata":23,"description":7},{"role":24,"scope":25,"author":26,"domain":27,"version":28,"triggers":29,"output-format":30,"related-skills":31},"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","master","f483e54f3ad5f202a77d45f2e57f8d970b71195f","skills_library\u002Fphp-pro",2,"https:\u002F\u002Fgithub.com\u002Froohe\u002Fagentic-super-skills","https:\u002F\u002Fgithub.com\u002Froohe","yoou.link","2026-05-19 15:56:07",{"source":8,"skillName":5,"commands":41,"prompt":51,"zipAvailable":52},[42,45,48],{"tool":43,"command":44},"npx","npx skills add roohe\u002Fagentic-super-skills --skill php-pro",{"tool":46,"command":47},"bunx","bunx skills add roohe\u002Fagentic-super-skills --skill php-pro",{"tool":49,"command":50},"pnpm","pnpm dlx skills add roohe\u002Fagentic-super-skills --skill php-pro","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Froohe\u002Fagentic-super-skills\u002Fblob\u002Fmaster\u002Fskills_library\u002Fphp-pro\u002FSKILL.md",true,[54,60,64,68,72],{"path":55,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":58,"sourceHtmlUrl":59},"references\u002Fasync-patterns.md","REFERENCE","参考文档",9047,"https:\u002F\u002Fgithub.com\u002Froohe\u002Fagentic-super-skills\u002Fblob\u002Fmaster\u002Fskills_library\u002Fphp-pro\u002Freferences\u002Fasync-patterns.md",{"path":61,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":62,"sourceHtmlUrl":63},"references\u002Flaravel-patterns.md",8919,"https:\u002F\u002Fgithub.com\u002Froohe\u002Fagentic-super-skills\u002Fblob\u002Fmaster\u002Fskills_library\u002Fphp-pro\u002Freferences\u002Flaravel-patterns.md",{"path":65,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":66,"sourceHtmlUrl":67},"references\u002Fmodern-php-features.md",6403,"https:\u002F\u002Fgithub.com\u002Froohe\u002Fagentic-super-skills\u002Fblob\u002Fmaster\u002Fskills_library\u002Fphp-pro\u002Freferences\u002Fmodern-php-features.md",{"path":69,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":70,"sourceHtmlUrl":71},"references\u002Fsymfony-patterns.md",11358,"https:\u002F\u002Fgithub.com\u002Froohe\u002Fagentic-super-skills\u002Fblob\u002Fmaster\u002Fskills_library\u002Fphp-pro\u002Freferences\u002Fsymfony-patterns.md",{"path":73,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":74,"sourceHtmlUrl":75},"references\u002Ftesting-quality.md",11466,"https:\u002F\u002Fgithub.com\u002Froohe\u002Fagentic-super-skills\u002Fblob\u002Fmaster\u002Fskills_library\u002Fphp-pro\u002Freferences\u002Ftesting-quality.md",[77,84,91,98,105,112],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":18},"01M73D865CZME2FCMKA4PQM348","zarr-python","Chunked N-D arrays for cloud storage. Compressed arrays, parallel I\u002FO, S3\u002FGCS integration, NumPy\u002FDask\u002FXarray compatible, for large-scale scientific computing pipelines.","https:\u002F\u002Fgithub.com\u002Froohe\u002Fagentic-super-skills\u002Fblob\u002Fmaster\u002Fskills_library\u002Fzarr-python\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":18},"01M73D7Z64J4ABWZJD7P44XBBF","youtube-downloader","Download and process YouTube content for research. Use when: downloading competitor videos for analysis; extracting audio for podcasts; getting transcripts for content repurposing; archiving webinars; research content curation","https:\u002F\u002Fgithub.com\u002Froohe\u002Fagentic-super-skills\u002Fblob\u002Fmaster\u002Fskills_library\u002Fyoutube-downloader\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":18},"01M73D7K8778TGZV3GJFR3703D","yc-pitch-deck","Create a compelling startup pitch deck that follows the structure proven to raise billions from top investors. Master the YC and Sequoia formats that get founders funded. Use when: **Fundraising** to create investor pitch decks; **YC application** to structure your narrative; **Demo Day prep** to craft your 2-minute pitch; **Angel investors** to communicate your opportunity; **Partnership pitches** to structure compelling asks","https:\u002F\u002Fgithub.com\u002Froohe\u002Fagentic-super-skills\u002Fblob\u002Fmaster\u002Fskills_library\u002Fyc-pitch-deck\u002FSKILL.md",[],[],{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":18},"01M73D70KJSE0E8Z28YMNNRT04","x-twitter-scraper","Use when the user needs X (Twitter) data or confirmation-gated X actions through Xquik: tweet search, user lookup, follower extraction, media download, monitoring, webhooks, MCP, SDKs, posting, likes, DMs, and profile updates. Requires a Xquik API key. Never ask for X login material.","https:\u002F\u002Fgithub.com\u002Froohe\u002Fagentic-super-skills\u002Fblob\u002Fmaster\u002Fskills_library\u002Fx-twitter-scraper\u002FSKILL.md",[],[],{"skillNo":106,"name":107,"nameZh":6,"description":108,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":109,"categories":110,"keywords":111,"publishedAt":18},"01M73D6ED01GV077R7K4NZNFZJ","write-vignette","Create R package vignettes using R Markdown or Quarto. Covers vignette setup, YAML configuration, code chunk options, building and testing, and CRAN requirements for vignettes. Use when adding a Getting Started tutorial, documenting complex workflows spanning multiple functions, creating domain-specific guides, or when CRAN submission requires user-facing documentation beyond function help pages.","https:\u002F\u002Fgithub.com\u002Froohe\u002Fagentic-super-skills\u002Fblob\u002Fmaster\u002Fskills_library\u002Fwrite-vignette\u002FSKILL.md",[],[],{"skillNo":113,"name":114,"nameZh":6,"description":115,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":116,"categories":117,"keywords":118,"publishedAt":18},"01M73D69YJR0BK3NFHE0CYG3EF","write-validation-documentation","Write IQ\u002FOQ\u002FPQ validation documentation for computerized systems in regulated environments. Covers protocols, reports, test scripts, deviation handling, and approval workflows. Use when validating R or other software for regulated use, preparing for a regulatory audit, documenting qualification of computing environments, or creating and updating validation protocols and reports for new or re-qualified systems.","https:\u002F\u002Fgithub.com\u002Froohe\u002Fagentic-super-skills\u002Fblob\u002Fmaster\u002Fskills_library\u002Fwrite-validation-documentation\u002FSKILL.md",[],[]]