Skip to content
Back to skills

Swarm Check

ASecurity

Cross-repo ripple detection. When a change in one repo may affect others, uses GRAPH.md dependency map to spawn parallel agents checking each affected repo for broken contracts or required updates. Use when making changes that cross service boundaries.

  • 3 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added October 9, 2026
ai-agentsgitapi

Works with

  • cursor
  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned November 10, 2026

npx -y skills add phbui/gestalt-core --skill swarm-check --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Swarm Check?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Swarm Check
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/phbui-swarm-check/badge)](https://www.skillsdirectory.com/skills/phbui-swarm-check)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: swarm-check
description: "Cross-repo ripple detection. When a change in one repo may affect others, uses GRAPH.md dependency map to spawn parallel agents checking each affected repo for broken contracts or required updates. Use when making changes that cross service boundaries."
disable-model-invocation: true
---
<Background>@gestalt-grounding</Background>

# Swarm Check

Detect and coordinate cross-repo ripple effects. When a change in one repo affects others via data flow connections, spawn parallel agents to check each affected repo.

## Process

### Step 1: Identify the Change

Determine:
- **Source repo** — where the change was made
- **Changed files** — what was modified (use `git diff --name-only` if needed)
- **Change summary** — API contract change, schema change, config change, etc.

### Step 2: Map the Ripple via Gestalt

Follow the gestalt grounding procedure in `gestalt/.cursor/references/gestalt-grounding.md` (Cross-Service / Data Flow Questions). Specifically:
- Read `gestalt/GRAPH.md` for all data flow connections from the source repo
- Read relevant knowledge entries for each connected repo
- Map: direct consumers, indirect consumers, deployment dependencies

### Step 3: Spawn Ripple Checkers

For each affected repo (up to 6 in parallel), spawn an explore agent:

[Worker prompt W1: read `gestalt/.cursor/references/swarm-check-worker-prompts.md` §W1 and dispatch it verbatim, substituting the placeholders.]

### Step 4: Synthesize

Collect all ripple checker results. Present a unified impact report. EVERY repo from GRAPH.md MUST appear in the table — no omissions.

```markdown
## Cross-Repo Impact Report

### Source Change
{source_repo}: {change_summary}

### Coverage
Repos checked: {N}/{N}. Affected: {list}. Unaffected: {list}.

### Affected Repos
| Repo | Status | Issues | Severity |
|------|--------|--------|----------|
| {repo} | AFFECTED | {count} | HIGH/MED/LOW |
| {repo} | CLEAR | 0 | — |
| {repo} | UNCHECKED | — | — (not on disk) |

### Required Changes
1. **{repo}** — {file}: {what needs to change}

### Deployment Order
{If changes need coordinated deployment, specify the order}
```

## Rules

- MUST read GRAPH.md before spawning checkers — NEVER guess at connections.
- You MUST check ALL repos in the workspace for ripple effects. NEVER skip a repo because it "probably isn't affected."
- Spawn checkers for ALL repos with data flow connections identified in GRAPH.md.
- If a repo isn't on disk, note it as UNCHECKED — but it still MUST appear in the report.
- Report both breaking changes and non-breaking updates.
- COVERAGE: EVERY item in scope MUST be checked. Report: N/N checked.

## Evals — see EVALS.md (dev-time only)

Files in this skill

  • EVALS.md941 B
  • SKILL.md3.5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.