architecture

Validate software structure against architectural principles for code review and design.

Updated May 28, 2026
One-click install
npx skills add https://github.com/syntropic137/harness-app-template --skill architecture-syntropic137
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: architecture
Source: https://github.com/syntropic137/harness-app-template/tree/main/.claude/skills/architecture
Command: npx skills add https://github.com/syntropic137/harness-app-template --skill architecture-syntropic137

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill eliminates unstructured, eroding software architecture that leads to unmaintainable codebases, repeated architectural relitigation, and costly rewrites as systems scale. It provides a shared, principled framework for evaluating structural decisions so teams and agents can maintain change locality and preserve critical system capabilities over time.

Core Features & Use Cases

  • Core Principle Enforcement: Validates adherence to 9 proven architectural principles including information hiding, dependency direction, layer discipline, acyclic module graphs, bounded-context isolation, and ADR coverage.
  • Anti-Pattern Detection: Provides explicit red flags and rationalization prevention guidance to catch common architectural mistakes during code review and system design.
  • Evolutionary Architecture Guidance: Includes deep-dive resources for implementing fitness functions, vertical slice architecture, event sourcing alignment, and sociotechnical design to match team and agent boundaries.
  • Use Case: For a team building a polyglot monorepo, use this skill to validate that module dependencies point toward stable abstractions, confirm all load-bearing decisions have greppable ADR back-references in code, and ensure architectural characteristics have mechanized fitness functions in CI.

Quick Start

Invoke the architecture skill during code review to validate module boundaries, dependency direction, and ADR coverage for recent changes.

Frequently Asked Questions about architecture

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

FAQPage Schema
How do I validate software architecture principles during code review?

To validate software architecture during code review, check module dependencies point toward stable abstractions, confirm acyclic module graphs, and ensure load-bearing decisions have greppable ADR back-references in the code.

What are mechanized architectural fitness functions in CI?

Architectural fitness functions are automated tests in CI that validate structural characteristics like acyclic module graphs and bounded-context isolation, preventing unstructured, tightly coupled codebases from eroding system capabilities.

How do I enforce bounded-context isolation in a polyglot monorepo?

Enforcing bounded-context isolation in a polyglot monorepo requires validating correct dependency direction and layer discipline across modules, ensuring teams and agents maintain strict boundaries without tight coupling.

Does event sourcing work with vertical slice architecture?

Event sourcing aligns with vertical slice architecture by matching sociotechnical design boundaries, allowing teams to preserve change locality and maintain critical system capabilities while validating structural decisions.

When do I need ADR coverage for architectural decisions?

You need ADR coverage when making load-bearing structural decisions to prevent repeated architectural relitigation, requiring greppable back-references within the codebase to maintain shared, principled evaluation frameworks.

Can I use this to refactor tightly coupled codebases?

Yes, you can use this to refactor tightly coupled codebases by validating against nine proven principles including information hiding and acyclic module graphs, eliminating costly rewrites as systems scale.