[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71GPJFMRFM01MG05ZE03TC6":3,"skill-same:01M71GPJFMRFM01MG05ZE03TC6":55},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":22,"linkOnly":23,"markdownContent":24,"markdownBody":25,"frontMatter":26,"refName":27,"commitSha":28,"skillDirectory":29,"forksCount":30,"repositoryHtmlUrl":31,"repositoryHomepageUrl":6,"ownerHtmlUrl":32,"ownerBlogUrl":33,"ownerDescription":6,"updatedAt":34,"install":35,"resources":48},"01M71GPJFMRFM01MG05ZE03TC6","qa-snapshot-tests",null,"lookatitude\u002Fguild","lookatitude","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F524917?v=4","01M71GJ2KGXFSJZKAZC5P1ZXXM","Miguel Pinto","01M71GJ2MH4SH9WJKP8M7XZZ0P",8,"MIT","https:\u002F\u002Fgithub.com\u002Flookatitude\u002Fguild\u002Fblob\u002Fmain\u002Fskills\u002Fspecialists\u002Fqa-snapshot-tests\u002FSKILL.md",[],[18,19,20,21],"qa","snapshot","tests","qa snapshot tests","2026-11-10 10:12:30",false,"---\nname: qa-snapshot-tests\ndescription: Authors snapshot tests with governance — what to snapshot, granularity, update-review policy, and rot prevention. Output: a snapshot test suite plus a short update-review policy doc. Pulled by the `qa` specialist. TRIGGER: \"add snapshot tests for X\", \"snapshot test the rendered X\", \"author Jest snapshots for X\", \"write golden-file tests for X\", \"capture the output shape of X as a snapshot\", \"set up inline snapshots for X\". DO NOT TRIGGER for: test-strategy selection (use `qa-test-strategy`), property-based tests (use `qa-property-based-tests`), flaky-test diagnosis (use `qa-flaky-test-hunter`), UI visual regression via screenshots (mobile \u002F frontend group owns), end-to-end behavior tests (owning service group), API contract specification (backend-api-contract).\nwhen_to_use: The parent `qa` specialist pulls this skill when the task requires locking a rendered or serialized output and enforcing review when it changes. Also fires on explicit user request.\ntype: specialist\n---\n\n# qa-snapshot-tests\n\nThe snapshot is a cheap spec, but only if every update is reviewed — auto-accepting diffs turns tests into rubber stamps.\n\n## What you do\n\nLock a serialized or rendered output as a committed artifact, small enough to read in review. Every change is a human decision — never a blind `--updateSnapshot`.\n\n- Snapshot stable, semantic outputs (normalized JSON, serialized AST, component tree) — not raw timestamps, GUIDs, or ordering-sensitive hashes.\n- Normalize noise with custom serializers (redact dates, sort keys, strip addresses).\n- Keep snapshots small: if a file is 500+ lines, the test proves nothing a reviewer can verify.\n- Prefer inline snapshots for small outputs — the test and its expectation live together.\n- Document the update policy: who approves updates, what counts as a legitimate change.\n- Pin a review checklist so snapshot PRs get human eyes, not a thumb-up.\n\n## Output shape\n\nA test suite plus a short policy doc:\n\n1. **Snapshot tests** — one test per serialized unit, normalized.\n2. **Custom serializers** — shared module that scrubs nondeterminism.\n3. **Update policy** — `snapshot-policy.md`: when to update, who reviews, what's suspect.\n4. **Review checklist** — two-line checklist referenced in PR template.\n5. **Rot guard** — a test or lint that flags snapshots untouched for > N months (optional but recommended).\n\n## Anti-patterns\n\n- Auto-updating on diff — the test passes but nobody read the change.\n- Massive snapshots — 1000-line dumps that reviewers skim.\n- Snapshots as spec — using them as the only proof of behavior that deserves explicit assertions.\n- Unnormalized timestamps, GUIDs, or iteration order — flaky by construction.\n- Snapshot sprawl — every test is a snapshot; behavior is unreadable.\n- No update policy — every dev updates snapshots on local failure.\n\n## Handoff\n\nReturn the test suite path and policy doc path to the invoking `qa` specialist. If snapshots keep churning, the qa agent chains into `qa-flaky-test-hunter` (nondeterminism) or back to the owning service to fix the underlying source of churn. This skill does not dispatch.\n","# qa-snapshot-tests\n\nThe snapshot is a cheap spec, but only if every update is reviewed — auto-accepting diffs turns tests into rubber stamps.\n\n## What you do\n\nLock a serialized or rendered output as a committed artifact, small enough to read in review. Every change is a human decision — never a blind `--updateSnapshot`.\n\n- Snapshot stable, semantic outputs (normalized JSON, serialized AST, component tree) — not raw timestamps, GUIDs, or ordering-sensitive hashes.\n- Normalize noise with custom serializers (redact dates, sort keys, strip addresses).\n- Keep snapshots small: if a file is 500+ lines, the test proves nothing a reviewer can verify.\n- Prefer inline snapshots for small outputs — the test and its expectation live together.\n- Document the update policy: who approves updates, what counts as a legitimate change.\n- Pin a review checklist so snapshot PRs get human eyes, not a thumb-up.\n\n## Output shape\n\nA test suite plus a short policy doc:\n\n1. **Snapshot tests** — one test per serialized unit, normalized.\n2. **Custom serializers** — shared module that scrubs nondeterminism.\n3. **Update policy** — `snapshot-policy.md`: when to update, who reviews, what's suspect.\n4. **Review checklist** — two-line checklist referenced in PR template.\n5. **Rot guard** — a test or lint that flags snapshots untouched for > N months (optional but recommended).\n\n## Anti-patterns\n\n- Auto-updating on diff — the test passes but nobody read the change.\n- Massive snapshots — 1000-line dumps that reviewers skim.\n- Snapshots as spec — using them as the only proof of behavior that deserves explicit assertions.\n- Unnormalized timestamps, GUIDs, or iteration order — flaky by construction.\n- Snapshot sprawl — every test is a snapshot; behavior is unreadable.\n- No update policy — every dev updates snapshots on local failure.\n\n## Handoff\n\nReturn the test suite path and policy doc path to the invoking `qa` specialist. If snapshots keep churning, the qa agent chains into `qa-flaky-test-hunter` (nondeterminism) or back to the owning service to fix the underlying source of churn. This skill does not dispatch.\n",{},"main","2e58b0360ca51ca3c96ca8e015ef5aba5738803d","skills\u002Fspecialists\u002Fqa-snapshot-tests",0,"https:\u002F\u002Fgithub.com\u002Flookatitude\u002Fguild","https:\u002F\u002Fgithub.com\u002Flookatitude","https:\u002F\u002Flookatitude.com","2026-11-06 03:55:18",{"source":7,"skillName":5,"commands":36,"prompt":46,"zipAvailable":47},[37,40,43],{"tool":38,"command":39},"npx","npx skills add lookatitude\u002Fguild --skill qa-snapshot-tests",{"tool":41,"command":42},"bunx","bunx skills add lookatitude\u002Fguild --skill qa-snapshot-tests",{"tool":44,"command":45},"pnpm","pnpm dlx skills add lookatitude\u002Fguild --skill qa-snapshot-tests","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flookatitude\u002Fguild\u002Fblob\u002Fmain\u002Fskills\u002Fspecialists\u002Fqa-snapshot-tests\u002FSKILL.md",true,[49],{"path":50,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":53,"sourceHtmlUrl":54},"evals.json","REFERENCE","参考文档",686,"https:\u002F\u002Fgithub.com\u002Flookatitude\u002Fguild\u002Fblob\u002Fmain\u002Fskills\u002Fspecialists\u002Fqa-snapshot-tests\u002Fevals.json",[56,63,69,75,81,87],{"skillNo":57,"name":58,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":62},"01M73RXDTR96SBKTEEE35JMWS7","technical-writer-tutorial","https:\u002F\u002Fgithub.com\u002Flookatitude\u002Fguild\u002Fblob\u002Fmain\u002Fskills\u002Fspecialists\u002Ftechnical-writer-tutorial\u002FSKILL.md",[],[],"2026-11-11 15:11:14",{"skillNo":64,"name":65,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":62},"01M73RX9FY2GNEZT1S2SJZH307","social-media-thread","https:\u002F\u002Fgithub.com\u002Flookatitude\u002Fguild\u002Fblob\u002Fmain\u002Fskills\u002Fspecialists\u002Fsocial-media-thread\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":62},"01M73RWY3CNA6HP52QC65XTZ5A","security-dependency-audit","https:\u002F\u002Fgithub.com\u002Flookatitude\u002Fguild\u002Fblob\u002Fmain\u002Fskills\u002Fspecialists\u002Fsecurity-dependency-audit\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":62},"01M73RWBSKQXZ13SVRGS5K1K72","marketing-launch-plan","https:\u002F\u002Fgithub.com\u002Flookatitude\u002Fguild\u002Fblob\u002Fmain\u002Fskills\u002Fspecialists\u002Fmarketing-launch-plan\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":62},"01M73RW8DJAG381R94DN6KSTEG","marketing-ab-copy-variants","https:\u002F\u002Fgithub.com\u002Flookatitude\u002Fguild\u002Fblob\u002Fmain\u002Fskills\u002Fspecialists\u002Fmarketing-ab-copy-variants\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":62},"01M73RW44HRQJTJ33V12SVS612","frontend-bundler-config","https:\u002F\u002Fgithub.com\u002Flookatitude\u002Fguild\u002Fblob\u002Fmain\u002Fskills\u002Fspecialists\u002Ffrontend-bundler-config\u002FSKILL.md",[],[]]