[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6X0P19G8JXBTBQX7KV5EFCT":3,"skill-same:01M6X0P19G8JXBTBQX7KV5EFCT":67},{"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":36,"linkOnly":37,"markdownContent":38,"markdownBody":39,"frontMatter":40,"refName":43,"commitSha":44,"skillDirectory":45,"forksCount":46,"repositoryHtmlUrl":47,"repositoryHomepageUrl":48,"ownerHtmlUrl":49,"ownerBlogUrl":50,"ownerDescription":51,"updatedAt":52,"install":53,"resources":66},"01M6X0P19G8JXBTBQX7KV5EFCT","archival-integrity",null,"Preserve content when moving entries between tracked Squad state files","github\u002Fsquad","github","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F9919?v=4","01M6AC83DS133TPXFSP1DHNCC6","GitHub","01M6X0MZ6B0WYMMDPK3Q61KER6",3391,"MIT","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fsquad\u002Fblob\u002Fdev\u002F.copilot\u002Fskills\u002Farchival-integrity\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35],"archival integrity","integrity","archival","state-management","helpers","when","preserve","high","tests","entries","documentation","files","management","regression","content","state","squad","2026-11-10 10:12:30",false,"---\nname: archival-integrity\ndescription: Preserve content when moving entries between tracked Squad state files\ndomain: state-management, documentation\nconfidence: high\nsource: implemented archival helpers and regression tests\n---\n\n## Context\n\nUse this skill for decision archival, history summarization, or any operation that moves entries\nbetween repository state files. A move has two halves: append to the destination, then trim the\nsource. Treat it as data loss prevention, not text cleanup.\n\n## Scope\n\n- Activate when moving entries between tracked Squad state files such as decision logs, histories, or inbox merges.\n- Allowed targets: tracked repository state files and their designated tracked archives.\n- Exclusions: untracked destinations, byte-delta-only validation, and trimming source content before the destination is verified.\n- This procedure is scoped to the local state backend unless the active backend exposes governed\n  append, read-back, and trim operations. Runtime-owned orphan or two-layer state is not a valid\n  archival destination; use the backend's state operation instead of editing a checkout copy.\n\n## Patterns\n\n1. Resolve a destination that is already tracked before writing. If the requested destination is\n   untracked, redirect to a tracked archive or stop.\n2. Append first, re-read the destination, and prove every moved heading is present.\n3. Compare entry counts before and after the append. Trim only when the count increased by exactly\n   the selected number of entries.\n4. Report measured `removed from source \u002F added to destination` counts. Do not use byte deltas as\n   an integrity signal.\n5. When inserting an inbox body beneath a `###` entry, demote its shallowest heading to `####`\n   while preserving relative levels and fenced-code content.\n6. Prefer `archiveEntries()`, `prepareInboxBodyForMerge()`, and `formatArchivalReport()` from\n   `packages\u002Fsquad-sdk\u002Fsrc\u002Fstate\u002Fio\u002Farchival.ts` over hand-rolled archival logic.\n\n## Stop conditions\n\n- Stop if the destination is not already tracked.\n- Stop if the appended headings cannot be re-read from the destination.\n- Stop if the entry-count increase does not exactly match the selected move set.\n- Stop if the active backend is non-local and does not provide governed archival operations.\n- Stop if state appears orphaned, split across runtime and checkout layers, or owned by another\n  process without an explicit handoff.\n\n## Examples\n\nThe archival tests in `test\u002Fstate\u002Farchival.test.ts` cover append failures, swallowed writes,\nuntracked destinations, CRLF inputs, count verification, and fence-aware heading demotion.\n\n## Anti-Patterns\n\n- Creating a timestamped archive under a git-excluded directory and assuming it will persist\n- Deleting source content before the destination has been verified\n- Reporting “no archival required” without measuring eligible entries\n- Treating a matching file-size delta as proof that the content survived\n","## Context\n\nUse this skill for decision archival, history summarization, or any operation that moves entries\nbetween repository state files. A move has two halves: append to the destination, then trim the\nsource. Treat it as data loss prevention, not text cleanup.\n\n## Scope\n\n- Activate when moving entries between tracked Squad state files such as decision logs, histories, or inbox merges.\n- Allowed targets: tracked repository state files and their designated tracked archives.\n- Exclusions: untracked destinations, byte-delta-only validation, and trimming source content before the destination is verified.\n- This procedure is scoped to the local state backend unless the active backend exposes governed\n  append, read-back, and trim operations. Runtime-owned orphan or two-layer state is not a valid\n  archival destination; use the backend's state operation instead of editing a checkout copy.\n\n## Patterns\n\n1. Resolve a destination that is already tracked before writing. If the requested destination is\n   untracked, redirect to a tracked archive or stop.\n2. Append first, re-read the destination, and prove every moved heading is present.\n3. Compare entry counts before and after the append. Trim only when the count increased by exactly\n   the selected number of entries.\n4. Report measured `removed from source \u002F added to destination` counts. Do not use byte deltas as\n   an integrity signal.\n5. When inserting an inbox body beneath a `###` entry, demote its shallowest heading to `####`\n   while preserving relative levels and fenced-code content.\n6. Prefer `archiveEntries()`, `prepareInboxBodyForMerge()`, and `formatArchivalReport()` from\n   `packages\u002Fsquad-sdk\u002Fsrc\u002Fstate\u002Fio\u002Farchival.ts` over hand-rolled archival logic.\n\n## Stop conditions\n\n- Stop if the destination is not already tracked.\n- Stop if the appended headings cannot be re-read from the destination.\n- Stop if the entry-count increase does not exactly match the selected move set.\n- Stop if the active backend is non-local and does not provide governed archival operations.\n- Stop if state appears orphaned, split across runtime and checkout layers, or owned by another\n  process without an explicit handoff.\n\n## Examples\n\nThe archival tests in `test\u002Fstate\u002Farchival.test.ts` cover append failures, swallowed writes,\nuntracked destinations, CRLF inputs, count verification, and fence-aware heading demotion.\n\n## Anti-Patterns\n\n- Creating a timestamped archive under a git-excluded directory and assuming it will persist\n- Deleting source content before the destination has been verified\n- Reporting “no archival required” without measuring eligible entries\n- Treating a matching file-size delta as proof that the content survived\n",{"name":5,"domain":41,"source":42,"confidence":26,"description":7},"state-management, documentation","implemented archival helpers and regression tests","dev","7b731ec97f35346bdc4fa87c3edaf16b808fc0ae",".copilot\u002Fskills\u002Farchival-integrity",520,"https:\u002F\u002Fgithub.com\u002Fgithub\u002Fsquad","https:\u002F\u002Fgithub.github.io\u002Fsquad\u002F","https:\u002F\u002Fgithub.com\u002Fgithub","https:\u002F\u002Fgithub.com\u002Fabout","How people build software.","2026-11-15 02:13:59",{"source":8,"skillName":5,"commands":54,"prompt":64,"zipAvailable":65},[55,58,61],{"tool":56,"command":57},"npx","npx skills add github\u002Fsquad --skill archival-integrity",{"tool":59,"command":60},"bunx","bunx skills add github\u002Fsquad --skill archival-integrity",{"tool":62,"command":63},"pnpm","pnpm dlx skills add github\u002Fsquad --skill archival-integrity","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fgithub\u002Fsquad\u002Fblob\u002Fdev\u002F.copilot\u002Fskills\u002Farchival-integrity\u002FSKILL.md",true,[],[68,76,83,90,97,103],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":75},"01M76752CVNE7K6NWD59CRAYNJ","windows-compatibility","Cross-platform path handling and command patterns","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fsquad\u002Fblob\u002Fdev\u002Fplugins\u002Fsquad\u002Fskills\u002Fwindows-compatibility\u002FSKILL.md",[],[],"2026-11-12 13:55:43",{"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":75},"01M767508W8A4G83NX1FKEW5VN","versioning-policy","SemVer rules for Squad's stable, preview, insider, and local package versions","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fsquad\u002Fblob\u002Fdev\u002Fplugins\u002Fsquad\u002Fskills\u002Fversioning-policy\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":75},"01M7674X5JJKNJ74B3SS8PGXG2","tiered-memory","Three-tier agent memory model (hot\u002Fcold\u002Fwiki) for context reduction per spawn","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fsquad\u002Fblob\u002Fdev\u002Fplugins\u002Fsquad\u002Fskills\u002Ftiered-memory\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":75},"01M7674V3S9H03A76H75M1KSAF","test-discipline","Design assertions that prove the actual contract and fail on realistic regressions","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fsquad\u002Fblob\u002Fdev\u002Fplugins\u002Fsquad\u002Fskills\u002Ftest-discipline\u002FSKILL.md",[],[],{"skillNo":98,"name":35,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":75},"01M7674QB8CA61RNDX2Z0NAK71","Squad's command catalog and interactive menu. Invoke via \u002Fsquad (slash command) or natural language (\"squad commands\", \"what can squad do\", \"show me squad options\"). Presents categorized operations (Install & Upgrade, Team Management, Issues & PRs, Plugins & Skills, Model & Cost, Sessions & State) as an interactive picker. Routes to the right squad CLI command or the Squad coordinator agent.","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fsquad\u002Fblob\u002Fdev\u002Fplugins\u002Fsquad\u002Fskills\u002Fsquad\u002FSKILL.md",[],[],{"skillNo":104,"name":105,"nameZh":6,"description":106,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":107,"categories":108,"keywords":109,"publishedAt":75},"01M7674KTQ632N30HQB1TP7TXH","squad-version-check","Internals of how @bradygaster\u002Fsquad-cli stamps its version, how `squad upgrade` works (what it preserves vs overwrites), and how to probe the npm registry for the latest version from a coordinator prompt.","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fsquad\u002Fblob\u002Fdev\u002Fplugins\u002Fsquad\u002Fskills\u002Fsquad-version-check\u002FSKILL.md",[],[]]