[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6R76CJYGJVM9CZ9ZKRJ8262":3,"skill-same:01M6R76CJYGJVM9CZ9ZKRJ8262":73},{"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":53,"commitSha":54,"skillDirectory":55,"forksCount":13,"repositoryHtmlUrl":56,"repositoryHomepageUrl":6,"ownerHtmlUrl":57,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":58,"install":59,"resources":72},"01M6R76CJYGJVM9CZ9ZKRJ8262","cross-squad",null,"Coordinating work across multiple Squad instances","barichter\u002Fsquad","barichter","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F96797186?v=4","01M6R712K8ESMDF089BFENBR16","01M6R712R74BSQQSG2GTXBWR8P",0,"MIT","https:\u002F\u002Fgithub.com\u002Fbarichter\u002Fsquad\u002Fblob\u002Fdev\u002F.squad\u002Fskills\u002Fcross-squad\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"cross squad","squad","when","orchestration","can","which","manual","you","squads","discover","across","domain","task","instances","delegate","find","work","repository","capabilities","create","2026-11-10 10:12:30",false,"---\nname: \"cross-squad\"\ndescription: \"Coordinating work across multiple Squad instances\"\ndomain: \"orchestration\"\nconfidence: \"medium\"\nsource: \"manual\"\ntools:\n  - name: \"squad-discover\"\n    description: \"List known squads and their capabilities\"\n    when: \"When you need to find which squad can handle a task\"\n  - name: \"squad-delegate\"\n    description: \"Create work in another squad's repository\"\n    when: \"When a task belongs to another squad's domain\"\n---\n\n## Context\nWhen an organization runs multiple Squad instances (e.g., platform-squad, frontend-squad, data-squad), those squads need to discover each other, share context, and hand off work across repository boundaries. This skill teaches agents how to coordinate across squads without creating tight coupling.\n\nCross-squad orchestration applies when:\n- A task requires capabilities owned by another squad\n- An architectural decision affects multiple squads\n- A feature spans multiple repositories with different squads\n- A squad needs to request infrastructure, tooling, or support from another squad\n\n## Patterns\n\n### Discovery via Manifest\nEach squad publishes a `.squad\u002Fmanifest.json` declaring its name, capabilities, and contact information. Squads discover each other through:\n1. **Well-known paths**: Check `.squad\u002Fmanifest.json` in known org repos\n2. **Upstream config**: Squads already listed in `.squad\u002Fupstream.json` are checked for manifests\n3. **Explicit registry**: A central `squad-registry.json` can list all squads in an org\n\n```json\n{\n  \"name\": \"platform-squad\",\n  \"version\": \"1.0.0\",\n  \"description\": \"Platform infrastructure team\",\n  \"capabilities\": [\"kubernetes\", \"helm\", \"monitoring\", \"ci-cd\"],\n  \"contact\": {\n    \"repo\": \"org\u002Fplatform\",\n    \"labels\": [\"squad:platform\"]\n  },\n  \"accepts\": [\"issues\", \"prs\"],\n  \"skills\": [\"helm-developer\", \"operator-developer\", \"pipeline-engineer\"]\n}\n```\n\n### Context Sharing\nWhen delegating work, share only what the target squad needs:\n- **Capability list**: What this squad can do (from manifest)\n- **Relevant decisions**: Only decisions that affect the target squad\n- **Handoff context**: A concise description of why this work is being delegated\n\nDo NOT share:\n- Internal team state (casting history, session logs)\n- Full decision archives (send only relevant excerpts)\n- Authentication credentials or secrets\n\n### Work Handoff Protocol\n1. **Check manifest**: Verify the target squad accepts the work type (issues, PRs)\n2. **Create issue**: Use `gh issue create` in the target repo with:\n   - Title: `[cross-squad] \u003Cdescription>`\n   - Label: `squad:cross-squad` (or the squad's configured label)\n   - Body: Context, acceptance criteria, and link back to originating issue\n3. **Track**: Record the cross-squad issue URL in the originating squad's orchestration log\n4. **Poll**: Periodically check if the delegated issue is closed\u002Fcompleted\n\n### Feedback Loop\nTrack delegated work completion:\n- Poll target issue status via `gh issue view`\n- Update originating issue with status changes\n- Close the feedback loop when delegated work merges\n\n## Examples\n\n### Discovering squads\n```bash\n# List all squads discoverable from upstreams and known repos\nsquad discover\n\n# Output:\n#   platform-squad  →  org\u002Fplatform  (kubernetes, helm, monitoring)\n#   frontend-squad  →  org\u002Ffrontend  (react, nextjs, storybook)\n#   data-squad      →  org\u002Fdata      (spark, airflow, dbt)\n```\n\n### Delegating work\n```bash\n# Delegate a task to the platform squad\nsquad delegate platform-squad \"Add Prometheus metrics endpoint for the auth service\"\n\n# Creates issue in org\u002Fplatform with cross-squad label and context\n```\n\n### Manifest in squad.config.ts\n```typescript\nexport default defineSquad({\n  manifest: {\n    name: 'platform-squad',\n    capabilities: ['kubernetes', 'helm'],\n    contact: { repo: 'org\u002Fplatform', labels: ['squad:platform'] },\n    accepts: ['issues', 'prs'],\n    skills: ['helm-developer', 'operator-developer'],\n  },\n});\n```\n\n## Anti-Patterns\n- **Direct file writes across repos** — Never modify another squad's `.squad\u002F` directory. Use issues and PRs as the communication protocol.\n- **Tight coupling** — Don't depend on another squad's internal structure. Use the manifest as the public API contract.\n- **Unbounded delegation** — Always include acceptance criteria and a timeout. Don't create open-ended requests.\n- **Skipping discovery** — Don't hardcode squad locations. Use manifests and the discovery protocol.\n- **Sharing secrets** — Never include credentials, tokens, or internal URLs in cross-squad issues.\n- **Circular delegation** — Track delegation chains. If squad A delegates to B which delegates back to A, something is wrong.\n","## Context\nWhen an organization runs multiple Squad instances (e.g., platform-squad, frontend-squad, data-squad), those squads need to discover each other, share context, and hand off work across repository boundaries. This skill teaches agents how to coordinate across squads without creating tight coupling.\n\nCross-squad orchestration applies when:\n- A task requires capabilities owned by another squad\n- An architectural decision affects multiple squads\n- A feature spans multiple repositories with different squads\n- A squad needs to request infrastructure, tooling, or support from another squad\n\n## Patterns\n\n### Discovery via Manifest\nEach squad publishes a `.squad\u002Fmanifest.json` declaring its name, capabilities, and contact information. Squads discover each other through:\n1. **Well-known paths**: Check `.squad\u002Fmanifest.json` in known org repos\n2. **Upstream config**: Squads already listed in `.squad\u002Fupstream.json` are checked for manifests\n3. **Explicit registry**: A central `squad-registry.json` can list all squads in an org\n\n```json\n{\n  \"name\": \"platform-squad\",\n  \"version\": \"1.0.0\",\n  \"description\": \"Platform infrastructure team\",\n  \"capabilities\": [\"kubernetes\", \"helm\", \"monitoring\", \"ci-cd\"],\n  \"contact\": {\n    \"repo\": \"org\u002Fplatform\",\n    \"labels\": [\"squad:platform\"]\n  },\n  \"accepts\": [\"issues\", \"prs\"],\n  \"skills\": [\"helm-developer\", \"operator-developer\", \"pipeline-engineer\"]\n}\n```\n\n### Context Sharing\nWhen delegating work, share only what the target squad needs:\n- **Capability list**: What this squad can do (from manifest)\n- **Relevant decisions**: Only decisions that affect the target squad\n- **Handoff context**: A concise description of why this work is being delegated\n\nDo NOT share:\n- Internal team state (casting history, session logs)\n- Full decision archives (send only relevant excerpts)\n- Authentication credentials or secrets\n\n### Work Handoff Protocol\n1. **Check manifest**: Verify the target squad accepts the work type (issues, PRs)\n2. **Create issue**: Use `gh issue create` in the target repo with:\n   - Title: `[cross-squad] \u003Cdescription>`\n   - Label: `squad:cross-squad` (or the squad's configured label)\n   - Body: Context, acceptance criteria, and link back to originating issue\n3. **Track**: Record the cross-squad issue URL in the originating squad's orchestration log\n4. **Poll**: Periodically check if the delegated issue is closed\u002Fcompleted\n\n### Feedback Loop\nTrack delegated work completion:\n- Poll target issue status via `gh issue view`\n- Update originating issue with status changes\n- Close the feedback loop when delegated work merges\n\n## Examples\n\n### Discovering squads\n```bash\n# List all squads discoverable from upstreams and known repos\nsquad discover\n\n# Output:\n#   platform-squad  →  org\u002Fplatform  (kubernetes, helm, monitoring)\n#   frontend-squad  →  org\u002Ffrontend  (react, nextjs, storybook)\n#   data-squad      →  org\u002Fdata      (spark, airflow, dbt)\n```\n\n### Delegating work\n```bash\n# Delegate a task to the platform squad\nsquad delegate platform-squad \"Add Prometheus metrics endpoint for the auth service\"\n\n# Creates issue in org\u002Fplatform with cross-squad label and context\n```\n\n### Manifest in squad.config.ts\n```typescript\nexport default defineSquad({\n  manifest: {\n    name: 'platform-squad',\n    capabilities: ['kubernetes', 'helm'],\n    contact: { repo: 'org\u002Fplatform', labels: ['squad:platform'] },\n    accepts: ['issues', 'prs'],\n    skills: ['helm-developer', 'operator-developer'],\n  },\n});\n```\n\n## Anti-Patterns\n- **Direct file writes across repos** — Never modify another squad's `.squad\u002F` directory. Use issues and PRs as the communication protocol.\n- **Tight coupling** — Don't depend on another squad's internal structure. Use the manifest as the public API contract.\n- **Unbounded delegation** — Always include acceptance criteria and a timeout. Don't create open-ended requests.\n- **Skipping discovery** — Don't hardcode squad locations. Use manifests and the discovery protocol.\n- **Sharing secrets** — Never include credentials, tokens, or internal URLs in cross-squad issues.\n- **Circular delegation** — Track delegation chains. If squad A delegates to B which delegates back to A, something is wrong.\n",{"name":5,"tools":43,"domain":21,"source":24,"confidence":52,"description":7},[44,48],{"name":45,"when":46,"description":47},"squad-discover","When you need to find which squad can handle a task","List known squads and their capabilities",{"name":49,"when":50,"description":51},"squad-delegate","When a task belongs to another squad's domain","Create work in another squad's repository","medium","dev","ec19f5e92325e634e3c6eff500e3cefa56131cc9",".squad\u002Fskills\u002Fcross-squad","https:\u002F\u002Fgithub.com\u002Fbarichter\u002Fsquad","https:\u002F\u002Fgithub.com\u002Fbarichter","2026-04-13 22:53:46",{"source":8,"skillName":5,"commands":60,"prompt":70,"zipAvailable":71},[61,64,67],{"tool":62,"command":63},"npx","npx skills add barichter\u002Fsquad --skill cross-squad",{"tool":65,"command":66},"bunx","bunx skills add barichter\u002Fsquad --skill cross-squad",{"tool":68,"command":69},"pnpm","pnpm dlx skills add barichter\u002Fsquad --skill cross-squad","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fbarichter\u002Fsquad\u002Fblob\u002Fdev\u002F.squad\u002Fskills\u002Fcross-squad\u002FSKILL.md",true,[],[74,85,93,108,130,136],{"skillNo":75,"name":76,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":38},"01M6R7VE8SZD1E37WWJN4ZFPWB","My Skill","https:\u002F\u002Fgithub.com\u002Fbarichter\u002Fsquad\u002Fblob\u002Fdev\u002Ftest-fixtures\u002Fskills-test-abb30454\u002Fmy-skill\u002FSKILL.md",[],[80,81,82,83,84],"my","my skill","tester","vitest","testing",{"skillNo":86,"name":87,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":38},"01M6R7VD19M4TMAA74XGD6QSZX","bad-skill","https:\u002F\u002Fgithub.com\u002Fbarichter\u002Fsquad\u002Fblob\u002Fdev\u002Ftest-fixtures\u002Fskills-test-abb30454\u002Fbad-skill\u002FSKILL.md",[],[91,92],"bad skill","bad",{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":38},"01M6R7V9TYTX6Z621V6RWA51G6","squad-conventions","Core conventions and patterns used in the Squad codebase","https:\u002F\u002Fgithub.com\u002Fbarichter\u002Fsquad\u002Fblob\u002Fdev\u002Ftemplates\u002Fskills\u002Fsquad-conventions\u002FSKILL.md",[],[100,19,101,102,103,104,105,24,106,107],"squad conventions","conventions","project-conventions","core","patterns","project","high","codebase",{"skillNo":109,"name":110,"nameZh":6,"description":111,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":112,"categories":113,"keywords":114,"publishedAt":38},"01M6R7TTF0ABMGSVWASVYF6D51","rework-rate","Measure and interpret PR rework rate — the emerging 5th DORA metric","https:\u002F\u002Fgithub.com\u002Fbarichter\u002Fsquad\u002Fblob\u002Fdev\u002Ftemplates\u002Fskills\u002Frework-rate\u002FSKILL.md",[],[115,116,117,118,119,20,120,121,122,106,19,123,124,125,126,127,128,129,24],"rate","rework rate","metric","efficiency","prs","pr","review","code quality","code","code-review","metrics","health","team","analyze","quality",{"skillNo":131,"name":132,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":133,"categories":134,"keywords":135,"publishedAt":38},"01M6R7TRZPET44JRCSQF08EEA8","nap","https:\u002F\u002Fgithub.com\u002Fbarichter\u002Fsquad\u002Fblob\u002Fdev\u002Ftemplates\u002Fskills\u002Fnap\u002FSKILL.md",[],[132],{"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},"01M6R7TK10WCT77A52E27GR5R3","{skill-name}","{what this skill teaches agents}","https:\u002F\u002Fgithub.com\u002Fbarichter\u002Fsquad\u002Fblob\u002Fdev\u002Ftemplates\u002Fskill.md",[],[143,144,145,146,147,148,149,150,151,152,24,106,84],"{skill name}","skill name","name","design","api","how","error-handling","learned","error","api-design"]