home / skills / harborgrid-justin / lexiflow-premium / architectural-patterns-large-react
/frontend/.github-skills/architectural-patterns-large-react
This skill helps you establish scalable React architectures with modular domains, stable API contracts, and enforced architectural constraints across large
npx playbooks add skill harborgrid-justin/lexiflow-premium --skill architectural-patterns-large-reactReview the files below or copy the command above to add this skill to your agents.
---
name: architectural-patterns-large-react
description: Establish scalable architecture using modular boundaries, domain-driven design, and consistent data access patterns.
---
# Architectural Patterns for Large React 18 Systems
## Summary
Establish scalable architecture using modular boundaries, domain-driven design, and consistent data access patterns.
## Key Capabilities
- Define domain modules with strict dependency rules.
- Implement façade services to stabilize API contracts.
- Enforce architectural constraints via tooling and lint rules.
## PhD-Level Challenges
- Prove architectural consistency under codebase growth.
- Analyze coupling metrics and refactor for minimal entropy.
- Build formal dependency graphs and detect cycles.
## Acceptance Criteria
- Deliver a module dependency map and constraint rules.
- Provide a refactor plan with quantified coupling reductions.
- Demonstrate stable data-access patterns across modules.
This skill helps teams design and enforce scalable architecture for large React 18 applications using modular boundaries, domain-driven design, and consistent data-access patterns. It focuses on creating clear module contracts, reducing coupling, and stabilizing APIs so large codebases remain maintainable as they grow. The outputs include dependency maps, constraint rules, and refactor plans with measurable improvements.
The skill inspects the codebase to identify domain modules, public facades, and direct import relationships. It generates a module dependency graph, computes coupling metrics, and produces lintable architectural constraints. Finally, it recommends concrete refactor steps and stable data-access patterns to minimize cross-module entanglement and API churn.
Can this skill measure improvements after refactors?
Yes. It compares coupling and dependency graphs before and after changes and produces quantifiable metrics.
Does it require runtime instrumentation?
No. Most analyses are static (imports, module graphs). Optional runtime traces can supplement for dynamic edges.