Architectural PR Guard

•
1
•

Reviews pull requests to ensure architectural integrity, module boundaries, and dependency patterns are maintained.

This skill provides a specialized framework for auditing code changes against established architectural standards within the Squad ecosystem. It specifically monitors dependency direction between CLI and SDK packages, protects zero-dependency bootstrap files from bloat, and ensures public API surfaces remain stable through careful barrel file analysis. By automating the verification of structural invariants and template synchronization, it prevents architectural drift and ensures that sweeping refactors do not inadvertently break core system constraints.

Key Features

01Monitors sweeping refactors using a specialized 5-step safety checklist
02Audits barrel file changes to prevent accidental API surface exposure
03Validates template synchronization across multiple project locations
04Protects core bootstrap files from external dependency injection
05Enforces strict package dependency directions (CLI-to-SDK only)
061 GitHub stars

Use Cases

01Verifying that core-system bootstrap files remain lightweight and zero-dependency
02Ensuring that global refactors do not violate specific file-level constraints or invariants
03Automating architectural checks during the PR review process to catch dependency violations