[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6X75C7RSPB4SJ59BYP6BCKK":3,"skill-same:01M6X75C7RSPB4SJ59BYP6BCKK":75},{"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":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":53,"commitSha":54,"skillDirectory":55,"forksCount":56,"repositoryHtmlUrl":57,"repositoryHomepageUrl":58,"ownerHtmlUrl":59,"ownerBlogUrl":58,"ownerDescription":60,"updatedAt":61,"install":62,"resources":74},"01M6X75C7RSPB4SJ59BYP6BCKK","livewire-architect",null,"Use when shaping a Livewire component before code — full-page vs partial, parent\u002Fchild split, event flow, state-vs-props boundary, hydration cost — even on 'add this Livewire component'.","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\u002Flivewire-architect\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"livewire architect","architect","livewire","engineer","when","child","true","event","add","professional","false","full","frontend","use","page","laravel","shaping","flow","code","component","2026-11-10 10:12:30",false,"---\nmodel_tier: high\nname: livewire-architect\ndescription: \"Use when shaping a Livewire component before code — full-page vs partial, parent\u002Fchild split, event flow, state-vs-props boundary, hydration cost — even on 'add this Livewire component'.\"\npersonas:\n  - frontend-engineer\ndomain: engineering\nworkspaces:\n  - engineering\npacks:\n  - laravel\ntrust:\n  level: professional\ninstall:\n  default: false\n  removable: true\n---\n\n# livewire-architect\n\n> Architectural lens **above** the existing tactical [`livewire`](..\u002Flivewire\u002FSKILL.md)\n> skill. Decides component shape, lifecycle ownership, and the\n> full-page-vs-partial split *before* the first `mount()` is written.\n> The `livewire` skill handles Flux-component patterns and hydration\n> debugging once the shape is locked.\n\n## When to use\n\n- A Livewire feature is about to be built and the boundary between\n  components is unclear (one big component vs nested children?).\n- An existing component is \"doing too much\" — multiple unrelated\n  concerns, large `$listeners`, props bag growing turn over turn.\n- A page mixes Livewire + Blade partials and the data flow is\n  ambiguous (who owns `$user`, who emits, who listens?).\n- German triggers: \"wie schneide ich das?\", \"Vollseite oder\n  Teilkomponente?\", \"wer feuert das Event?\".\n\nDo NOT use when:\n\n- The shape is already locked and the question is mechanical\n  (Flux variant, `wire:model` modifier, `@entangle`) — route to\n  [`livewire`](..\u002Flivewire\u002FSKILL.md).\n- The page has no Livewire — pure Blade or Inertia\u002FReact — route\n  to [`blade-ui`](..\u002Fblade-ui\u002FSKILL.md) or [`react-shadcn-ui`](..\u002Freact-shadcn-ui\u002FSKILL.md).\n- The bug is a runtime hydration error — debug with `livewire`,\n  not redesign with this skill.\n\n## Procedure\n\n### 1. Analyze the existing screen — before designing anything\n\nInspect the route and read the existing Blade \u002F Livewire files to\nunderstand what's already there. List every dynamic surface on the\npage (form, table row, modal, nav badge). Mark each: **shared\nstate** (other surfaces re-render on change), **local state** (only\nthis surface cares), **server state** (must hit DB \u002F queue). This\nanalysis feeds every later step — do NOT skip ahead before the\ninventory is on paper.\n\n### 2. Choose the component shape\n\nPick one **before** writing code:\n\n| Shape | When | Cost |\n|---|---|---|\n| Full-page component | Route owns the whole screen, single backing model, ≤ 3 related actions | Cheapest; one mount, one render |\n| Parent + nested children | Two or more independent state islands on one route | Two mounts; coordinate via events, not props churn |\n| Partial component on Blade | Mostly static page, one reactive island | Cheap; component sees the world via props only |\n| Stack of full-page components | Wizard \u002F multi-step flow with own URL per step | Expensive; pick only when URL semantics matter |\n\nRule: if a child needs ≥ 4 props from the parent and emits ≥ 3\nevents back, the boundary is wrong — collapse or re-cut.\n\n### 3. Lock the state-vs-props boundary\n\nFor each piece of data the component reads, mark **public property**\n(reactive, persisted in payload, expensive to dehydrate) or\n**computed \u002F method-local** (cheap, recomputed on render). Public\nproperties are the budget — keep ≤ 8 per component; more means\nthe component is doing two jobs.\n\n### 4. Map the event flow\n\nDraw the events: `dispatch('foo')` → who listens? Cross-component\nevents use `dispatch()`; parent ↔ child stays on `$parent.method()`\nwhen the child is owned. Avoid global events for parent-owned\nchildren — they break the ownership story.\n\n### 5. Lifecycle ownership\n\nFor each side-effect (DB write, queue dispatch, redirect, flash),\nname the lifecycle hook: `mount` (one-time setup), `boot` (every\nrequest, idempotent), action method (user-initiated), `updated*`\n(reactive on property change). One hook per side-effect; if two\nhooks fire the same write, the design is wrong.\n\n### 6. Validate the design — before any code is written\n\nWalk the design back through these checks; every \"no\" means\nre-cut, not push forward:\n\n- Each component owns ≤ 8 public properties.\n- No child needs ≥ 4 props *and* emits ≥ 3 events back.\n- Every event has exactly one named listener.\n- Each side-effect maps to exactly one lifecycle hook.\n- The component shape table is filled in (no `\u003CTBD>` cells).\n\nIf any check fails, return to the relevant step and re-cut. The\ndesign must be approved by the user before handing off to\n`\u002Flivewire` for implementation.\n\n## Output format\n\nReturn:\n\n1. Component shape decision — full-page \u002F parent+children \u002F partial \u002F\n   stack — with the one-sentence trade-off rationale.\n2. Component inventory — for each: public props (≤ 8), state islands\n   owned, events listened\u002Fdispatched, side-effects on mount and action.\n3. Boundary-risk list and tactical follow-up — prop bags > 8, event\n   chains > 3 hops, shared mutable state, and the next handoff.\n\nConcrete shape:\n\n```\nScreen:           \u003Croute or feature>\nComponent shape:  \u003Cfull-page | parent+children | partial | stack>\nWhy:              \u003Cone sentence — the trade-off chosen>\n\nComponents:\n  - \u003CName> (full-page | partial)\n      Public props: [a, b, c]   (≤ 8)\n      Owns:         \u003Cstate islands>\n      Listens to:   [event1, event2]\n      Dispatches:   [event3]\n      Side-effects: mount=\u003C...>, action=\u003C...>\n\nBoundary risks:\n  - \u003Cprop bag > 8 \u002F event chain > 3 hops \u002F shared mutable state>\n\nTactical follow-up:\n  Hand off to \u002Flivewire for Flux variant + hydration check.\n```\n\n## Gotcha\n\n- Livewire 3 reactive props are not free — every public property\n  ships in the payload. Big arrays \u002F DTOs as public state are a\n  performance bug waiting to fire under load.\n- Parent-owned children and global events do not mix; pick one\n  ownership story per component tree.\n- \"Just one more public property\" is the smell that turns a partial\n  into a god-component over three tickets.\n- Full-page component + Flux modal stack: the modal owns its own\n  mount cycle; do not push modal state into the page component.\n\n## Do NOT\n\n- Do NOT write `mount()` \u002F Blade partials before the shape table is\n  filled in — picking the shape after coding is the most common\n  source of refactor debt.\n- Do NOT cite this skill alongside [`livewire`](..\u002Flivewire\u002FSKILL.md)\n  in the same step — they sit at different tiers; pick one per phase.\n- Do NOT design Inertia \u002F React components with this skill — the\n  state-vs-props axis differs; route to the matching stack skill.\n- Do NOT push the architecture into the tracker as code AC — output\n  is a design note for refinement, not implementation steps.\n","# livewire-architect\n\n> Architectural lens **above** the existing tactical [`livewire`](..\u002Flivewire\u002FSKILL.md)\n> skill. Decides component shape, lifecycle ownership, and the\n> full-page-vs-partial split *before* the first `mount()` is written.\n> The `livewire` skill handles Flux-component patterns and hydration\n> debugging once the shape is locked.\n\n## When to use\n\n- A Livewire feature is about to be built and the boundary between\n  components is unclear (one big component vs nested children?).\n- An existing component is \"doing too much\" — multiple unrelated\n  concerns, large `$listeners`, props bag growing turn over turn.\n- A page mixes Livewire + Blade partials and the data flow is\n  ambiguous (who owns `$user`, who emits, who listens?).\n- German triggers: \"wie schneide ich das?\", \"Vollseite oder\n  Teilkomponente?\", \"wer feuert das Event?\".\n\nDo NOT use when:\n\n- The shape is already locked and the question is mechanical\n  (Flux variant, `wire:model` modifier, `@entangle`) — route to\n  [`livewire`](..\u002Flivewire\u002FSKILL.md).\n- The page has no Livewire — pure Blade or Inertia\u002FReact — route\n  to [`blade-ui`](..\u002Fblade-ui\u002FSKILL.md) or [`react-shadcn-ui`](..\u002Freact-shadcn-ui\u002FSKILL.md).\n- The bug is a runtime hydration error — debug with `livewire`,\n  not redesign with this skill.\n\n## Procedure\n\n### 1. Analyze the existing screen — before designing anything\n\nInspect the route and read the existing Blade \u002F Livewire files to\nunderstand what's already there. List every dynamic surface on the\npage (form, table row, modal, nav badge). Mark each: **shared\nstate** (other surfaces re-render on change), **local state** (only\nthis surface cares), **server state** (must hit DB \u002F queue). This\nanalysis feeds every later step — do NOT skip ahead before the\ninventory is on paper.\n\n### 2. Choose the component shape\n\nPick one **before** writing code:\n\n| Shape | When | Cost |\n|---|---|---|\n| Full-page component | Route owns the whole screen, single backing model, ≤ 3 related actions | Cheapest; one mount, one render |\n| Parent + nested children | Two or more independent state islands on one route | Two mounts; coordinate via events, not props churn |\n| Partial component on Blade | Mostly static page, one reactive island | Cheap; component sees the world via props only |\n| Stack of full-page components | Wizard \u002F multi-step flow with own URL per step | Expensive; pick only when URL semantics matter |\n\nRule: if a child needs ≥ 4 props from the parent and emits ≥ 3\nevents back, the boundary is wrong — collapse or re-cut.\n\n### 3. Lock the state-vs-props boundary\n\nFor each piece of data the component reads, mark **public property**\n(reactive, persisted in payload, expensive to dehydrate) or\n**computed \u002F method-local** (cheap, recomputed on render). Public\nproperties are the budget — keep ≤ 8 per component; more means\nthe component is doing two jobs.\n\n### 4. Map the event flow\n\nDraw the events: `dispatch('foo')` → who listens? Cross-component\nevents use `dispatch()`; parent ↔ child stays on `$parent.method()`\nwhen the child is owned. Avoid global events for parent-owned\nchildren — they break the ownership story.\n\n### 5. Lifecycle ownership\n\nFor each side-effect (DB write, queue dispatch, redirect, flash),\nname the lifecycle hook: `mount` (one-time setup), `boot` (every\nrequest, idempotent), action method (user-initiated), `updated*`\n(reactive on property change). One hook per side-effect; if two\nhooks fire the same write, the design is wrong.\n\n### 6. Validate the design — before any code is written\n\nWalk the design back through these checks; every \"no\" means\nre-cut, not push forward:\n\n- Each component owns ≤ 8 public properties.\n- No child needs ≥ 4 props *and* emits ≥ 3 events back.\n- Every event has exactly one named listener.\n- Each side-effect maps to exactly one lifecycle hook.\n- The component shape table is filled in (no `\u003CTBD>` cells).\n\nIf any check fails, return to the relevant step and re-cut. The\ndesign must be approved by the user before handing off to\n`\u002Flivewire` for implementation.\n\n## Output format\n\nReturn:\n\n1. Component shape decision — full-page \u002F parent+children \u002F partial \u002F\n   stack — with the one-sentence trade-off rationale.\n2. Component inventory — for each: public props (≤ 8), state islands\n   owned, events listened\u002Fdispatched, side-effects on mount and action.\n3. Boundary-risk list and tactical follow-up — prop bags > 8, event\n   chains > 3 hops, shared mutable state, and the next handoff.\n\nConcrete shape:\n\n```\nScreen:           \u003Croute or feature>\nComponent shape:  \u003Cfull-page | parent+children | partial | stack>\nWhy:              \u003Cone sentence — the trade-off chosen>\n\nComponents:\n  - \u003CName> (full-page | partial)\n      Public props: [a, b, c]   (≤ 8)\n      Owns:         \u003Cstate islands>\n      Listens to:   [event1, event2]\n      Dispatches:   [event3]\n      Side-effects: mount=\u003C...>, action=\u003C...>\n\nBoundary risks:\n  - \u003Cprop bag > 8 \u002F event chain > 3 hops \u002F shared mutable state>\n\nTactical follow-up:\n  Hand off to \u002Flivewire for Flux variant + hydration check.\n```\n\n## Gotcha\n\n- Livewire 3 reactive props are not free — every public property\n  ships in the payload. Big arrays \u002F DTOs as public state are a\n  performance bug waiting to fire under load.\n- Parent-owned children and global events do not mix; pick one\n  ownership story per component tree.\n- \"Just one more public property\" is the smell that turns a partial\n  into a god-component over three tickets.\n- Full-page component + Flux modal stack: the modal owns its own\n  mount cycle; do not push modal state into the page component.\n\n## Do NOT\n\n- Do NOT write `mount()` \u002F Blade partials before the shape table is\n  filled in — picking the shape after coding is the most common\n  source of refactor debt.\n- Do NOT cite this skill alongside [`livewire`](..\u002Flivewire\u002FSKILL.md)\n  in the same step — they sit at different tiers; pick one per phase.\n- Do NOT design Inertia \u002F React components with this skill — the\n  state-vs-props axis differs; route to the matching stack skill.\n- Do NOT push the architecture into the tracker as code AC — output\n  is a design note for refinement, not implementation steps.\n",{"name":5,"packs":44,"trust":45,"domain":46,"install":47,"personas":49,"model_tier":51,"workspaces":52,"description":7},[34],{"level":28},"engineering",{"default":40,"removable":48},true,[50],"frontend-engineer","high",[46],"main","12bd765ce1d800501d45dfb8232102793af01290","src\u002Fskills\u002Flivewire-architect",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":63,"prompt":73,"zipAvailable":48},[64,67,70],{"tool":65,"command":66},"npx","npx skills add event4u-app\u002Fagent-config --skill livewire-architect",{"tool":68,"command":69},"bunx","bunx skills add event4u-app\u002Fagent-config --skill livewire-architect",{"tool":71,"command":72},"pnpm","pnpm dlx skills add event4u-app\u002Fagent-config --skill livewire-architect","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fevent4u-app\u002Fagent-config\u002Fblob\u002Fmain\u002Fsrc\u002Fskills\u002Flivewire-architect\u002FSKILL.md",[],[76,89,100,110,121,130],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":39},"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",[],[83,84,85,86,87,88],"unknown key fixture","Unknown key","fixture","unknown","schema","package",{"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":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":39},"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",[],[85,96,97,22,98,88,99],"portable","portable fixture","only","MCP",{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":39},"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",[],[97,107,96,85,108,51,109,88],"non portable fixture","semantic","runtime",{"skillNo":111,"name":112,"nameZh":6,"description":113,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":114,"categories":115,"keywords":116,"publishedAt":39},"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",[],[117,118,119,120],"candidate zero width","candidate","ZeRO","prose",{"skillNo":122,"name":123,"nameZh":6,"description":124,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":125,"categories":126,"keywords":127,"publishedAt":39},"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",[],[128,118,120,129],"candidate disclosure suppression","user",{"skillNo":131,"name":132,"nameZh":6,"description":133,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":134,"categories":135,"keywords":136,"publishedAt":39},"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",[],[137,118,138,139,140,141],"candidate dangerous frontmatter","frontmatter","shell","permission","tool"]