[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6X1D26R9PHAVSHES29FVRAD":3,"skill-same:01M6X1D26R9PHAVSHES29FVRAD":66},{"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":23,"publishedAt":35,"linkOnly":36,"markdownContent":37,"markdownBody":38,"frontMatter":39,"refName":42,"commitSha":43,"skillDirectory":44,"forksCount":45,"repositoryHtmlUrl":46,"repositoryHomepageUrl":47,"ownerHtmlUrl":48,"ownerBlogUrl":49,"ownerDescription":50,"updatedAt":51,"install":52,"resources":65},"01M6X1D26R9PHAVSHES29FVRAD","reskill",null,"Extract durable operating knowledge before slimming or replacing team charters","github\u002Fsquad","github","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F9919?v=4","01M6AC83DS133TPXFSP1DHNCC6","GitHub","01M6X0MZ6B0WYMMDPK3Q61KER6",3377,"MIT","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fsquad\u002Fblob\u002Fdev\u002Fpackages\u002Fsquad-cli\u002Ftemplates\u002Fskills\u002Freskill\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[5,24,25,26,27,28,29,30,31,32,33,34],"team charters","Optimization","team","knowledge","context","extract","operating","manual","high","reduce","overhead","2026-11-10 10:12:30",false,"---\nname: \"reskill\"\ndescription: \"Extract durable operating knowledge before slimming or replacing team charters\"\ndomain: \"team-optimization\"\nconfidence: \"high\"\nsource: \"manual — reduce per-agent context overhead\"\n---\n\n## Context\n\nWhen the coordinator hears \"team, reskill\" (or similar: \"optimize context\", \"slim down charters\"), trigger a team-wide optimization pass. The goal: reduce per-agent context consumption by extracting shared patterns from charters and histories into reusable skills.\n\nThis is a periodic maintenance activity. Run whenever charter\u002Fhistory bloat is suspected or a\nteam will be re-cast. Charters and histories are evidence, not the authority for current product\nbehavior: reconcile candidates against current source, workflows, tests, documentation, skills,\nand decisions before preserving them.\n\n## Process\n\n### Step 1: Audit\nRead all active agent charters and histories, then inventory existing skills. Measure byte sizes.\nIdentify:\n\n- **Boilerplate** — sections repeated across ≥3 charters with \u003C10% variation (collaboration, model, boundaries template)\n- **Shared knowledge** — domain knowledge duplicated in 2+ charters (incident postmortems, technical patterns)\n- **Mature learnings** — recurring history lessons that should be promoted to skills\n- **Retirement-critical knowledge** — any still-current reusable procedure, constraint, incident\n  lesson, or repository operating fact that would be lost if a charter or history were deleted\n\n### Step 2: Extract\nFor each reconciled pattern:\n1. Create or update the skill in the location that matches its activation surface:\n   `.squad-templates\u002Fskills\u002F{skill-name}\u002FSKILL.md` for reusable skills shipped in generated\n   Squad templates, `.github\u002Fskills\u002F{skill-name}\u002FSKILL.md` for repository-local or GitHub\n   Agentic Workflow procedures, or `.squad\u002Fskills\u002F{skill-name}\u002FSKILL.md` for Squad-specific\n   coordinator procedures. Do not treat\n   `.copilot\u002Fskills\u002F` as a destination for new skills; it is the legacy install path.\n2. Follow the skill template format (frontmatter + Context + Patterns + Examples + Anti-Patterns)\n3. Keep the location consistent with the procedure's real entry point instead of copying the same\n   contract into multiple trees without intent\n4. Set confidence from the evidence, not the number of charters that contained it\n\n### Step 3: Trim\n**Charters** — target ≤1.5KB per agent:\n- Remove Collaboration section entirely (spawn prompt + agent-collaboration skill covers it)\n- Remove Voice section (tagline blockquote at top of charter already captures it)\n- Trim Model section to single line: `**Preferred:** {model}`\n- Remove \"When I'm unsure\" boilerplate from Boundaries\n- Remove durable operating knowledge now covered by a skill — add a skill reference only when it\n  helps the role activate the procedure\n- Keep: Identity, What I Own, unique How I Work patterns, Boundaries (domain list only)\n\n**Histories** — target ≤8KB per agent:\n- Apply history-hygiene only when a retained history would otherwise assert a materially false\n  operational fact\n- Promote reusable current patterns even when found in one retiring charter or history\n- Summarize old entries into `## Core Context` section\n- Remove session-specific metadata (dates, branch names, requester names)\n\nFor a planned re-cast, avoid cosmetic history rewrites. Extract the reusable lesson, document\nstale or conflicting material in the reskill report, and leave archival cleanup to the re-cast.\n\n### Step 4: Report\nOutput a savings table:\n\n| Agent | Charter Before | Charter After | History Before | History After | Saved |\n|-------|---------------|---------------|----------------|---------------|-------|\n\nInclude totals and percentage reduction.\n\n## Patterns\n\n### Minimal Charter Template (target format after reskill)\n\n```\n# {Name} — {Role}\n\n> {Tagline — one sentence capturing voice and philosophy}\n\n## Identity\n- **Name:** {Name}\n- **Role:** {Role}\n- **Expertise:** {comma-separated list}\n\n## What I Own\n- {bullet list of owned artifacts\u002Fdomains}\n\n## How I Work\n- {unique patterns and principles — NOT boilerplate}\n\n## Boundaries\n**I handle:** {domain list}\n**I don't handle:** {explicit exclusions}\n\n## Model\n**Preferred:** {model}\n```\n\n### Skill Extraction Threshold\n- **Normal maintenance:** extract repeated operational knowledge; retain genuinely role-specific\n  identity and working style.\n- **Before a re-cast:** extract every still-current reusable operating rule, even if it appears in\n  a single retiring charter or history.\n\n### Conflict Resolution\n1. Current implementation, executable workflows, and tests\n2. Current user-facing documentation and current skills\n3. Decisions that remain applicable\n4. Charter and history records\n\nDo not preserve historical assignments, status reports, personality, ownership, stale version\nfacts, or obsolete workarounds. Record intentionally discarded conflicts in the reskill report.\n\n### Source and Mirror Discipline\n\n`.squad-templates\u002Fskills\u002F` is the canonical source for shipped Squad skill templates. After\nchanging a shipped template, run the repository's skill-template sync command and verify the\nroot, CLI, and SDK mirrors are byte-identical. Local `.copilot\u002Fskills\u002F` guidance is maintained\nseparately and must not be treated as a generated mirror.\n\n## Anti-Patterns\n- Don't delete unique per-agent identity or domain-specific knowledge\n- Don't leave reusable knowledge in a retiring charter just because only one agent recorded it\n- Don't merge unrelated patterns into a single mega-skill\n- Don't remove Model preference line (coordinator needs it for model selection)\n- Don't touch `.squad\u002Fdecisions.md` during reskill\n- Don't remove the tagline blockquote — it's the charter's soul in one line\n","## Context\n\nWhen the coordinator hears \"team, reskill\" (or similar: \"optimize context\", \"slim down charters\"), trigger a team-wide optimization pass. The goal: reduce per-agent context consumption by extracting shared patterns from charters and histories into reusable skills.\n\nThis is a periodic maintenance activity. Run whenever charter\u002Fhistory bloat is suspected or a\nteam will be re-cast. Charters and histories are evidence, not the authority for current product\nbehavior: reconcile candidates against current source, workflows, tests, documentation, skills,\nand decisions before preserving them.\n\n## Process\n\n### Step 1: Audit\nRead all active agent charters and histories, then inventory existing skills. Measure byte sizes.\nIdentify:\n\n- **Boilerplate** — sections repeated across ≥3 charters with \u003C10% variation (collaboration, model, boundaries template)\n- **Shared knowledge** — domain knowledge duplicated in 2+ charters (incident postmortems, technical patterns)\n- **Mature learnings** — recurring history lessons that should be promoted to skills\n- **Retirement-critical knowledge** — any still-current reusable procedure, constraint, incident\n  lesson, or repository operating fact that would be lost if a charter or history were deleted\n\n### Step 2: Extract\nFor each reconciled pattern:\n1. Create or update the skill in the location that matches its activation surface:\n   `.squad-templates\u002Fskills\u002F{skill-name}\u002FSKILL.md` for reusable skills shipped in generated\n   Squad templates, `.github\u002Fskills\u002F{skill-name}\u002FSKILL.md` for repository-local or GitHub\n   Agentic Workflow procedures, or `.squad\u002Fskills\u002F{skill-name}\u002FSKILL.md` for Squad-specific\n   coordinator procedures. Do not treat\n   `.copilot\u002Fskills\u002F` as a destination for new skills; it is the legacy install path.\n2. Follow the skill template format (frontmatter + Context + Patterns + Examples + Anti-Patterns)\n3. Keep the location consistent with the procedure's real entry point instead of copying the same\n   contract into multiple trees without intent\n4. Set confidence from the evidence, not the number of charters that contained it\n\n### Step 3: Trim\n**Charters** — target ≤1.5KB per agent:\n- Remove Collaboration section entirely (spawn prompt + agent-collaboration skill covers it)\n- Remove Voice section (tagline blockquote at top of charter already captures it)\n- Trim Model section to single line: `**Preferred:** {model}`\n- Remove \"When I'm unsure\" boilerplate from Boundaries\n- Remove durable operating knowledge now covered by a skill — add a skill reference only when it\n  helps the role activate the procedure\n- Keep: Identity, What I Own, unique How I Work patterns, Boundaries (domain list only)\n\n**Histories** — target ≤8KB per agent:\n- Apply history-hygiene only when a retained history would otherwise assert a materially false\n  operational fact\n- Promote reusable current patterns even when found in one retiring charter or history\n- Summarize old entries into `## Core Context` section\n- Remove session-specific metadata (dates, branch names, requester names)\n\nFor a planned re-cast, avoid cosmetic history rewrites. Extract the reusable lesson, document\nstale or conflicting material in the reskill report, and leave archival cleanup to the re-cast.\n\n### Step 4: Report\nOutput a savings table:\n\n| Agent | Charter Before | Charter After | History Before | History After | Saved |\n|-------|---------------|---------------|----------------|---------------|-------|\n\nInclude totals and percentage reduction.\n\n## Patterns\n\n### Minimal Charter Template (target format after reskill)\n\n```\n# {Name} — {Role}\n\n> {Tagline — one sentence capturing voice and philosophy}\n\n## Identity\n- **Name:** {Name}\n- **Role:** {Role}\n- **Expertise:** {comma-separated list}\n\n## What I Own\n- {bullet list of owned artifacts\u002Fdomains}\n\n## How I Work\n- {unique patterns and principles — NOT boilerplate}\n\n## Boundaries\n**I handle:** {domain list}\n**I don't handle:** {explicit exclusions}\n\n## Model\n**Preferred:** {model}\n```\n\n### Skill Extraction Threshold\n- **Normal maintenance:** extract repeated operational knowledge; retain genuinely role-specific\n  identity and working style.\n- **Before a re-cast:** extract every still-current reusable operating rule, even if it appears in\n  a single retiring charter or history.\n\n### Conflict Resolution\n1. Current implementation, executable workflows, and tests\n2. Current user-facing documentation and current skills\n3. Decisions that remain applicable\n4. Charter and history records\n\nDo not preserve historical assignments, status reports, personality, ownership, stale version\nfacts, or obsolete workarounds. Record intentionally discarded conflicts in the reskill report.\n\n### Source and Mirror Discipline\n\n`.squad-templates\u002Fskills\u002F` is the canonical source for shipped Squad skill templates. After\nchanging a shipped template, run the repository's skill-template sync command and verify the\nroot, CLI, and SDK mirrors are byte-identical. Local `.copilot\u002Fskills\u002F` guidance is maintained\nseparately and must not be treated as a generated mirror.\n\n## Anti-Patterns\n- Don't delete unique per-agent identity or domain-specific knowledge\n- Don't leave reusable knowledge in a retiring charter just because only one agent recorded it\n- Don't merge unrelated patterns into a single mega-skill\n- Don't remove Model preference line (coordinator needs it for model selection)\n- Don't touch `.squad\u002Fdecisions.md` during reskill\n- Don't remove the tagline blockquote — it's the charter's soul in one line\n",{"name":5,"domain":40,"source":41,"confidence":32,"description":7},"team-optimization","manual — reduce per-agent context overhead","dev","7b731ec97f35346bdc4fa87c3edaf16b808fc0ae","packages\u002Fsquad-cli\u002Ftemplates\u002Fskills\u002Freskill",516,"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-12 02:20:49",{"source":8,"skillName":5,"commands":53,"prompt":63,"zipAvailable":64},[54,57,60],{"tool":55,"command":56},"npx","npx skills add github\u002Fsquad --skill reskill",{"tool":58,"command":59},"bunx","bunx skills add github\u002Fsquad --skill reskill",{"tool":61,"command":62},"pnpm","pnpm dlx skills add github\u002Fsquad --skill reskill","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fgithub\u002Fsquad\u002Fblob\u002Fdev\u002Fpackages\u002Fsquad-cli\u002Ftemplates\u002Fskills\u002Freskill\u002FSKILL.md",true,[],[67,95,107,116,133,157],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":74,"publishedAt":35},"01M6X287DVJK1S91END9DSHETN","gh-aw-enlistment","Enlist a repository into Squad by installing the supported GitHub Agentic Workflows (gh-aw) bootstrap — with strict compilation, an explicit safe-update allowlist, and a human-reviewed bootstrap PR. Never auto-merges.","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fsquad\u002Fblob\u002Fdev\u002Fworkflows\u002Fskills\u002Fgh-aw-enlistment\u002FSKILL.md",[73],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94],"gh aw enlistment","gh","safe","workflows","agentic workflows","identity","squad","update","compiling","actions","ci","Safety","preflight","guide","auto","files","human","pr creation","github cli","lock",{"skillNo":96,"name":97,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":101,"publishedAt":35},"01M6X27Y5119CSRQFFJCV6432R","My Skill","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fsquad\u002Fblob\u002Fdev\u002Ftest-fixtures\u002Fskills-test-abb30454\u002Fmy-skill\u002FSKILL.md",[100],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[102,103,104,105,106],"my","my skill","testing","vitest","tester",{"skillNo":108,"name":109,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":110,"categories":111,"keywords":113,"publishedAt":35},"01M6X27RWAYB2X9ER0MVRRKXGA","bad-skill","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fsquad\u002Fblob\u002Fdev\u002Ftest-fixtures\u002Fskills-test-abb30454\u002Fbad-skill\u002FSKILL.md",[112],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[114,115],"bad","bad skill",{"skillNo":117,"name":118,"nameZh":6,"description":119,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":120,"categories":121,"keywords":122,"publishedAt":35},"01M6X27HBWM6V81KXYW5XQSWFJ","windows-compatibility","Cross-platform path handling and command patterns","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fsquad\u002Fblob\u002Fdev\u002Ftemplates\u002Fskills\u002Fwindows-compatibility\u002FSKILL.md",[],[123,124,125,32,126,127,128,129,130,131,132],"windows compatibility","compatibility","windows","platform","path","bugs","git","command","patterns","cross-platform",{"skillNo":134,"name":135,"nameZh":6,"description":136,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":137,"categories":138,"keywords":139,"publishedAt":35},"01M6X278Z6PF2YQN406RHJJWHG","versioning-policy","SemVer rules for Squad's stable, preview, insider, and local package versions","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fsquad\u002Fblob\u002Fdev\u002Ftemplates\u002Fskills\u002Fversioning-policy\u002FSKILL.md",[],[140,141,142,143,144,81,145,146,147,148,85,149,150,151,152,153,154,155,32,156],"versioning","versioning policy","policy","preview","pr","release","semver","npm","package","workspace","Rules","incident","local","resolution","channels","insider","for",{"skillNo":158,"name":159,"nameZh":6,"description":160,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":161,"categories":162,"keywords":167,"publishedAt":35},"01M6X26XS6T23E81XNP51HMQAT","tiered-memory","Three-tier agent memory model (hot\u002Fcold\u002Fwiki) for context reduction per spawn","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fsquad\u002Fblob\u002Fdev\u002Ftemplates\u002Fskills\u002Ftiered-memory\u002FSKILL.md",[163,166],{"categoryNo":164,"categoryName":165,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000015","视觉设计",{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[168,169,170,171,172,173,174,175,156,176,177,178,179,180,181,28],"memory","tiered memory","model","wiki","agent memory","performance","cold","memory-management","runtime","three","spawn","proposal","management","design"]