clean-architecture

Validate Clean Architecture layer separation and dependency direction across Rails, React Native, Vite SPA, and Next.js.

2|1|Updated Feb 27, 2026
One-click install
npx skills add https://github.com/Kaakati/sdh-claude-skills --skill clean-architecture-kaakati
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: clean-architecture
Source: https://github.com/Kaakati/sdh-claude-skills/tree/main/.claude/skills/clean-architecture
Command: npx skills add https://github.com/Kaakati/sdh-claude-skills --skill clean-architecture-kaakati

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill enforces architectural integrity by ensuring adherence to Clean Architecture principles, preventing layer violations, and guiding refactoring efforts.

Core Features & Use Cases

  • Architectural Validation: Checks for correct dependency direction and layer separation across the full stack.
  • Guided Refactoring: Provides patterns for extracting services, hooks, and components to improve code structure.
  • Use Case: When developing a new feature, use this skill to validate that your new code adheres to the established Clean Architecture layers and dependency rules before merging.

Quick Start

Use the clean-architecture skill to validate the current project's architectural conformance.

Frequently Asked Questions about clean-architecture

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

FAQPage Schema
How do I enforce Clean Architecture patterns across my full stack application?

You can enforce Clean Architecture patterns by validating layer separation and dependency direction across Rails, React Native, Vite SPA, and Next.js applications, ensuring service objects, hooks, and components adhere to established rules.

What is the best way to validate dependency direction in a Rails and Next.js project?

Validating dependency direction requires adherence to specific directory conventions, which triggers framework-specific rules to check layer separation and enforce Clean Architecture compliance across Rails and Next.js codebases.

How do I refactor service objects and hooks to improve code structure?

Refactoring service objects and hooks is guided by extracting patterns that improve code structure, ensuring they conform to Clean Architecture layers and dependency rules before merging new features.

Does this Clean Architecture validation work with Vite SPA and React Native?

Clean Architecture validation works with Vite SPA and React Native applications, checking architectural conformance and managing layer separation when specific directory conventions are followed.

When do I need to check layer separation before merging a new feature?

You need to check layer separation before merging a new feature to prevent architectural violations, ensuring new code adheres to established Clean Architecture layers and dependency rules across the full stack.

Why does architectural validation require specific directory conventions?

Architectural validation requires specific directory conventions because framework-specific rule activation depends on them to accurately assess layer separation and dependency direction across different application types.