[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79JY59E5SRTJMVPJYJR77RF":3,"skill-same:01M79JY59E5SRTJMVPJYJR77RF":48},{"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":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M79JY59E5SRTJMVPJYJR77RF","test-and-validate",null,"Use when running tests, validation, CI checks, coverage, race detection, vet, build, or verifying strike-cli changes. Trigger on make test, go test, lint, verify, validate, regression, or before claiming work done.","jonathanung\u002Fstrike","jonathanung","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F53621118?v=4","01M79JX057ZT3VSF94GXQBDAXY","Jonathan Ung","01M79JX05QHGCWABW16WQN8DHV",5,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fjonathanung\u002Fstrike\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Ftest-and-validate\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: test-and-validate\ndescription: Use when running tests, validation, CI checks, coverage, race detection, vet, build, or verifying strike-cli changes. Trigger on make test, go test, lint, verify, validate, regression, or before claiming work done.\n---\n\n# Test and validate (strike-cli)\n\nRead-only verification skill. Observe and report — do not fix failures here\n(use built-in `\u002Fverify` or implement fixes under `issue-handler` when owning a branch).\n\n**Single source of truth for gates:** root `AGENTS.md` → *Verification tiers*.\nThis skill runs those tiers; do not invent softer or harder local suites.\n\n## CI mirror (order matters)\n\nMatch `.github\u002Fworkflows\u002Fci.yml`:\n\n1. `gofmt -l .` must be empty\n2. `go generate .\u002Finternal\u002Ffrontend\u002Ftui\u002Fapp` (TUI flatten; required before build\u002Ftest if `_src` changed or generate is stale)\n3. `make web-check` when `web\u002F` is touched or `web\u002Fpackage.json` exists and UI may be affected\n4. `go build .\u002F...` or `make build`\n5. `make vet`\n6. `go test .\u002F...` — CI uses `go test -race .\u002F...` on every PR\n\nLocal convenience: `make test && make vet && make build` after gofmt (+ generate\u002Fweb when needed).\n\n## Risk tiers (pick one per change)\n\n| Tier | When | Local gate |\n|---|---|---|\n| **A** | Docs, skills, comments, markdown-only, no Go\u002Fweb | `test -z \"$(gofmt -l .)\"` (skip if no `.go` touched); no full suite required |\n| **B** | Normal Go\u002Fweb\u002FTUI code (default) | gofmt → generate if TUI `_src` → `make web-check` if `web\u002F` → `make test && make vet && make build` |\n| **C** | Trust boundary: `harness\u002Ftool`, `permission`, `auth`, `session`, `engine` concurrency\u002Fturn loop, `protocol` wire, sandbox\u002Fworkspace | Tier B + `go test -race .\u002F... -count=1` + focused package tests first |\n\nCI still runs race on every PR. **Do not** pay full local race on Tier A\u002FB unless reproducing a CI failure.\n\nOptional: `make cover` \u002F `make cover-check` (soft in CI). Offline product smoke: load skill `smoke` when user-visible startup\u002Finput\u002Fsession\u002Fauth paths change.\n\n## Commands\n\n| Check | Command |\n|---|---|\n| Format | `test -z \"$(gofmt -l .)\"` |\n| TUI generate | `go generate .\u002Finternal\u002Ffrontend\u002Ftui\u002Fapp` |\n| Web | `make web-check` |\n| Unit suite | `make test` or `go test .\u002F...` |\n| Fresh run | `go test .\u002F... -count=1` |\n| Race | `go test -race .\u002F... -count=1` |\n| Coverage | `make cover` \u002F `make cover-check` |\n| Package focus | `go test .\u002Fharness\u002Ftool\u002F -count=1 -v` |\n| Single test | `go test .\u002Fharness\u002Fpermission\u002F -run TestEvaluate -count=1 -v` |\n| Vet \u002F build | `make vet` \u002F `make build` |\n| Offline boot | `make run-echo` |\n\n## Required workflow\n\n1. Discover what changed (`git diff --stat`, package paths) → assign **tier A\u002FB\u002FC**.\n2. Run focused package tests for touched packages first (Tier B\u002FC).\n3. Run the tier gate above.\n4. If Tier C or CI-red reproduction: full race suite.\n5. If user-visible CLI\u002FTUI\u002Fsession\u002Fauth: load `smoke` (or note gap if smoke not run).\n\n## Report format\n\n1. **Verdict** — pass\u002Ffail with tier.\n2. **Commands run** — exact shell lines.\n3. **Failures** — verbatim output, never paraphrased.\n4. **Gaps** — packages or flows not exercised and why.\n5. **Flakes** — see below; never silent skip.\n\n## Flake policy\n\nA **flake** fails intermittently or only on one OS\u002Fenv while CI (or 3 local reruns) disagrees.\n\n1. Capture: platform, command, pass\u002Ffail of **3** reruns, snippet.\n2. Open or link a `wave: 0` \u002F `priority: bugs-first` issue with repro.\n3. Do **not** block unrelated feature merges on a known env-only flake.\n4. Quarantine only with `t.Skip(\"…\")` + issue link — never delete coverage silently.\n5. Prefer fixing root cause (e.g. `EvalSymlinks` path compare, mtime granularity) over skip.\n\n## Package risk map\n\n| Area | Higher risk signals |\n|---|---|\n| `harness\u002Ftool` | filesystem mutation, shell, sandbox, filestate freshness, workspace roots |\n| `harness\u002Fpermission` | last-match-wins, always grants, reject cascade |\n| `internal\u002Fproduct\u002Fauth` | credentials mode 0600, env precedence, OAuth |\n| `internal\u002Fpersist\u002Fsession` + `protocol` | transcript integrity, replay |\n| `harness\u002Fproviders` | HTTP\u002FSSE, cancellation |\n| `harness\u002Fengine` | turn state machine, tool loop, prune\u002Fcompaction, interrupt |\n| `internal\u002Ffrontend\u002Ftui` | Bubble Tea update loops (existing harnesses) |\n| `internal\u002Fpersist\u002Fhistory` | concurrency + path security |\n\n## Rules\n\n- Never edit source or tests to make verification green.\n- Never skip a failing package without marking it FAIL with output.\n- Prefer project Make targets over inventing new scripts.\n- Prefer tiered gates over always-max ceremony.\n","# Test and validate (strike-cli)\n\nRead-only verification skill. Observe and report — do not fix failures here\n(use built-in `\u002Fverify` or implement fixes under `issue-handler` when owning a branch).\n\n**Single source of truth for gates:** root `AGENTS.md` → *Verification tiers*.\nThis skill runs those tiers; do not invent softer or harder local suites.\n\n## CI mirror (order matters)\n\nMatch `.github\u002Fworkflows\u002Fci.yml`:\n\n1. `gofmt -l .` must be empty\n2. `go generate .\u002Finternal\u002Ffrontend\u002Ftui\u002Fapp` (TUI flatten; required before build\u002Ftest if `_src` changed or generate is stale)\n3. `make web-check` when `web\u002F` is touched or `web\u002Fpackage.json` exists and UI may be affected\n4. `go build .\u002F...` or `make build`\n5. `make vet`\n6. `go test .\u002F...` — CI uses `go test -race .\u002F...` on every PR\n\nLocal convenience: `make test && make vet && make build` after gofmt (+ generate\u002Fweb when needed).\n\n## Risk tiers (pick one per change)\n\n| Tier | When | Local gate |\n|---|---|---|\n| **A** | Docs, skills, comments, markdown-only, no Go\u002Fweb | `test -z \"$(gofmt -l .)\"` (skip if no `.go` touched); no full suite required |\n| **B** | Normal Go\u002Fweb\u002FTUI code (default) | gofmt → generate if TUI `_src` → `make web-check` if `web\u002F` → `make test && make vet && make build` |\n| **C** | Trust boundary: `harness\u002Ftool`, `permission`, `auth`, `session`, `engine` concurrency\u002Fturn loop, `protocol` wire, sandbox\u002Fworkspace | Tier B + `go test -race .\u002F... -count=1` + focused package tests first |\n\nCI still runs race on every PR. **Do not** pay full local race on Tier A\u002FB unless reproducing a CI failure.\n\nOptional: `make cover` \u002F `make cover-check` (soft in CI). Offline product smoke: load skill `smoke` when user-visible startup\u002Finput\u002Fsession\u002Fauth paths change.\n\n## Commands\n\n| Check | Command |\n|---|---|\n| Format | `test -z \"$(gofmt -l .)\"` |\n| TUI generate | `go generate .\u002Finternal\u002Ffrontend\u002Ftui\u002Fapp` |\n| Web | `make web-check` |\n| Unit suite | `make test` or `go test .\u002F...` |\n| Fresh run | `go test .\u002F... -count=1` |\n| Race | `go test -race .\u002F... -count=1` |\n| Coverage | `make cover` \u002F `make cover-check` |\n| Package focus | `go test .\u002Fharness\u002Ftool\u002F -count=1 -v` |\n| Single test | `go test .\u002Fharness\u002Fpermission\u002F -run TestEvaluate -count=1 -v` |\n| Vet \u002F build | `make vet` \u002F `make build` |\n| Offline boot | `make run-echo` |\n\n## Required workflow\n\n1. Discover what changed (`git diff --stat`, package paths) → assign **tier A\u002FB\u002FC**.\n2. Run focused package tests for touched packages first (Tier B\u002FC).\n3. Run the tier gate above.\n4. If Tier C or CI-red reproduction: full race suite.\n5. If user-visible CLI\u002FTUI\u002Fsession\u002Fauth: load `smoke` (or note gap if smoke not run).\n\n## Report format\n\n1. **Verdict** — pass\u002Ffail with tier.\n2. **Commands run** — exact shell lines.\n3. **Failures** — verbatim output, never paraphrased.\n4. **Gaps** — packages or flows not exercised and why.\n5. **Flakes** — see below; never silent skip.\n\n## Flake policy\n\nA **flake** fails intermittently or only on one OS\u002Fenv while CI (or 3 local reruns) disagrees.\n\n1. Capture: platform, command, pass\u002Ffail of **3** reruns, snippet.\n2. Open or link a `wave: 0` \u002F `priority: bugs-first` issue with repro.\n3. Do **not** block unrelated feature merges on a known env-only flake.\n4. Quarantine only with `t.Skip(\"…\")` + issue link — never delete coverage silently.\n5. Prefer fixing root cause (e.g. `EvalSymlinks` path compare, mtime granularity) over skip.\n\n## Package risk map\n\n| Area | Higher risk signals |\n|---|---|\n| `harness\u002Ftool` | filesystem mutation, shell, sandbox, filestate freshness, workspace roots |\n| `harness\u002Fpermission` | last-match-wins, always grants, reject cascade |\n| `internal\u002Fproduct\u002Fauth` | credentials mode 0600, env precedence, OAuth |\n| `internal\u002Fpersist\u002Fsession` + `protocol` | transcript integrity, replay |\n| `harness\u002Fproviders` | HTTP\u002FSSE, cancellation |\n| `harness\u002Fengine` | turn state machine, tool loop, prune\u002Fcompaction, interrupt |\n| `internal\u002Ffrontend\u002Ftui` | Bubble Tea update loops (existing harnesses) |\n| `internal\u002Fpersist\u002Fhistory` | concurrency + path security |\n\n## Rules\n\n- Never edit source or tests to make verification green.\n- Never skip a failing package without marking it FAIL with output.\n- Prefer project Make targets over inventing new scripts.\n- Prefer tiered gates over always-max ceremony.\n",{"name":5,"description":7},"main","33cd31acc8c3b15e8bdead40f26a5957a6f4210f",".claude\u002Fskills\u002Ftest-and-validate",2,"https:\u002F\u002Fgithub.com\u002Fjonathanung\u002Fstrike","https:\u002F\u002Fstrike.jonathanung.ca\u002F","https:\u002F\u002Fgithub.com\u002Fjonathanung","https:\u002F\u002Fjonathanung.ca","for fun programmer larping as a student","2026-11-14 19:25:31",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add jonathanung\u002Fstrike --skill test-and-validate",{"tool":40,"command":41},"bunx","bunx skills add jonathanung\u002Fstrike --skill test-and-validate",{"tool":43,"command":44},"pnpm","pnpm dlx skills add jonathanung\u002Fstrike --skill test-and-validate","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjonathanung\u002Fstrike\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Ftest-and-validate\u002FSKILL.md",true,[],[49,56,63,70,77,83],{"skillNo":50,"name":51,"nameZh":6,"description":52,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":53,"categories":54,"keywords":55,"publishedAt":19},"01M79JZ3BTYJTXTH62TTMQTRSY","keep","Kept despite unknown fields","https:\u002F\u002Fgithub.com\u002Fjonathanung\u002Fstrike\u002Fblob\u002Fmain\u002Finternal\u002Fintegrate\u002Fplugin\u002Ftestdata\u002Faps\u002Funknown-fields\u002Fskills\u002Fkeep\u002FSKILL.md",[],[],{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":19},"01M79JYZBHM1ETESYN0P255ZQN","ok","Immediate skill","https:\u002F\u002Fgithub.com\u002Fjonathanung\u002Fstrike\u002Fblob\u002Fmain\u002Finternal\u002Fintegrate\u002Fplugin\u002Ftestdata\u002Faps\u002Fskills-layout\u002Fskills\u002Fok\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M79JYYFSHFEQJF8VNZ6CWAJ7","deep","Must not be discovered","https:\u002F\u002Fgithub.com\u002Fjonathanung\u002Fstrike\u002Fblob\u002Fmain\u002Finternal\u002Fintegrate\u002Fplugin\u002Ftestdata\u002Faps\u002Fskills-layout\u002Fskills\u002Fnested\u002Fdeep\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M79JYXN8XTSQ8P4E2EWAGE54","summarize","Summarize text","https:\u002F\u002Fgithub.com\u002Fjonathanung\u002Fstrike\u002Fblob\u002Fmain\u002Finternal\u002Fintegrate\u002Fplugin\u002Ftestdata\u002Faps\u002Fportable-ok\u002Fskills\u002Fsummarize\u002FSKILL.md",[],[],{"skillNo":78,"name":51,"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":19},"01M79JYWT8JKCZ6B255CTWVHTX","Survives MCP disable","https:\u002F\u002Fgithub.com\u002Fjonathanung\u002Fstrike\u002Fblob\u002Fmain\u002Finternal\u002Fintegrate\u002Fplugin\u002Ftestdata\u002Faps\u002Fmcp-schema-mismatch\u002Fskills\u002Fkeep\u002FSKILL.md",[],[],{"skillNo":84,"name":51,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M79JYTNMJS2GSKCQ9BWYWBKQ","Survives invalid mcp.json kind","https:\u002F\u002Fgithub.com\u002Fjonathanung\u002Fstrike\u002Fblob\u002Fmain\u002Finternal\u002Fintegrate\u002Fplugin\u002Ftestdata\u002Faps\u002Fmcp-not-file\u002Fskills\u002Fkeep\u002FSKILL.md",[],[]]