[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71RPVS6C7E10TM5D70GC4Y7":3,"skill-same:01M71RPVS6C7E10TM5D70GC4Y7":65},{"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":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":43,"commitSha":44,"skillDirectory":45,"forksCount":46,"repositoryHtmlUrl":47,"repositoryHomepageUrl":48,"ownerHtmlUrl":49,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":50,"install":51,"resources":64},"01M71RPVS6C7E10TM5D70GC4Y7","garrison-adversarial-test",null,"Independent functional test - a fresh-context Anthropic session that has seen neither the diff nor garrison-test's committed spec drives the running app\u002Ffeature through only the slice's acceptance criteria, writing and executing its own Playwright probes, and returns pass\u002Ffail with a reproducible probe. In a garrison build a failure sends the slice back to garrison-implement. NOT Claude's own committed test - use garrison-test - and NOT the cross-model Codex checkpoint - use garrison-codex-checkpoint. Invoked by the Garrison run engine as its independent test step, or standalone only when the user explicitly asks for it. Do NOT auto-invoke this skill from task inference - Garrison decides when its phase skills run.","gongiskhan\u002Fagent-garrison","gongiskhan","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1997392?v=4","01M71RKMFR53TKXE308C22QTNZ","01M71RKMJA57KZHNDCBNKTWZRR",1,"MIT","https:\u002F\u002Fgithub.com\u002Fgongiskhan\u002Fagent-garrison\u002Fblob\u002Fmain\u002Ffittings\u002Fseed\u002Fgarrison-skills\u002F.apm\u002Fskills\u002Fgarrison-adversarial-test\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"test","adversarial","garrison adversarial test","run","functional","auto-invoke","fresh","phase","when","invoke","acceptance","writing","auto","only","model","neither","skills run","standalone","app","back","2026-11-10 13:02:02",false,"---\nname: garrison-adversarial-test\ndescription: Independent functional test - a fresh-context Anthropic session that has seen neither the diff nor garrison-test's committed spec drives the running app\u002Ffeature through only the slice's acceptance criteria, writing and executing its own Playwright probes, and returns pass\u002Ffail with a reproducible probe. In a garrison build a failure sends the slice back to garrison-implement. NOT Claude's own committed test - use garrison-test - and NOT the cross-model Codex checkpoint - use garrison-codex-checkpoint. Invoked by the Garrison run engine as its independent test step, or standalone only when the user explicitly asks for it. Do NOT auto-invoke this skill from task inference - Garrison decides when its phase skills run.\n---\n\n# garrison-adversarial-test\n\n## Policy-read preamble (soft - D5\u002FD12)\n\nAt the start of every invocation, look for the compiled Orchestrator policy at\n`~\u002F.garrison\u002Forchestrator\u002Fpolicy.json` (or `$GARRISON_POLICY_PATH`).\n\n- **Policy present** (a Garrison run): it is the single authority. This skill\n  carries NO model\u002Feffort pins - its execution parameters come from the policy\n  matrix cell for its phase (`matrix[\u003Cphase>][\u003Ctier>]`), and its gate duties\n  from the bindable phase-skill contract (the Orchestrator fitting's\n  PHASE_SKILL_CONTRACT.md): do the phase's work in the run context handed to you\n  (runDir, card, phase), write the phase's gate-status entry under the runDir,\n  and print the phase's `GATE \u003Cphase>: \u003Cverdict>` line before choosing the next\n  list.\n- **Policy absent** (standalone, any repo): proceed with the caller-supplied\n  context and sensible defaults - NEVER stop. Report to the caller rather than\n  writing gate-status\u002Frun artifacts, and skip any board\u002Frun-engine steps.\n\n\nIndependent functional test — decorrelated by **context and evidence**, not vendor. A session that has seen neither the diff nor `garrison-test`'s committed spec drives the *running* app through the acceptance itself, so it catches \"the code and its test share the same wrong assumption\" — the same failure mode the old cross-model Playwright pass targeted, without needing a second vendor to get it.\n\n## When it runs — kind-conditional (Part 8.2)\n- **`kind: ui` | `kind: mixed`** — runs **per-slice**, exactly as below.\n- **`kind: api`** — does NOT run per-slice; it runs instead as ONE BATCHED, run-level pass over the API surface (a fresh-context session drives the assembled API through the acceptance of the api slices together, once). The per-slice slot is recorded `{\"status\":\"skipped\",\"reason\":\"kind-conditional\"}` so the slice's gate stays explicit rather than silently empty.\n\nThe fresh-context \u002F no-diff \u002F no-committed-test \u002F self-written-Playwright-probe mechanics below are unchanged in both modes — the batched api pass is the same independent test, run once over the API surface instead of once per slice.\n\n## What it receives — and must NOT receive\n- **Receives ONLY:** the slice's acceptance criteria and the running app's URL\u002Fentry point.\n- **Must NOT receive:** the diff, `garrison-test`'s committed spec\u002Fassertions, or the implementer's notes. When spawned as a subagent\u002Fworkflow, build its prompt from ONLY the acceptance + app URL — never paste the diff or the committed test file into it.\n\n## What it does\n1. Open the running app at the acceptance's entry point.\n2. Write its OWN Playwright probes (via `playwright-cli`, or a throwaway spec) that exercise the acceptance from scratch — it does not read or adapt `garrison-test`'s spec.\n3. Execute them; watch for console errors.\n4. Return `pass` only if every self-written assertion held with no console error.\n\n## Findings must be reproducible — never an impression\nA `fail` verdict must carry either a failing probe (the exact Playwright script\u002Fcommands that produced the failure) or the exact command sequence + observed output. \"It felt broken\" is not a finding.\n\n## Loop role + output\n- **In a garrison build:** `fail` with a real defect **sends the slice back to `garrison-implement`** (consumes the slice retry ceiling); re-run after each fix. A flaky\u002Fenv failure (not a product defect) is re-run, not counted as a fix-attempt.\n- **Standalone:** run the pass and report `pass|fail` + the reproducible probe.\n\nPrint in the lead context: `GATE adversarial-test: \u003Cpass|fail> — \u003Csummary>`. Distinct from `garrison-test` (Claude's own committed test) and `garrison-codex-checkpoint` (the cross-model, final-phase check).\n\n## Durable record (gate-status.json — schema: `~\u002F.claude\u002Fskills\u002Fgarrison\u002Fassets\u002Fgate-status.example.json`)\n```jsonc\n\"adversarialTest\": {\n  \"result\": \"pass\",              \u002F\u002F pass | fail\n  \"by\": \"claude-sonnet-5\",       \u002F\u002F the fresh-context model actually used\n  \"probe\": \"\u003CrunDir>\u002Fslices\u002F\u003Cslice>\u002Fadversarial-test-\u003Cslice>.spec.ts\",  \u002F\u002F the self-written, reproducible probe\n  \"at\": \"\u003Ciso>\"\n}\n```\nFor a `kind: api` slice the per-slice slot is instead `\"adversarialTest\": {\"status\":\"skipped\",\"reason\":\"kind-conditional\"}`; the batched run-level pass records its own `pass|fail` at the run level.\n","# garrison-adversarial-test\n\n## Policy-read preamble (soft - D5\u002FD12)\n\nAt the start of every invocation, look for the compiled Orchestrator policy at\n`~\u002F.garrison\u002Forchestrator\u002Fpolicy.json` (or `$GARRISON_POLICY_PATH`).\n\n- **Policy present** (a Garrison run): it is the single authority. This skill\n  carries NO model\u002Feffort pins - its execution parameters come from the policy\n  matrix cell for its phase (`matrix[\u003Cphase>][\u003Ctier>]`), and its gate duties\n  from the bindable phase-skill contract (the Orchestrator fitting's\n  PHASE_SKILL_CONTRACT.md): do the phase's work in the run context handed to you\n  (runDir, card, phase), write the phase's gate-status entry under the runDir,\n  and print the phase's `GATE \u003Cphase>: \u003Cverdict>` line before choosing the next\n  list.\n- **Policy absent** (standalone, any repo): proceed with the caller-supplied\n  context and sensible defaults - NEVER stop. Report to the caller rather than\n  writing gate-status\u002Frun artifacts, and skip any board\u002Frun-engine steps.\n\n\nIndependent functional test — decorrelated by **context and evidence**, not vendor. A session that has seen neither the diff nor `garrison-test`'s committed spec drives the *running* app through the acceptance itself, so it catches \"the code and its test share the same wrong assumption\" — the same failure mode the old cross-model Playwright pass targeted, without needing a second vendor to get it.\n\n## When it runs — kind-conditional (Part 8.2)\n- **`kind: ui` | `kind: mixed`** — runs **per-slice**, exactly as below.\n- **`kind: api`** — does NOT run per-slice; it runs instead as ONE BATCHED, run-level pass over the API surface (a fresh-context session drives the assembled API through the acceptance of the api slices together, once). The per-slice slot is recorded `{\"status\":\"skipped\",\"reason\":\"kind-conditional\"}` so the slice's gate stays explicit rather than silently empty.\n\nThe fresh-context \u002F no-diff \u002F no-committed-test \u002F self-written-Playwright-probe mechanics below are unchanged in both modes — the batched api pass is the same independent test, run once over the API surface instead of once per slice.\n\n## What it receives — and must NOT receive\n- **Receives ONLY:** the slice's acceptance criteria and the running app's URL\u002Fentry point.\n- **Must NOT receive:** the diff, `garrison-test`'s committed spec\u002Fassertions, or the implementer's notes. When spawned as a subagent\u002Fworkflow, build its prompt from ONLY the acceptance + app URL — never paste the diff or the committed test file into it.\n\n## What it does\n1. Open the running app at the acceptance's entry point.\n2. Write its OWN Playwright probes (via `playwright-cli`, or a throwaway spec) that exercise the acceptance from scratch — it does not read or adapt `garrison-test`'s spec.\n3. Execute them; watch for console errors.\n4. Return `pass` only if every self-written assertion held with no console error.\n\n## Findings must be reproducible — never an impression\nA `fail` verdict must carry either a failing probe (the exact Playwright script\u002Fcommands that produced the failure) or the exact command sequence + observed output. \"It felt broken\" is not a finding.\n\n## Loop role + output\n- **In a garrison build:** `fail` with a real defect **sends the slice back to `garrison-implement`** (consumes the slice retry ceiling); re-run after each fix. A flaky\u002Fenv failure (not a product defect) is re-run, not counted as a fix-attempt.\n- **Standalone:** run the pass and report `pass|fail` + the reproducible probe.\n\nPrint in the lead context: `GATE adversarial-test: \u003Cpass|fail> — \u003Csummary>`. Distinct from `garrison-test` (Claude's own committed test) and `garrison-codex-checkpoint` (the cross-model, final-phase check).\n\n## Durable record (gate-status.json — schema: `~\u002F.claude\u002Fskills\u002Fgarrison\u002Fassets\u002Fgate-status.example.json`)\n```jsonc\n\"adversarialTest\": {\n  \"result\": \"pass\",              \u002F\u002F pass | fail\n  \"by\": \"claude-sonnet-5\",       \u002F\u002F the fresh-context model actually used\n  \"probe\": \"\u003CrunDir>\u002Fslices\u002F\u003Cslice>\u002Fadversarial-test-\u003Cslice>.spec.ts\",  \u002F\u002F the self-written, reproducible probe\n  \"at\": \"\u003Ciso>\"\n}\n```\nFor a `kind: api` slice the per-slice slot is instead `\"adversarialTest\": {\"status\":\"skipped\",\"reason\":\"kind-conditional\"}`; the batched run-level pass records its own `pass|fail` at the run level.\n",{"name":5,"description":7},"main","31458d7e0e08a7b3494c27bf2b912ed41c87a138","fittings\u002Fseed\u002Fgarrison-skills\u002F.apm\u002Fskills\u002Fgarrison-adversarial-test",0,"https:\u002F\u002Fgithub.com\u002Fgongiskhan\u002Fagent-garrison","https:\u002F\u002Fgongiskhan.github.io\u002Fagent-garrison\u002F","https:\u002F\u002Fgithub.com\u002Fgongiskhan","2026-11-07 05:27:23",{"source":8,"skillName":5,"commands":52,"prompt":62,"zipAvailable":63},[53,56,59],{"tool":54,"command":55},"npx","npx skills add gongiskhan\u002Fagent-garrison --skill garrison-adversarial-test",{"tool":57,"command":58},"bunx","bunx skills add gongiskhan\u002Fagent-garrison --skill garrison-adversarial-test",{"tool":60,"command":61},"pnpm","pnpm dlx skills add gongiskhan\u002Fagent-garrison --skill garrison-adversarial-test","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fgongiskhan\u002Fagent-garrison\u002Fblob\u002Fmain\u002Ffittings\u002Fseed\u002Fgarrison-skills\u002F.apm\u002Fskills\u002Fgarrison-adversarial-test\u002FSKILL.md",true,[],[66,78,88,99,111,136],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":38},"01M71RTFA0HD83YBE1TE7DCE6B","pinned-helper","An owned skill the human has pinned so the Improver must not touch it.","https:\u002F\u002Fgithub.com\u002Fgongiskhan\u002Fagent-garrison\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fimprover\u002Fskills\u002Fpinned-helper\u002FSKILL.md",[],[73,74,75,76,77],"pinned helper","helper","human","touch","it",{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":38},"01M71RTDKBG0WQHPHKFZKFWDHF","legacy-helper","A rarely used helper kept around from an earlier workflow.","https:\u002F\u002Fgithub.com\u002Fgongiskhan\u002Fagent-garrison\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fimprover\u002Fskills\u002Flegacy-helper\u002FSKILL.md",[],[85,74,86,87],"Legacy","legacy helper","workflow",{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":38},"01M71RTCC6ZVVJ9MHHESXPHWA6","human-notes","A human-authored skill not deployed by APM (loose, not in the lock).","https:\u002F\u002Fgithub.com\u002Fgongiskhan\u002Fagent-garrison\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fimprover\u002Fskills\u002Fhuman-notes\u002FSKILL.md",[],[95,75,96,97,98],"notes","human notes","lock","apm",{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":38},"01M71RTB83ZP6VK6XH19Z93FAC","garrison-helper","Helps compose and station Garrison Fittings into Faculty role slots.","https:\u002F\u002Fgithub.com\u002Fgongiskhan\u002Fagent-garrison\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fimprover\u002Fskills\u002Fgarrison-helper\u002FSKILL.md",[],[74,106,107,108,109,110],"garrison","garrison helper","slots","role","compose",{"skillNo":112,"name":113,"nameZh":6,"description":114,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":115,"categories":116,"keywords":117,"publishedAt":38},"01M71RT6MBGJC4QQZBGHF4H1M8","walkthrough","Record a short, narrated, captioned video walkthrough that proves a finished coding task and shows how it behaves, then self-verify the video via vision on extracted frames and publish it as one scrubbable Tailscale link. Use after completing a change\u002Ffix\u002Ffeature on a web project (Next.js\u002FReact etc.) when the user wants visual proof of work, a demo of a user flow, or to avoid manually retesting and watching a long raw screen recording. Triggers on requests like \"record a walkthrough\", \"show me it working\", \"make a demo video of this\", \"prove the feature\", or finishing a UI\u002Froute\u002Fform\u002FAPI change worth demonstrating. Not for walking through a full from-scratch project build.","https:\u002F\u002Fgithub.com\u002Fgongiskhan\u002Fagent-garrison\u002Fblob\u002Fmain\u002Ffittings\u002Fseed\u002Fwalkthrough\u002F.apm\u002Fskills\u002Fwalkthrough\u002FSKILL.md",[],[113,26,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135],"project","project build","api","react","change","demo video","publish","recording","Video","show me","work","short","fix","show","route","me","next","self",{"skillNo":137,"name":138,"nameZh":6,"description":139,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":140,"categories":141,"keywords":142,"publishedAt":38},"01M71RT54T0SQS42XEP5FVQ28K","Trello","Manage tasks via Trello REST API.","https:\u002F\u002Fgithub.com\u002Fgongiskhan\u002Fagent-garrison\u002Fblob\u002Fmain\u002Ffittings\u002Fseed\u002Ftrello\u002F.apm\u002Fskills\u002Ftrello\u002FSKILL.md",[],[143,144,145,120,146,147,148],"trello","tasks","REST","manage","rest api","via"]