architecture-patterns

Evaluate Brainbase code against architecture patterns and report violations.

9|Updated Nov 22, 2025
One-click install
npx skills add https://github.com/Unson-LLC/brainbase --skill architecture-patterns-unson-llc
Or copy as Structured Prompt for Agentβ–Ό
Please help me install this Agent Skill.
Skill: architecture-patterns
Source: https://github.com/Unson-LLC/brainbase/tree/main/.claude/skills/architecture-patterns
Command: npx skills add https://github.com/Unson-LLC/brainbase --skill architecture-patterns-unson-llc

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Brainbase projects risk architectural drift as teams evolve. This Skill automatically assesses code against the defined architecture patterns (EventBus, Reactive Store, DI Container, Service Layer), flags violations, and provides concrete fixes.

Core Features & Use Cases

  • Phase-based checks: EventBus, Reactive Store, DI Container, and Service Layer to enforce architecture conformance.
  • Violation analysis with actionable fixes, ready for PRs or CI gates.
  • Use Case: After refactoring, run the skill to generate a structured report and suggested changes for multiple modules.

Quick Start

Use the Architecture Patterns Skill to evaluate Brainbase code against the four architecture patterns and generate a consolidated compliance report.

Frequently Asked Questions about architecture-patterns

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

FAQPage Schema
How do I check my code for architecture pattern violations?β–Ό

To check code for architecture pattern violations, you can automate the evaluation of your files against established patterns. This process scans targeted files and changed diffs to detect structural drift and outputs a report with recommended fixes.

What is the best way to enforce EventBus and Reactive Store rules in a codebase?β–Ό

Enforcing EventBus and Reactive Store rules requires running phase-based automated checks against your code. This process flags architectural violations and generates a structured compliance report with concrete fixes to maintain codebase integrity.

Can I use automated architecture checks on changed diffs instead of the entire project?β–Ό

Yes, automated architecture checks can be applied specifically to changed diffs. The evaluation targets modified files to detect violations in EventBus, Reactive Store, DI Container, and Service Layer patterns, providing focused feedback.

How do I generate a compliance report for Service Layer and DI Container patterns?β–Ό

Generating a compliance report for Service Layer and DI Container patterns involves running phase-based checks on your code. The evaluation produces a structured report detailing any violations and providing actionable fixes for your modules.

Why does my Brainbase architecture drift during refactoring?β–Ό

Architecture drift happens as teams evolve Brainbase projects over time. Running automated phase-based checks for EventBus, Reactive Store, DI Container, and Service Layer conformance detects violations early and provides actionable fixes to prevent drift.