跳到正文
cccskills
免费在 GitHub 公开

cross-squad

Coordinating work across multiple Squad instances

中文简介正在准备中。当前显示原文说明。

集成工具GitHubKubernetes

实测评分 未实测

查看安装方法

包含的文件(1)

  • SKILL.md4.6 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Context

When 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.

Cross-squad orchestration applies when:

  • A task requires capabilities owned by another squad
  • An architectural decision affects multiple squads
  • A feature spans multiple repositories with different squads
  • A squad needs to request infrastructure, tooling, or support from another squad

Patterns

Discovery via Manifest

Each squad publishes a .squad/manifest.json declaring its name, capabilities, and contact information. Squads discover each other through:

  1. Well-known paths: Check .squad/manifest.json in known org repos
  2. Upstream config: Squads already listed in .squad/upstream.json are checked for manifests
  3. Explicit registry: A central squad-registry.json can list all squads in an org
{
  "name": "platform-squad",
  "version": "1.0.0",
  "description": "Platform infrastructure team",
  "capabilities": ["kubernetes", "helm", "monitoring", "ci-cd"],
  "contact": {
    "repo": "org/platform",
    "labels": ["squad:platform"]
  },
  "accepts": ["issues", "prs"],
  "skills": ["helm-developer", "operator-developer", "pipeline-engineer"]
}

Context Sharing

When delegating work, share only what the target squad needs:

  • Capability list: What this squad can do (from manifest)
  • Relevant decisions: Only decisions that affect the target squad
  • Handoff context: A concise description of why this work is being delegated

Do NOT share:

  • Internal team state (casting history, session logs)
  • Full decision archives (send only relevant excerpts)
  • Authentication credentials or secrets

Work Handoff Protocol

  1. Check manifest: Verify the target squad accepts the work type (issues, PRs)
  2. Create issue: Use gh issue create in the target repo with:
    • Title: [cross-squad] <description>
    • Label: squad:cross-squad (or the squad's configured label)
    • Body: Context, acceptance criteria, and link back to originating issue
  3. Track: Record the cross-squad issue URL in the originating squad's orchestration log
  4. Poll: Periodically check if the delegated issue is closed/completed

Feedback Loop

Track delegated work completion:

  • Poll target issue status via gh issue view
  • Update originating issue with status changes
  • Close the feedback loop when delegated work merges

Examples

Discovering squads

# List all squads discoverable from upstreams and known repos
squad discover

# Output:
#   platform-squad  →  org/platform  (kubernetes, helm, monitoring)
#   frontend-squad  →  org/frontend  (react, nextjs, storybook)
#   data-squad      →  org/data      (spark, airflow, dbt)

Delegating work

# Delegate a task to the platform squad
squad delegate platform-squad "Add Prometheus metrics endpoint for the auth service"

# Creates issue in org/platform with cross-squad label and context

Manifest in squad.config.ts

export default defineSquad({
  manifest: {
    name: 'platform-squad',
    capabilities: ['kubernetes', 'helm'],
    contact: { repo: 'org/platform', labels: ['squad:platform'] },
    accepts: ['issues', 'prs'],
    skills: ['helm-developer', 'operator-developer'],
  },
});

Anti-Patterns

  • Direct file writes across repos — Never modify another squad's .squad/ directory. Use issues and PRs as the communication protocol.
  • Tight coupling — Don't depend on another squad's internal structure. Use the manifest as the public API contract.
  • Unbounded delegation — Always include acceptance criteria and a timeout. Don't create open-ended requests.
  • Skipping discovery — Don't hardcode squad locations. Use manifests and the discovery protocol.
  • Sharing secrets — Never include credentials, tokens, or internal URLs in cross-squad issues.
  • Circular delegation — Track delegation chains. If squad A delegates to B which delegates back to A, something is wrong.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Standard collaboration patterns for all squad agents — worktree awareness, decisions, cross-agent communication

中文简介正在准备中。当前显示原文说明。

jguadagno/jjgnet-broadcast182026年8月4日 更新

Shared hard rules enforced across all squad agents

中文简介正在准备中。当前显示原文说明。

jguadagno/jjgnet-broadcast182026年8月4日 更新

Comprehensive AI prompt engineering safety review and improvement prompt. Analyzes prompts for safety, bias, security vulnerabilities, and effectiveness while providing detailed improvement recommendations with extensive frameworks, testing methodologies, and educational content.

中文简介正在准备中。当前显示原文说明。

jguadagno/jjgnet-broadcast182026年8月4日 更新

Migrate API controller scope checks to framework-enforced authorization policies while preserving ownership checks.

中文简介正在准备中。当前显示原文说明。

jguadagno/jjgnet-broadcast182026年8月4日 更新

Review API DTO implementations for contract/domain separation, mapping patterns, and REST compliance

中文简介正在准备中。当前显示原文说明。

jguadagno/jjgnet-broadcast182026年8月4日 更新

Register shared claims transformation and hierarchical role policies in the API without breaking existing scope enforcement.

中文简介正在准备中。当前显示原文说明。

jguadagno/jjgnet-broadcast182026年8月4日 更新

查看 jguadagno 的全部技能

报告此技能的问题