[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EKWKC158FXKY4FNAC7C39C":3,"skill-same:01M7EKWKC158FXKY4FNAC7C39C":43},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"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":23,"commitSha":24,"skillDirectory":25,"forksCount":13,"repositoryHtmlUrl":26,"repositoryHomepageUrl":6,"ownerHtmlUrl":27,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":28,"install":29,"resources":42},"01M7EKWKC158FXKY4FNAC7C39C","arena",null,"Spawn N parallel candidates at the same task, pick a base, graft the strongest parts of the losers into it. Use for \u002Fpstack:arena, 'arena this', 'throw it in the arena', or when one attempt at a non-trivial artifact would lock in the wrong shape.","anas-yousef\u002Fpstack-claude","anas-yousef","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F44998563?v=4","01M7EKWDK1H83ZT5PKXWXAVFPD","01M7EKWDKNREGX0H27EY81D3QS",0,"MIT","https:\u002F\u002Fgithub.com\u002Fanas-yousef\u002Fpstack-claude\u002Fblob\u002Fmain\u002Fskills\u002Farena\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: arena\ndescription: \"Spawn N parallel candidates at the same task, pick a base, graft the strongest parts of the losers into it. Use for \u002Fpstack:arena, 'arena this', 'throw it in the arena', or when one attempt at a non-trivial artifact would lock in the wrong shape.\"\n---\n\n# Arena\n\nOpen a todolist with one entry per phase (Frame, Fan out, Cross-judge, Pick, Graft, Verify) before launching anything.\n\n## Phase A: Frame\n\nEvery candidate gets the same prompt, so the prompt is the contract.\n\n1. State the artifact each candidate is producing.\n2. Derive the rubric, 3-6 concrete gradeable criteria for what success looks like on *this* task. It is the picker's tool in Phase D. Candidates only see the task.\n3. Pick the runners. Use the `arena runners` line in `pstack-models.md`. If the file or that line is missing, default to one each on `opus xhigh` and `sonnet high`. An `auto` or `inherit-parent` entry in this line or the cross-judge line means the parent model, so omit `model` and `effort` for it. Pass each other entry's model and effort as the Agent tool's `model` and `effort`. If the Agent tool rejects a configured entry, run that seat on its tier's default and say so. Tiers go by model: `opus`, `sonnet`, `haiku`, `fable`. With no tier match, use `opus xhigh`. Spawn more runners when the arena covers multiple design directions. Use the same model N times when the work is generation-bound rather than judgment-sensitive.\n4. Give each candidate its own output location (a git worktree where possible, otherwise `\u002Ftmp\u002Farena-\u003Cslug>\u002Fcandidate-\u003Cn>\u002F`), per the **separate-before-serializing-shared-state** principle (`${CLAUDE_PLUGIN_ROOT}\u002Fskills\u002Fprinciple-separate-before-serializing-shared-state\u002FSKILL.md`).\n\n## Phase B: Fan out\n\nSpawn all N subagents in one message with `run_in_background: true`, and `isolation: \"worktree\"` for a candidate that writes in the repository, each with the task, the path to the shared grounding, its own output path, and instructions to produce the artifact and a short rationale naming the alternatives it considered and what it rejected.\n\nIf a candidate produces no output, proceed with N-1 and note the dropout.\n\n## Phase C: Cross-judge\n\nAfter all Phase B candidates complete, choose one model from the `arena cross-judge pool` line in `pstack-models.md`. If the file or that line is missing, choose from `opus xhigh` and `sonnet xhigh`. Prefer a different model tier from the parent's. Spawn one `pstack:readonly-agent` judge on that model. It sees the rubric and the candidates by path label, scores each criterion, and recommends a base with rationale. It runs in parallel with your reading in Phase D. Don't spawn it while candidates are still writing.\n\n## Phase D: Pick a base\n\nRead every candidate end to end before picking. Score each against the rubric criterion by criterion, not on holistic feel, and compare with the cross-judge. Agreement on the base confirms the pick. Disagreement means one of you is biased or the rubric was ambiguous. Read both rationales before deciding.\n\nPick the base a future maintainer can extend most easily without breaking invariants. When two feel tied, prefer the cleaner boundary or smaller API, per the Laziness Protocol.\n\n## Phase E: Graft\n\nWalk each losing candidate once more for what is worth porting into the base, usually one or two things per candidate, not most of it. Fold each graft in by hand, per the **redesign-from-first-principles** principle (`${CLAUDE_PLUGIN_ROOT}\u002Fskills\u002Fprinciple-redesign-from-first-principles\u002FSKILL.md`), so the result stays coherent under one mental model. Don't paste mechanically.\n\nIf the candidates converge on one shape, that is strong agreement. Note it and ship the consensus shape. No graft is needed. If they wildly diverge, Phase A was under-specified. Reframe and re-run rather than averaging the divergence.\n\n## Phase F: Verify\n\nVerify the synthesized artifact like any other output, per the **prove-it-works** principle (`${CLAUDE_PLUGIN_ROOT}\u002Fskills\u002Fprinciple-prove-it-works\u002FSKILL.md`). If verification finds a problem the arena missed, either Phase A was wrong (re-frame and re-run) or a candidate caught it and you missed the graft (go back to Phase E). Don't paper over it.\n\n## Outputs\n\nOne synthesized artifact, with a short synthesis note alongside naming the base and why, the cross-judge's verdict, each graft with its source candidate, what was rejected and why, any convergence or dropouts, and the verification result.\n\n**Model configuration.** Read the project file `.claude\u002Fpstack-models.md` when it exists, otherwise the user file `~\u002F.claude\u002Fpstack-models.md`. The project file replaces the user file, with no per-line merge. A line is `\u003Crole>: \u003Cmodel> \u003Ceffort>`, and a panel role lists comma-separated entries. Pass the model and the effort as the Agent tool's separate `model` and `effort` parameters.\n","# Arena\n\nOpen a todolist with one entry per phase (Frame, Fan out, Cross-judge, Pick, Graft, Verify) before launching anything.\n\n## Phase A: Frame\n\nEvery candidate gets the same prompt, so the prompt is the contract.\n\n1. State the artifact each candidate is producing.\n2. Derive the rubric, 3-6 concrete gradeable criteria for what success looks like on *this* task. It is the picker's tool in Phase D. Candidates only see the task.\n3. Pick the runners. Use the `arena runners` line in `pstack-models.md`. If the file or that line is missing, default to one each on `opus xhigh` and `sonnet high`. An `auto` or `inherit-parent` entry in this line or the cross-judge line means the parent model, so omit `model` and `effort` for it. Pass each other entry's model and effort as the Agent tool's `model` and `effort`. If the Agent tool rejects a configured entry, run that seat on its tier's default and say so. Tiers go by model: `opus`, `sonnet`, `haiku`, `fable`. With no tier match, use `opus xhigh`. Spawn more runners when the arena covers multiple design directions. Use the same model N times when the work is generation-bound rather than judgment-sensitive.\n4. Give each candidate its own output location (a git worktree where possible, otherwise `\u002Ftmp\u002Farena-\u003Cslug>\u002Fcandidate-\u003Cn>\u002F`), per the **separate-before-serializing-shared-state** principle (`${CLAUDE_PLUGIN_ROOT}\u002Fskills\u002Fprinciple-separate-before-serializing-shared-state\u002FSKILL.md`).\n\n## Phase B: Fan out\n\nSpawn all N subagents in one message with `run_in_background: true`, and `isolation: \"worktree\"` for a candidate that writes in the repository, each with the task, the path to the shared grounding, its own output path, and instructions to produce the artifact and a short rationale naming the alternatives it considered and what it rejected.\n\nIf a candidate produces no output, proceed with N-1 and note the dropout.\n\n## Phase C: Cross-judge\n\nAfter all Phase B candidates complete, choose one model from the `arena cross-judge pool` line in `pstack-models.md`. If the file or that line is missing, choose from `opus xhigh` and `sonnet xhigh`. Prefer a different model tier from the parent's. Spawn one `pstack:readonly-agent` judge on that model. It sees the rubric and the candidates by path label, scores each criterion, and recommends a base with rationale. It runs in parallel with your reading in Phase D. Don't spawn it while candidates are still writing.\n\n## Phase D: Pick a base\n\nRead every candidate end to end before picking. Score each against the rubric criterion by criterion, not on holistic feel, and compare with the cross-judge. Agreement on the base confirms the pick. Disagreement means one of you is biased or the rubric was ambiguous. Read both rationales before deciding.\n\nPick the base a future maintainer can extend most easily without breaking invariants. When two feel tied, prefer the cleaner boundary or smaller API, per the Laziness Protocol.\n\n## Phase E: Graft\n\nWalk each losing candidate once more for what is worth porting into the base, usually one or two things per candidate, not most of it. Fold each graft in by hand, per the **redesign-from-first-principles** principle (`${CLAUDE_PLUGIN_ROOT}\u002Fskills\u002Fprinciple-redesign-from-first-principles\u002FSKILL.md`), so the result stays coherent under one mental model. Don't paste mechanically.\n\nIf the candidates converge on one shape, that is strong agreement. Note it and ship the consensus shape. No graft is needed. If they wildly diverge, Phase A was under-specified. Reframe and re-run rather than averaging the divergence.\n\n## Phase F: Verify\n\nVerify the synthesized artifact like any other output, per the **prove-it-works** principle (`${CLAUDE_PLUGIN_ROOT}\u002Fskills\u002Fprinciple-prove-it-works\u002FSKILL.md`). If verification finds a problem the arena missed, either Phase A was wrong (re-frame and re-run) or a candidate caught it and you missed the graft (go back to Phase E). Don't paper over it.\n\n## Outputs\n\nOne synthesized artifact, with a short synthesis note alongside naming the base and why, the cross-judge's verdict, each graft with its source candidate, what was rejected and why, any convergence or dropouts, and the verification result.\n\n**Model configuration.** Read the project file `.claude\u002Fpstack-models.md` when it exists, otherwise the user file `~\u002F.claude\u002Fpstack-models.md`. The project file replaces the user file, with no per-line merge. A line is `\u003Crole>: \u003Cmodel> \u003Ceffort>`, and a panel role lists comma-separated entries. Pass the model and the effort as the Agent tool's separate `model` and `effort` parameters.\n",{"name":5,"description":7},"main","583cb36363b11545f389fa22000a98fc84ae8692","skills\u002Farena","https:\u002F\u002Fgithub.com\u002Fanas-yousef\u002Fpstack-claude","https:\u002F\u002Fgithub.com\u002Fanas-yousef","2026-10-14 11:57:47",{"source":8,"skillName":5,"commands":30,"prompt":40,"zipAvailable":41},[31,34,37],{"tool":32,"command":33},"npx","npx skills add anas-yousef\u002Fpstack-claude --skill arena",{"tool":35,"command":36},"bunx","bunx skills add anas-yousef\u002Fpstack-claude --skill arena",{"tool":38,"command":39},"pnpm","pnpm dlx skills add anas-yousef\u002Fpstack-claude --skill arena","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fanas-yousef\u002Fpstack-claude\u002Fblob\u002Fmain\u002Fskills\u002Farena\u002FSKILL.md",true,[],[44,51,58,65,72,79],{"skillNo":45,"name":46,"nameZh":6,"description":47,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":48,"categories":49,"keywords":50,"publishedAt":18},"01M7EM8H03WR2E8E9B31AG8YQE","why","Use for 'why does X work this way', 'why we picked Y', design rationale, regressions, postmortems, or data-backed thresholds. Discovers available MCPs and queries each evidence category (source control, issue tracker, long-form docs, real-time chat, infrastructure observability, error tracking, product analytics warehouse) in parallel, then returns a cited read on decisions and tradeoffs. Use how for runtime behavior.","https:\u002F\u002Fgithub.com\u002Fanas-yousef\u002Fpstack-claude\u002Fblob\u002Fmain\u002Fupstream\u002Fskills\u002Fwhy\u002FSKILL.md",[],[],{"skillNo":52,"name":53,"nameZh":6,"description":54,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":55,"categories":56,"keywords":57,"publishedAt":18},"01M7EM8E8WV7GVW3JHBRGPC3EC","unslop","Cut AI tells from any writing.","https:\u002F\u002Fgithub.com\u002Fanas-yousef\u002Fpstack-claude\u002Fblob\u002Fmain\u002Fupstream\u002Fskills\u002Funslop\u002FSKILL.md",[],[],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":18},"01M7EM8AHBT0QTDXQ8FAGKB9V0","typescript-best-practices","TypeScript best practices. Use when reading or editing any .ts or .tsx file.","https:\u002F\u002Fgithub.com\u002Fanas-yousef\u002Fpstack-claude\u002Fblob\u002Fmain\u002Fupstream\u002Fskills\u002Ftypescript-best-practices\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":18},"01M7EM85R63HJ6QBQG3W4X28YG","technical-writing","Layered technical-writing standard: Diátaxis structure, Google developer style sentences, STE instruction rules, Global English syntax. Use for \u002Ftechnical-writing or when writing or reviewing docs, RFCs, readmes, PR descriptions, or commit messages.","https:\u002F\u002Fgithub.com\u002Fanas-yousef\u002Fpstack-claude\u002Fblob\u002Fmain\u002Fupstream\u002Fskills\u002Ftechnical-writing\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":18},"01M7EM83CFA42BZF9K6F4H3GYG","teach","Explain a body of work plainly so a person actually understands it. Runs the `how` and `why` skills and weaves what they find into one clear explanation. Use for 'teach me this', 'help me really understand X', 'explain this change or subsystem to me'.","https:\u002F\u002Fgithub.com\u002Fanas-yousef\u002Fpstack-claude\u002Fblob\u002Fmain\u002Fupstream\u002Fskills\u002Fteach\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":18},"01M7EM80V499CGYA0CFC9PMFEW","tdd","Use only when the user explicitly asks for TDD, a failing test, or a regression test, OR when the bug has an obvious cheap local test target. Skip when the test path is unclear, expensive, integration-heavy, or not requested.","https:\u002F\u002Fgithub.com\u002Fanas-yousef\u002Fpstack-claude\u002Fblob\u002Fmain\u002Fupstream\u002Fskills\u002Ftdd\u002FSKILL.md",[],[]]