vip-clean-architecture

Community

VIP clean architecture for testable iOS apps.

Authordagba
Version1.0.0
Installs0

System Documentation

What problem does it solve?

VIP Clean Architecture provides a disciplined, testable separation of concerns by splitting UI (View), business logic (Interactor), and presentation (Presenter) with protocol-based boundaries and a unidirectional data flow. This helps teams refactor complex features, improve testability, and reduce coupling in large iOS apps.

Core Features & Use Cases

  • Unidirectional data flow: View → Interactor → Presenter → View, eliminating feedback loops.
  • Protocol-based boundaries: All components communicate through protocols, enabling easy testing with spies and mocks.
  • 3-core-component focus: Clear separation of concerns (View, Interactor, Presenter) plus Worker/Router for external services and navigation.
  • Use Case: Refactor a monolithic feature into VIP to improve testability and maintainability, with isolated interactor logic and formatted presentation.

Quick Start

Configure a sample VIP module with a ViewController, Interactor, Presenter, Router, and Worker using the provided configurator pattern, then run unit tests to verify that the flow respects the one-way data path.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: vip-clean-architecture
Download link: https://github.com/dagba/ios-mcp/archive/main.zip#vip-clean-architecture

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.