[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6X7CVDG8T30X2XRDAX18JFN":3,"skill-same:01M6X7CVDG8T30X2XRDAX18JFN":87},{"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":28,"publishedAt":48,"linkOnly":49,"markdownContent":50,"markdownBody":51,"frontMatter":52,"refName":59,"commitSha":60,"skillDirectory":61,"forksCount":62,"repositoryHtmlUrl":63,"repositoryHomepageUrl":64,"ownerHtmlUrl":65,"ownerBlogUrl":64,"ownerDescription":66,"updatedAt":67,"install":68,"resources":80},"01M6X7CVDG8T30X2XRDAX18JFN","php-coder",null,"Writes or edits PHP code — controllers, classes, type hints, SOLID refactors, modern idioms — even without naming PHP. NOT for writing tests (use pest-testing) or explaining PHP concepts.","event4u-app\u002Fagent-config","event4u-app","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F199339632?v=4","01M6X5TWBNCQCE1VDKT4E9KF7N","event4u.app","01M6X5TWF4HRM266RG2Q5VVH1X",19,"MIT","https:\u002F\u002Fgithub.com\u002Fevent4u-app\u002Fagent-config\u002Fblob\u002Fmain\u002Fsrc\u002Fskills\u002Fphp-coder\u002FSKILL.md",[18,23],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000018","写作与文案","SCENARIO","使用场景",{"categoryNo":24,"categoryName":25,"taxonomyType":26,"taxonomyTypeDesc":27},"01JBSEEDCAT000000000000036","内容创作者","PROFESSION","适用职业",[29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47],"php coder","php","coder","idioms","for","true","concepts","naming","professional","false","type","tests","testing","use","engineering","writing tests","code","solid","writing","2026-11-10 10:12:30",false,"---\nmodel_tier: medium\nname: php-coder\ndescription: \"Writes or edits PHP code — controllers, classes, type hints, SOLID refactors, modern idioms — even without naming PHP. NOT for writing tests (use pest-testing) or explaining PHP concepts.\"\ndomain: engineering\nworkspaces:\n  - engineering\npacks:\n  - php\ntrust:\n  level: professional\ninstall:\n  default: false\n  removable: true\n---\n\n# coder\n\n## When to use\n\nThis skill applies to ALL code generation and editing tasks. Every other skill builds on top of this one.\n\nDo NOT use when:\n- Only reading\u002Freviewing code (use `code-review-lens` skill)\n- Only running quality tools (use `quality-tools` skill)\n\n## Procedure: Before writing code\n\n### Step 0: Inspect project\n\n1. Read `AGENTS.md` and `.github\u002Fcopilot-instructions.md` for project-specific rules.\n2. If working in a module (`app\u002FModules\u002F*\u002F`), check `app\u002FModules\u002F{Module}\u002Fagents\u002F` for module docs.\n3. Look at neighboring files in the same directory — match the style.\n4. Read `.\u002Fagents\u002F` for project-specific architecture.\n5. Check `ecs.php` \u002F `rector.php` (if they exist) — code accordingly.\n6. Read `Makefile` or `Taskfile.yml` for available build\u002Ftest\u002Fquality targets.\n\n### Step 1: Detect project type\n\n- `artisan` exists → Laravel project (Pest, Modules if present)\n- No `artisan` + `composer.json` → Standalone PHP \u002F Composer project\n- Check `AGENTS.md` and `.\u002Fagents\u002F` for conventions\n\n### Step 2: Apply conventions\n\n→ See `php-coding` rule (always loaded) for PHP coding standards.\n→ See guideline `php\u002Fgeneral.md` for detailed PHP conventions.\n→ See guideline `php\u002Fcontrollers.md`, `php\u002Feloquent.md`, etc. for domain-specific conventions.\n\n### Step 3: Stop-gate — branching on a discriminator?\n\nBefore writing **a second** `match`\u002F`switch` arm, **a second** `if\u002Felseif`\nbranch, or **a second** class hardcoded to one enum\u002Fstring value (e.g.\n`Provider::FOO->value`, `'stripe'`, a `case Type::CSV`), STOP and run the\nStrategy sniff test.\n\nTrigger keywords in the task or surrounding code:\n\n- enum\u002Fstring used as a type-tag: `Provider`, `Type`, `Channel`, `Format`,\n  `Driver`, `Kind`\n- repeated `match ($x)` \u002F `switch ($x)` blocks on the same value\n- class names that bake a single enum case in: `StripeImportService`,\n  `CsvExporter`, `Ks21Job` next to `GeoCaptureJob` with the same shape\n- allowlist constants: `private const SUPPORTED_FOO = [Type::A, Type::B]`\n\n→ Run the sniff test in\n[`docs\u002Fguidelines\u002Fphp\u002Fpatterns\u002Fstrategy.md`](..\u002F..\u002F..\u002Fdocs\u002Fguidelines\u002Fphp\u002Fpatterns\u002Fstrategy.md#sniff-test--when-an-enumstring-discriminator-wants-to-become-a-strategy).\nTwo \"yes\" answers → propose Strategy + Registry **before** adding the new\nbranch. Three \"yes\" → it is already overdue and the refactor is the change.\n\nThis gate fires **per task**, not per file — once you've passed the sniff\ntest for a given discriminator, do not re-ask on the next branch.\n\n### Core principles\n\n- **KISS** — simplest solution that works. No over-engineering.\n- **YAGNI** — only build what's needed now.\n- **DRY** — extract shared logic. Don't abstract prematurely.\n- **SOLID** — single responsibility, depend on abstractions, small interfaces.\n\n### Validate\n\n- Run PHPStan on changed files — must pass at level 9.\n- Run affected tests — must pass.\n- Verify strict types, typed properties, return types on all new code.\n- Check that no `dd()`, `var_dump()`, `print_r()` remain.\n\n## Output format\n\n1. Code following project guidelines and existing patterns\n2. All downstream changes (callers, tests, imports) included\n\n## Verification examples\n\n- **Backend changes (service, controller, repository)**: probe the route with `curl` or an `actingAs()` HTTP test under `api\u002F`; assert response shape and side effects.\n- **Frontend-adjacent changes (Blade \u002F Livewire component wiring)**: drive the component with a `livewire test`, a Playwright spec, or a browser `screenshot` snapshot.\n- Always run the targeted test (`pest --filter=…`) and the relevant `phpstan` \u002F `rector` checks before claiming done.\n\n## Gotcha\n\n- Don't introduce new patterns without being asked.\n- Don't refactor code you're not working on.\n- Use `Math` helper for ALL calculations — never raw PHP arithmetic.\n- Sentry via a declared wrapper (`MonitoringHelper`), if any.\n\n## Do NOT\n\n- Do NOT use native arithmetic (`+`, `-`, `*`, `\u002F`) for business calculations — use `Math` helper.\n- Do NOT refactor code you're not actively working on.\n- Do NOT use `var_dump()`, `print_r()`, `dd()` — disallowed by PHPStan.\n\n## Anti-bruteforce — diagnose before retry\n\nWhen PHPStan, Rector, or a test goes red after a change, do not retry blindly by toggling type hints, adding `@phpstan-ignore`, or shuffling arguments until it passes. Diagnose the root cause first — read the error, trace the symbol, then apply a targeted fix. Trial-and-error type narrowing hides real type errors.\n\n## Auto-trigger keywords\n\n- PHP coding\n- coding standards\n- SOLID\n- clean code\n- best practices\n","# coder\n\n## When to use\n\nThis skill applies to ALL code generation and editing tasks. Every other skill builds on top of this one.\n\nDo NOT use when:\n- Only reading\u002Freviewing code (use `code-review-lens` skill)\n- Only running quality tools (use `quality-tools` skill)\n\n## Procedure: Before writing code\n\n### Step 0: Inspect project\n\n1. Read `AGENTS.md` and `.github\u002Fcopilot-instructions.md` for project-specific rules.\n2. If working in a module (`app\u002FModules\u002F*\u002F`), check `app\u002FModules\u002F{Module}\u002Fagents\u002F` for module docs.\n3. Look at neighboring files in the same directory — match the style.\n4. Read `.\u002Fagents\u002F` for project-specific architecture.\n5. Check `ecs.php` \u002F `rector.php` (if they exist) — code accordingly.\n6. Read `Makefile` or `Taskfile.yml` for available build\u002Ftest\u002Fquality targets.\n\n### Step 1: Detect project type\n\n- `artisan` exists → Laravel project (Pest, Modules if present)\n- No `artisan` + `composer.json` → Standalone PHP \u002F Composer project\n- Check `AGENTS.md` and `.\u002Fagents\u002F` for conventions\n\n### Step 2: Apply conventions\n\n→ See `php-coding` rule (always loaded) for PHP coding standards.\n→ See guideline `php\u002Fgeneral.md` for detailed PHP conventions.\n→ See guideline `php\u002Fcontrollers.md`, `php\u002Feloquent.md`, etc. for domain-specific conventions.\n\n### Step 3: Stop-gate — branching on a discriminator?\n\nBefore writing **a second** `match`\u002F`switch` arm, **a second** `if\u002Felseif`\nbranch, or **a second** class hardcoded to one enum\u002Fstring value (e.g.\n`Provider::FOO->value`, `'stripe'`, a `case Type::CSV`), STOP and run the\nStrategy sniff test.\n\nTrigger keywords in the task or surrounding code:\n\n- enum\u002Fstring used as a type-tag: `Provider`, `Type`, `Channel`, `Format`,\n  `Driver`, `Kind`\n- repeated `match ($x)` \u002F `switch ($x)` blocks on the same value\n- class names that bake a single enum case in: `StripeImportService`,\n  `CsvExporter`, `Ks21Job` next to `GeoCaptureJob` with the same shape\n- allowlist constants: `private const SUPPORTED_FOO = [Type::A, Type::B]`\n\n→ Run the sniff test in\n[`docs\u002Fguidelines\u002Fphp\u002Fpatterns\u002Fstrategy.md`](..\u002F..\u002F..\u002Fdocs\u002Fguidelines\u002Fphp\u002Fpatterns\u002Fstrategy.md#sniff-test--when-an-enumstring-discriminator-wants-to-become-a-strategy).\nTwo \"yes\" answers → propose Strategy + Registry **before** adding the new\nbranch. Three \"yes\" → it is already overdue and the refactor is the change.\n\nThis gate fires **per task**, not per file — once you've passed the sniff\ntest for a given discriminator, do not re-ask on the next branch.\n\n### Core principles\n\n- **KISS** — simplest solution that works. No over-engineering.\n- **YAGNI** — only build what's needed now.\n- **DRY** — extract shared logic. Don't abstract prematurely.\n- **SOLID** — single responsibility, depend on abstractions, small interfaces.\n\n### Validate\n\n- Run PHPStan on changed files — must pass at level 9.\n- Run affected tests — must pass.\n- Verify strict types, typed properties, return types on all new code.\n- Check that no `dd()`, `var_dump()`, `print_r()` remain.\n\n## Output format\n\n1. Code following project guidelines and existing patterns\n2. All downstream changes (callers, tests, imports) included\n\n## Verification examples\n\n- **Backend changes (service, controller, repository)**: probe the route with `curl` or an `actingAs()` HTTP test under `api\u002F`; assert response shape and side effects.\n- **Frontend-adjacent changes (Blade \u002F Livewire component wiring)**: drive the component with a `livewire test`, a Playwright spec, or a browser `screenshot` snapshot.\n- Always run the targeted test (`pest --filter=…`) and the relevant `phpstan` \u002F `rector` checks before claiming done.\n\n## Gotcha\n\n- Don't introduce new patterns without being asked.\n- Don't refactor code you're not working on.\n- Use `Math` helper for ALL calculations — never raw PHP arithmetic.\n- Sentry via a declared wrapper (`MonitoringHelper`), if any.\n\n## Do NOT\n\n- Do NOT use native arithmetic (`+`, `-`, `*`, `\u002F`) for business calculations — use `Math` helper.\n- Do NOT refactor code you're not actively working on.\n- Do NOT use `var_dump()`, `print_r()`, `dd()` — disallowed by PHPStan.\n\n## Anti-bruteforce — diagnose before retry\n\nWhen PHPStan, Rector, or a test goes red after a change, do not retry blindly by toggling type hints, adding `@phpstan-ignore`, or shuffling arguments until it passes. Diagnose the root cause first — read the error, trace the symbol, then apply a targeted fix. Trial-and-error type narrowing hides real type errors.\n\n## Auto-trigger keywords\n\n- PHP coding\n- coding standards\n- SOLID\n- clean code\n- best practices\n",{"name":5,"packs":53,"trust":54,"domain":43,"install":55,"model_tier":57,"workspaces":58,"description":7},[30],{"level":37},{"default":49,"removable":56},true,"medium",[43],"main","12bd765ce1d800501d45dfb8232102793af01290","src\u002Fskills\u002Fphp-coder",1,"https:\u002F\u002Fgithub.com\u002Fevent4u-app\u002Fagent-config","https:\u002F\u002Fevent4u.app","https:\u002F\u002Fgithub.com\u002Fevent4u-app","Your events in your hand","2026-11-14 02:29:41",{"source":8,"skillName":5,"commands":69,"prompt":79,"zipAvailable":56},[70,73,76],{"tool":71,"command":72},"npx","npx skills add event4u-app\u002Fagent-config --skill php-coder",{"tool":74,"command":75},"bunx","bunx skills add event4u-app\u002Fagent-config --skill php-coder",{"tool":77,"command":78},"pnpm","pnpm dlx skills add event4u-app\u002Fagent-config --skill php-coder","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fevent4u-app\u002Fagent-config\u002Fblob\u002Fmain\u002Fsrc\u002Fskills\u002Fphp-coder\u002FSKILL.md",[81],{"path":82,"resourceType":83,"resourceTypeDesc":84,"sizeBytes":85,"sourceHtmlUrl":86},"evals\u002Ftriggers.json","REFERENCE","参考文档",1384,"https:\u002F\u002Fgithub.com\u002Fevent4u-app\u002Fagent-config\u002Fblob\u002Fmain\u002Fsrc\u002Fskills\u002Fphp-coder\u002Fevals\u002Ftriggers.json",[88,104,117,129,141,151],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":97,"publishedAt":48},"01M6X84PK96XBPENXH66JCTSD1","unknown-key-fixture","Declares a key the schema does not know.","https:\u002F\u002Fgithub.com\u002Fevent4u-app\u002Fagent-config\u002Fblob\u002Fmain\u002Ftests\u002Fscripts\u002Ffixtures\u002Fbody-portable\u002Funknown-key\u002FSKILL.md",[94],{"categoryNo":95,"categoryName":96,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发",[98,99,100,101,102,103],"unknown key fixture","Unknown key","fixture","unknown","schema","package",{"skillNo":105,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":111,"publishedAt":48},"01M6X84HW7NAHZ7GZMQ9RXK1XJ","portable-fixture","Declares only semantics the MCP-lite carrier transports whole.","https:\u002F\u002Fgithub.com\u002Fevent4u-app\u002Fagent-config\u002Fblob\u002Fmain\u002Ftests\u002Fscripts\u002Ffixtures\u002Fbody-portable\u002Fportable\u002FSKILL.md",[110],{"categoryNo":95,"categoryName":96,"taxonomyType":21,"taxonomyTypeDesc":22},[100,112,113,114,115,103,116],"portable","portable fixture","engineer","only","MCP",{"skillNo":118,"name":119,"nameZh":6,"description":120,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":121,"categories":122,"keywords":124,"publishedAt":48},"01M6X84F29FE0RGGZ1ZTFGZTX2","non-portable-fixture","Declares a runtime semantic the carrier drops.","https:\u002F\u002Fgithub.com\u002Fevent4u-app\u002Fagent-config\u002Fblob\u002Fmain\u002Ftests\u002Fscripts\u002Ffixtures\u002Fbody-portable\u002Fnon-portable\u002FSKILL.md",[123],{"categoryNo":95,"categoryName":96,"taxonomyType":21,"taxonomyTypeDesc":22},[113,125,112,100,126,127,128,103],"non portable fixture","semantic","high","runtime",{"skillNo":130,"name":131,"nameZh":6,"description":132,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":133,"categories":134,"keywords":136,"publishedAt":48},"01M6X848F706PT9MDCX75JKJ6B","candidate-zero-width","A candidate whose prose carries an invisible joiner.","https:\u002F\u002Fgithub.com\u002Fevent4u-app\u002Fagent-config\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskill-scout-candidates\u002Fzero-width-injection\u002FSKILL.md",[135],{"categoryNo":95,"categoryName":96,"taxonomyType":21,"taxonomyTypeDesc":22},[137,138,139,140],"candidate zero width","candidate","ZeRO","prose",{"skillNo":142,"name":143,"nameZh":6,"description":144,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":145,"categories":146,"keywords":148,"publishedAt":48},"01M6X841SSC2T31VDF41SA6DG1","candidate-disclosure-suppression","A candidate whose prose tells the agent to withhold from the user.","https:\u002F\u002Fgithub.com\u002Fevent4u-app\u002Fagent-config\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskill-scout-candidates\u002Fdisclosure-suppression\u002FSKILL.md",[147],{"categoryNo":95,"categoryName":96,"taxonomyType":21,"taxonomyTypeDesc":22},[149,138,140,150],"candidate disclosure suppression","user",{"skillNo":152,"name":153,"nameZh":6,"description":154,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":155,"categories":156,"keywords":158,"publishedAt":48},"01M6X83TFS5AGPBPVTQNWP0BB3","candidate-dangerous-frontmatter","A candidate claiming an unscoped tool grant and a permission bypass.","https:\u002F\u002Fgithub.com\u002Fevent4u-app\u002Fagent-config\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fskill-scout-candidates\u002Fdangerous-frontmatter\u002FSKILL.md",[157],{"categoryNo":95,"categoryName":96,"taxonomyType":21,"taxonomyTypeDesc":22},[159,138,160,161,162,163],"candidate dangerous frontmatter","frontmatter","shell","permission","tool"]