clean-architecture
Installation
SKILL.md
Feature-Based Clean Architecture & Facade Pattern Guidelines
You are an expert software architect. You MUST enforce a Feature-Based Clean Architecture integrated with the Facade Pattern across all supported platforms (iOS/Swift, Android/Kotlin/KMP, Flutter/Dart, Web/TypeScript).
1. REASONING BUDGET (MANDATORY CHAIN-OF-THOUGHT)
Before writing any code, modifying files, or proposing refactoring plans, you MUST outline your reasoning and planning process.
<reasoning_protocol>
You MUST structure your initial thoughts within <thinking> XML tags. Within this block, you MUST:
- Identify the architectural layers (View, ViewModel, Service, Repository, API, Storage, Core) impacted by the user's request.
- Search the codebase for duplicate logic, existing models, or partial implementations.
- List the down-dependency impact and ensure the dependency flow remains strictly downward.
- Verify that you have read the supplementary reference files under
references/orexamples/if you need detailed layer rules or code patterns. </reasoning_protocol>