architectural-review

Automate Pull Request reviews for adherence to architectural guidelines.

Updated Apr 12, 2026
One-click install
npx skills add https://github.com/barichter/squad --skill architectural-review-barichter
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: architectural-review
Source: https://github.com/barichter/squad/tree/main/.copilot/skills/architectural-review
Command: npx skills add https://github.com/barichter/squad --skill architectural-review-barichter

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps ensure that Pull Requests (PRs) maintain the architectural integrity and code quality of the project.

Core Features & Use Cases

  • Module Boundary Enforcement: Validates that new modules do not import from the CLI into the SDK.
  • Bootstrap File Integrity: Ensures that protected bootstrap files use only Node.js built-in modules.
  • Export Surface Safety: Reviews changes to barrel files for proper export management.
  • Refactor Validation: Assesses sweeping refactors for compliance with established guidelines.
  • Template Consistency: Ensures that template files across different locations are synchronized.
  • Config File Security: Prevents sensitive configuration changes in feature PRs.
  • Pattern Consistency: Enforces naming conventions and error handling practices.
  • Dependency Direction: Checks for correct import directions within the codebase.
  • Code Review Automation: Automates the architectural review process for PRs.

Quick Start

Use the architectural-review skill to assess the architectural quality of the PR 'update-package-dependencies'.

Frequently Asked Questions about architectural-review

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate PR validation for software architecture consistency?

Automate PR validation by enforcing module boundaries, checking dependency directions, and reviewing export surfaces. This architectural review process ensures pull requests maintain structural integrity and adhere to project guidelines without requiring manual boundary checks.

What is architectural review in code review automation?

Architectural review is an automated process that validates pull requests against established software architecture standards. It checks module boundaries, bootstrap file integrity, and naming conventions to maintain code quality and consistency across structured codebases.

Can I use automated code review to enforce module boundary rules?

Yes, automated code review can enforce module boundary rules by validating that new modules do not import incorrectly, such as importing from the CLI into the SDK. It also ensures protected bootstrap files use only approved built-in modules.

Does architectural review work for sweeping refactors and large code changes?

Yes, architectural review works for sweeping refactors by assessing them for compliance with established guidelines. It validates pattern consistency, error handling practices, and template synchronization across different locations within the codebase.

When should I use manual intervention in automated code review?

Manual intervention in automated code review is required for nuanced architectural decisions. While the process automates boundary checks and pattern consistency, human input is necessary for complex refactoring choices and sensitive configuration changes in feature PRs.