arch-validator

Validate Rust engine architecture boundaries to prevent browser dependencies in core/.

5|1|Updated Feb 11, 2026
One-click install
npx skills add https://github.com/Tristan578/project-forge --skill arch-validator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: arch-validator
Source: https://github.com/Tristan578/project-forge/tree/main/.claude/skills/arch-validator
Command: npx skills add https://github.com/Tristan578/project-forge --skill arch-validator

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Architecture drift in large Rust projects, ensuring core/ remains browser-free and bridge/ stays properly isolated.

Core Features & Use Cases

  • Validates core/ has no browser interop and bridge isolation is maintained.
  • Runs after engine changes or when architecture-related terms are mentioned to surface violations.
  • Provides actionable feedback via Python-based checks and boundary scripts.

Quick Start

Run the Python script located in this directory to validate the engine's architecture boundaries.

Frequently Asked Questions about arch-validator

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

FAQPage Schema
How do I enforce architecture boundaries to prevent browser dependencies in a Rust core module?

Rust architecture boundary validation works by executing a Python script that checks the core/ directory for browser dependencies and verifies bridge/ isolation to surface any architectural violations after engine changes.

When do I need to run architecture validation checks on my Rust engine?

You need to run architecture boundary validation after making Rust engine changes, or whenever terms like architecture violation, import boundary, or bridge isolation are mentioned, to prevent architecture drift.

How do I check if bridge isolation is maintained in my Rust project?

To check bridge isolation, execute the boundary validation Python script in your project directory, which detects and reports whether the bridge/ layer is properly isolated from the core/ engine.

Can I use a Python script to validate Rust architecture violations without extra dependencies?

Yes, you can validate Rust architecture boundaries using a standalone Python script that checks for browser dependencies and boundary violations without requiring any additional external dependencies.

What is the best way to surface import boundary violations in a large Rust codebase?

The best way to surface import boundary violations is to run automated boundary checks that scan the Rust codebase for architecture drift, providing actionable feedback on any detected isolation issues.