[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6PHPWXG5MCQ37WE2J27S71E":3,"skill-same:01M6PHPWXG5MCQ37WE2J27S71E":84},{"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":26,"publishedAt":42,"linkOnly":43,"markdownContent":44,"markdownBody":45,"frontMatter":46,"refName":53,"commitSha":54,"skillDirectory":55,"forksCount":14,"repositoryHtmlUrl":56,"repositoryHomepageUrl":6,"ownerHtmlUrl":57,"ownerBlogUrl":58,"ownerDescription":6,"updatedAt":59,"install":60,"resources":73},"01M6PHPWXG5MCQ37WE2J27S71E","phpunit-skill",null,"Generates PHPUnit tests in PHP. Covers assertions, data providers, mocking, and test doubles. Use when user mentions \"PHPUnit\", \"TestCase\", \"assertEquals\", \"PHP test\". Triggers on: \"PHPUnit\", \"TestCase PHP\", \"assertEquals PHP\", \"PHP unit test\".","headmktlucca-ui\u002Fneuroads-lp","headmktlucca-ui","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F247379838?v=4","01M6PDVAV6M1W96D1SR1PDF8CS","NeuroAds","01M6PDVAZ4P281GNDKD45CYTF5",0,"MIT","https:\u002F\u002Fgithub.com\u002Fheadmktlucca-ui\u002Fneuroads-lp\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002Fphpunit-skill\u002FSKILL.md",[18,23],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000008","测试与质量","SCENARIO","使用场景",{"categoryNo":24,"categoryName":25,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发",[27,28,29,30,31,32,33,34,35,36,37,38,39,40,41],"phpunit skill","testing","test","data","Providers","php","user","use","tests","triggers","unit","mocking","unit-testing","assertions","unit test","2026-11-10 10:12:30",false,"---\nname: phpunit-skill\ndescription: >\n  Generates PHPUnit tests in PHP. Covers assertions, data providers, mocking,\n  and test doubles. Use when user mentions \"PHPUnit\", \"TestCase\", \"assertEquals\",\n  \"PHP test\". Triggers on: \"PHPUnit\", \"TestCase PHP\", \"assertEquals PHP\",\n  \"PHP unit test\".\nlanguages:\n  - PHP\ncategory: unit-testing\nlicense: MIT\nmetadata:\n  author: TestMu AI\n  version: \"1.0\"\n---\n\n# PHPUnit Testing Skill\n\n## Core Patterns\n\n### Basic Test\n\n```php\n\u003C?php\nuse PHPUnit\\Framework\\TestCase;\n\nclass CalculatorTest extends TestCase\n{\n    private Calculator $calculator;\n\n    protected function setUp(): void\n    {\n        $this->calculator = new Calculator();\n    }\n\n    public function testAddition(): void\n    {\n        $this->assertEquals(5, $this->calculator->add(2, 3));\n    }\n\n    public function testDivideByZero(): void\n    {\n        $this->expectException(\\DivisionByZeroError::class);\n        $this->calculator->divide(10, 0);\n    }\n\n    public function testMultipleAssertions(): void\n    {\n        $this->assertSame(4, $this->calculator->add(2, 2));\n        $this->assertSame(0, $this->calculator->subtract(2, 2));\n        $this->assertSame(6, $this->calculator->multiply(2, 3));\n    }\n}\n```\n\n### Data Providers\n\n```php\n\u002F**\n * @dataProvider additionProvider\n *\u002F\npublic function testAdd(int $a, int $b, int $expected): void\n{\n    $this->assertEquals($expected, $this->calculator->add($a, $b));\n}\n\npublic static function additionProvider(): array\n{\n    return [\n        'positive numbers' => [2, 3, 5],\n        'negative numbers' => [-1, -1, -2],\n        'zeros'            => [0, 0, 0],\n        'mixed'            => [10, -5, 5],\n    ];\n}\n```\n\n### Assertions\n\n```php\n$this->assertEquals($expected, $actual);\n$this->assertSame($expected, $actual);          \u002F\u002F Strict type\n$this->assertNotEquals($unexpected, $actual);\n$this->assertTrue($condition);\n$this->assertFalse($condition);\n$this->assertNull($value);\n$this->assertNotNull($value);\n$this->assertCount(3, $array);\n$this->assertContains('item', $array);\n$this->assertArrayHasKey('key', $array);\n$this->assertInstanceOf(MyClass::class, $obj);\n$this->assertStringContainsString('sub', $string);\n$this->assertMatchesRegularExpression('\u002F\\d+\u002F', $string);\n$this->assertEmpty($collection);\n$this->assertGreaterThan(5, $value);\n$this->assertJsonStringEqualsJsonString($expected, $actual);\n```\n\n### Mocking\n\n```php\npublic function testCreateUser(): void\n{\n    $mockRepo = $this->createMock(UserRepository::class);\n    $mockRepo->expects($this->once())\n        ->method('save')\n        ->with($this->isInstanceOf(User::class))\n        ->willReturn(new User(1, 'Alice'));\n\n    $mockEmail = $this->createMock(EmailService::class);\n    $mockEmail->expects($this->once())\n        ->method('sendWelcome')\n        ->with('alice@test.com');\n\n    $service = new UserService($mockRepo, $mockEmail);\n    $result = $service->createUser('alice@test.com', 'Alice');\n\n    $this->assertEquals(1, $result->getId());\n}\n```\n\n### Lifecycle\n\n```php\npublic static function setUpBeforeClass(): void { }   \u002F\u002F Once before all\nprotected function setUp(): void { }                    \u002F\u002F Before each test\nprotected function tearDown(): void { }                 \u002F\u002F After each test\npublic static function tearDownAfterClass(): void { }  \u002F\u002F Once after all\n```\n\n### Anti-Patterns\n\n| Bad | Good | Why |\n|-----|------|-----|\n| `assertEquals` for strict | `assertSame` for type+value | Type coercion |\n| No data providers | `@dataProvider` | DRY |\n| Global state | `setUp()`\u002F`tearDown()` | Isolation |\n| No groups | `@group smoke` | Run subsets |\n\n## Setup: `composer require --dev phpunit\u002Fphpunit`\n## Run: `.\u002Fvendor\u002Fbin\u002Fphpunit` or `.\u002Fvendor\u002Fbin\u002Fphpunit --group smoke`\n## Config: `phpunit.xml` with testsuites and coverage\n\n## Deep Patterns\n\nSee `reference\u002Fplaybook.md` for production-grade patterns:\n\n| Section | What You Get |\n|---------|-------------|\n| §1 Project Setup | composer.json, phpunit.xml with suites, coverage config, project structure |\n| §2 Test Patterns | Assertions, #[DataProvider], Generator yields, strict comparisons |\n| §3 Mocking | createMock with callbacks, Mockery spies, consecutive returns |\n| §4 Test Doubles | In-memory fakes, repository pattern, test helpers |\n| §5 Faker & Fixtures | TestDataFactory with overrides, bulk generation |\n| §6 Exception Testing | Detailed exception assertions, warning testing |\n| §7 HTTP & API Testing | Symfony WebTestCase, auth, validation, pagination |\n| §8 Database Testing | Transaction rollback, repository integration, Doctrine |\n| §9 CI\u002FCD Integration | GitHub Actions with MySQL\u002FRedis, coverage thresholds |\n| §10 Debugging Table | 12 common problems with causes and fixes |\n| §11 Best Practices | 14-item production PHP testing checklist |\n","# PHPUnit Testing Skill\n\n## Core Patterns\n\n### Basic Test\n\n```php\n\u003C?php\nuse PHPUnit\\Framework\\TestCase;\n\nclass CalculatorTest extends TestCase\n{\n    private Calculator $calculator;\n\n    protected function setUp(): void\n    {\n        $this->calculator = new Calculator();\n    }\n\n    public function testAddition(): void\n    {\n        $this->assertEquals(5, $this->calculator->add(2, 3));\n    }\n\n    public function testDivideByZero(): void\n    {\n        $this->expectException(\\DivisionByZeroError::class);\n        $this->calculator->divide(10, 0);\n    }\n\n    public function testMultipleAssertions(): void\n    {\n        $this->assertSame(4, $this->calculator->add(2, 2));\n        $this->assertSame(0, $this->calculator->subtract(2, 2));\n        $this->assertSame(6, $this->calculator->multiply(2, 3));\n    }\n}\n```\n\n### Data Providers\n\n```php\n\u002F**\n * @dataProvider additionProvider\n *\u002F\npublic function testAdd(int $a, int $b, int $expected): void\n{\n    $this->assertEquals($expected, $this->calculator->add($a, $b));\n}\n\npublic static function additionProvider(): array\n{\n    return [\n        'positive numbers' => [2, 3, 5],\n        'negative numbers' => [-1, -1, -2],\n        'zeros'            => [0, 0, 0],\n        'mixed'            => [10, -5, 5],\n    ];\n}\n```\n\n### Assertions\n\n```php\n$this->assertEquals($expected, $actual);\n$this->assertSame($expected, $actual);          \u002F\u002F Strict type\n$this->assertNotEquals($unexpected, $actual);\n$this->assertTrue($condition);\n$this->assertFalse($condition);\n$this->assertNull($value);\n$this->assertNotNull($value);\n$this->assertCount(3, $array);\n$this->assertContains('item', $array);\n$this->assertArrayHasKey('key', $array);\n$this->assertInstanceOf(MyClass::class, $obj);\n$this->assertStringContainsString('sub', $string);\n$this->assertMatchesRegularExpression('\u002F\\d+\u002F', $string);\n$this->assertEmpty($collection);\n$this->assertGreaterThan(5, $value);\n$this->assertJsonStringEqualsJsonString($expected, $actual);\n```\n\n### Mocking\n\n```php\npublic function testCreateUser(): void\n{\n    $mockRepo = $this->createMock(UserRepository::class);\n    $mockRepo->expects($this->once())\n        ->method('save')\n        ->with($this->isInstanceOf(User::class))\n        ->willReturn(new User(1, 'Alice'));\n\n    $mockEmail = $this->createMock(EmailService::class);\n    $mockEmail->expects($this->once())\n        ->method('sendWelcome')\n        ->with('alice@test.com');\n\n    $service = new UserService($mockRepo, $mockEmail);\n    $result = $service->createUser('alice@test.com', 'Alice');\n\n    $this->assertEquals(1, $result->getId());\n}\n```\n\n### Lifecycle\n\n```php\npublic static function setUpBeforeClass(): void { }   \u002F\u002F Once before all\nprotected function setUp(): void { }                    \u002F\u002F Before each test\nprotected function tearDown(): void { }                 \u002F\u002F After each test\npublic static function tearDownAfterClass(): void { }  \u002F\u002F Once after all\n```\n\n### Anti-Patterns\n\n| Bad | Good | Why |\n|-----|------|-----|\n| `assertEquals` for strict | `assertSame` for type+value | Type coercion |\n| No data providers | `@dataProvider` | DRY |\n| Global state | `setUp()`\u002F`tearDown()` | Isolation |\n| No groups | `@group smoke` | Run subsets |\n\n## Setup: `composer require --dev phpunit\u002Fphpunit`\n## Run: `.\u002Fvendor\u002Fbin\u002Fphpunit` or `.\u002Fvendor\u002Fbin\u002Fphpunit --group smoke`\n## Config: `phpunit.xml` with testsuites and coverage\n\n## Deep Patterns\n\nSee `reference\u002Fplaybook.md` for production-grade patterns:\n\n| Section | What You Get |\n|---------|-------------|\n| §1 Project Setup | composer.json, phpunit.xml with suites, coverage config, project structure |\n| §2 Test Patterns | Assertions, #[DataProvider], Generator yields, strict comparisons |\n| §3 Mocking | createMock with callbacks, Mockery spies, consecutive returns |\n| §4 Test Doubles | In-memory fakes, repository pattern, test helpers |\n| §5 Faker & Fixtures | TestDataFactory with overrides, bulk generation |\n| §6 Exception Testing | Detailed exception assertions, warning testing |\n| §7 HTTP & API Testing | Symfony WebTestCase, auth, validation, pagination |\n| §8 Database Testing | Transaction rollback, repository integration, Doctrine |\n| §9 CI\u002FCD Integration | GitHub Actions with MySQL\u002FRedis, coverage thresholds |\n| §10 Debugging Table | 12 common problems with causes and fixes |\n| §11 Best Practices | 14-item production PHP testing checklist |\n",{"name":5,"license":15,"category":39,"metadata":47,"languages":50,"description":52},{"author":48,"version":49},"TestMu AI","1.0",[51],"PHP","Generates PHPUnit tests in PHP. Covers assertions, data providers, mocking, and test doubles. Use when user mentions \"PHPUnit\", \"TestCase\", \"assertEquals\", \"PHP test\". Triggers on: \"PHPUnit\", \"TestCase PHP\", \"assertEquals PHP\", \"PHP unit test\".\n","main","7a940b8e5af16c95e5c190a524421d32fc7445a9",".agent\u002Fskills\u002Fphpunit-skill","https:\u002F\u002Fgithub.com\u002Fheadmktlucca-ui\u002Fneuroads-lp","https:\u002F\u002Fgithub.com\u002Fheadmktlucca-ui","https:\u002F\u002Fneuroads.com.br","2026-08-12 00:42:44",{"source":8,"skillName":5,"commands":61,"prompt":71,"zipAvailable":72},[62,65,68],{"tool":63,"command":64},"npx","npx skills add headmktlucca-ui\u002Fneuroads-lp --skill phpunit-skill",{"tool":66,"command":67},"bunx","bunx skills add headmktlucca-ui\u002Fneuroads-lp --skill phpunit-skill",{"tool":69,"command":70},"pnpm","pnpm dlx skills add headmktlucca-ui\u002Fneuroads-lp --skill phpunit-skill","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fheadmktlucca-ui\u002Fneuroads-lp\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002Fphpunit-skill\u002FSKILL.md",true,[74,80],{"path":75,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":78,"sourceHtmlUrl":79},"reference\u002Fadvanced-patterns.md","REFERENCE","参考文档",4024,"https:\u002F\u002Fgithub.com\u002Fheadmktlucca-ui\u002Fneuroads-lp\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002Fphpunit-skill\u002Freference\u002Fadvanced-patterns.md",{"path":81,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":82,"sourceHtmlUrl":83},"reference\u002Fplaybook.md",27519,"https:\u002F\u002Fgithub.com\u002Fheadmktlucca-ui\u002Fneuroads-lp\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002Fphpunit-skill\u002Freference\u002Fplaybook.md",[85,98,122,148,166,201],{"skillNo":86,"name":87,"nameZh":6,"description":88,"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":93,"publishedAt":42},"01M6PTDCZTXTGSTX4RFK901YSZ","xunit-skill","Generates xUnit.net tests in C#. Covers Fact\u002FTheory, constructor injection, IClassFixture, and FluentAssertions. Use when user mentions \"xUnit\", \"[Fact]\", \"[Theory]\", \"Assert.Equal\", \"C# xUnit\". Triggers on: \"xUnit\", \"[Fact]\", \"[Theory]\", \"Assert.Equal C#\", \"xUnit.net\".","https:\u002F\u002Fgithub.com\u002Fheadmktlucca-ui\u002Fneuroads-lp\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fxunit-skill\u002FSKILL.md",[91,92],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":24,"categoryName":25,"taxonomyType":21,"taxonomyTypeDesc":22},[94,95,28,96,33,34,35,36,37,39,97],"xunit","xunit skill","injection","C#",{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":106,"publishedAt":42},"01M6PTCB59ZTG5FTMWGPYEMMBP","xcuitest-skill","Generates XCUITest UI tests for iOS\u002FiPadOS apps in Swift. Apple's native testing framework for reliable, fast UI automation. Supports local simulators and TestMu AI cloud real devices. Use when user mentions \"XCUITest\", \"XCTest\", \"iOS UI test\", \"Swift test\", \"XCUIApplication\". Triggers on: \"XCUITest\", \"XCTest UI\", \"iOS UI test\", \"Swift UI test\", \"XCUIApplication\", \"TestMu\".","https:\u002F\u002Fgithub.com\u002Fheadmktlucca-ui\u002Fneuroads-lp\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fxcuitest-skill\u002FSKILL.md",[104,105],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":24,"categoryName":25,"taxonomyType":21,"taxonomyTypeDesc":22},[107,108,28,109,29,110,111,112,34,113,114,115,116,117,35,36,118,119,120,121],"xcuitest","xcuitest skill","automation","testing framework","ios","devices","mobile","mobile-testing","ui test","local","apple","apps","native","for","objective",{"skillNo":123,"name":124,"nameZh":6,"description":125,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":126,"categories":127,"keywords":132,"publishedAt":42},"01M6PTATMNTY9NF4J7KSR76YK6","world-builder","Create and manage generative game zones for Dorothy's Pokemon-style world. Use this skill when creating, updating, or designing game worlds via MCP tools.","https:\u002F\u002Fgithub.com\u002Fheadmktlucca-ui\u002Fneuroads-lp\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fworld-builder\u002FSKILL.md",[128,131],{"categoryNo":129,"categoryName":130,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000015","视觉设计",{"categoryNo":24,"categoryName":25,"taxonomyType":21,"taxonomyTypeDesc":22},[133,134,135,136,137,138,139,140,34,141,142,143,144,145,146,120,147],"builder","world","world builder","MCP","create","mcp tools","Tools","game","pokemon","manage","style","via","theme","zone","generative",{"skillNo":149,"name":150,"nameZh":6,"description":151,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":152,"categories":153,"keywords":156,"publishedAt":42},"01M6PT9Z92JTSQEHE1QR0NNW5F","webdriverio-skill","Generates WebdriverIO (WDIO) automation tests in JavaScript or TypeScript. Supports local and TestMu AI cloud. Use when user mentions \"WebdriverIO\", \"WDIO\", \"wdio.conf\", \"browser.url\", \"$\", \"$$\". Triggers on: \"WebdriverIO\", \"WDIO\", \"wdio\", \"browser.$\".","https:\u002F\u002Fgithub.com\u002Fheadmktlucca-ui\u002Fneuroads-lp\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fwebdriverio-skill\u002FSKILL.md",[154,155],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":24,"categoryName":25,"taxonomyType":21,"taxonomyTypeDesc":22},[157,28,158,109,159,160,161,162,33,34,163,116,35,36,164,165],"webdriverio skill","typescript","javascript","browser","cloud","e2e","e2e-testing","URL","conf",{"skillNo":167,"name":168,"nameZh":6,"description":169,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":170,"categories":171,"keywords":181,"publishedAt":42},"01M6PT9NVK36ZWCQ69YXK3FR4K","web-design-guidelines","Web platform design and accessibility guidelines. Use when building web interfaces, auditing accessibility, implementing responsive layouts, or reviewing web UI code. Triggers on tasks involving HTML, CSS, web components, WCAG compliance, responsive design, or web performance.","https:\u002F\u002Fgithub.com\u002Fheadmktlucca-ui\u002Fneuroads-lp\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fweb\u002FSKILL.md",[172,175,176],{"categoryNo":173,"categoryName":174,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000009","前端开发",{"categoryNo":129,"categoryName":130,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":177,"categoryName":178,"taxonomyType":179,"taxonomyTypeDesc":180},"01JBSEEDCAT000000000000032","设计师","PROFESSION","适用职业",[182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,36,200],"design","web","guidelines","web design guidelines","web design","css","performance","components","web components","tasks","code","web performance","ui","platform design","html","responsive design","responsive","platform","implementing",{"skillNo":202,"name":203,"nameZh":6,"description":204,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":205,"categories":206,"keywords":209,"publishedAt":42},"01M6PT9A3JKRE3X34276F2FW5R","watchos-design-guidelines","Apple Human Interface Guidelines for Apple Watch. Use when building watchOS apps, complications, or workout features. Triggers on tasks involving Watch UI, Digital Crown, glanceable interfaces, or wrist-based interactions.","https:\u002F\u002Fgithub.com\u002Fheadmktlucca-ui\u002Fneuroads-lp\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fwatchos\u002FSKILL.md",[207,208],{"categoryNo":129,"categoryName":130,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":177,"categoryName":178,"taxonomyType":179,"taxonomyTypeDesc":180},[182,184,210,191,194,34,211,212,117,199,213,36,118,214,120,215,216],"watchos design guidelines","workout","human","watch","interface","platform-design","features"]