arch

Guide selection of Clean Architecture, Vertical Slice, or Flux for software projects.

Updated Mar 8, 2025
One-click install
npx skills add https://github.com/hitsan/dotfiles --skill arch-hitsan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: arch
Source: https://github.com/hitsan/dotfiles/tree/main/modules/ai/claude/template/skills/arch
Command: npx skills add https://github.com/hitsan/dotfiles --skill arch-hitsan

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This architecture guidance helps teams select and implement appropriate architecture patterns to structure code around domain logic and UI concerns, reducing coupling and increasing maintainability.

Core Features & Use Cases

  • Supports three patterns: Clean Architecture, Vertical Slice Architecture, and Flux for UI state.
  • Guides decision criteria, ecosystem references, and pattern combinations for complex apps, microservices, CLIs, and TUI apps.
  • Provides templates and references to accelerate design, migration, and implementation.

Quick Start

Provide your project goals and constraints to begin selecting a pattern and drafting a recommended architecture.

Frequently Asked Questions about arch

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

FAQPage Schema
How do I choose the right architecture pattern for my software project?

To decide on an architecture pattern, evaluate your project goals and constraints. This guidance compares Clean Architecture, Vertical Slice, and Flux based on dependency rules and domain logic to increase maintainability and reduce coupling.

What is the best way to refactor a monolith using Clean Architecture or Vertical Slice?

The best way to refactor a monolith involves migrating to patterns like Clean Architecture or Vertical Slice. This guidance provides templates and references to accelerate design and implementation, helping you structure code around domain logic and separate UI concerns effectively.

Does this architecture guidance work for CLI and TUI applications?

Yes, the architecture guidance works for CLI and TUI applications. It supports pattern combinations and provides ecosystem references specifically tailored for designing complex apps, microservices, and command-line or terminal user interface projects.

When should I use Flux architecture for UI state management?

You should use Flux architecture for UI state management when structuring complex user interfaces. This guidance helps you apply Flux alongside other patterns to separate UI state concerns from domain logic, ensuring robust and maintainable application design.

How do I structure directories when implementing Vertical Slice Architecture?

To structure directories for Vertical Slice Architecture, use the template-derived directory structures provided. These templates accelerate implementation by defining dependency rules and organizing code around domain features rather than technical layers.