clean-architecture

Guide Clean Architecture implementation in Flutter and Go projects.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/vorluno/Vorluno-Planilla --skill clean-architecture-vorluno
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: clean-architecture
Source: https://github.com/vorluno/Vorluno-Planilla/tree/main/.agents/skills/clean-architecture
Command: npx skills add https://github.com/vorluno/Vorluno-Planilla --skill clean-architecture-vorluno

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides comprehensive guidance on implementing Clean Architecture principles, ensuring robust, maintainable, and testable software across different technology stacks.

Core Features & Use Cases

  • Layered Architecture: Understand and apply the core principles of domain, application, infrastructure, and presentation layers.
  • Technology-Specific Guidance: Get detailed advice for implementing Clean Architecture in Flutter and Go.
  • Use Case: A software architect needs to establish a new project's structure and best practices. They can consult this Skill for a clear blueprint on how to organize code, manage dependencies, and ensure testability according to Clean Architecture.

Quick Start

Explain the core principles of Clean Architecture for a new project.

Frequently Asked Questions about clean-architecture

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

FAQPage Schema
How do I structure a Flutter app using clean architecture?

To structure a Flutter app using clean architecture, separate your code into domain, application, infrastructure, and presentation layers. This Skill provides blueprints for organizing project files, managing dependencies, and ensuring strict layer separation for maintainable code.

How does clean architecture improve testability in Go applications?

Clean architecture improves testability in Go by enforcing dependency rules that isolate business logic from external concerns. By separating domain logic from infrastructure layers, you can unit test core use cases independently of databases or frameworks, ensuring robust and maintainable code.

What is the best way to manage state in clean architecture with flutter_bloc?

The best way to manage state with flutter_bloc in clean architecture is to confine it to the presentation layer. This Skill guides you on mapping domain use cases to bloc states, ensuring UI components react predictably while keeping the underlying domain and application layers completely framework-agnostic.

Can I use Dartz for error handling in a layered architecture?

Yes, you can use Dartz for error handling in a layered architecture. This Skill explains how to implement functional error handling using Dartz, allowing your application and domain layers to return Either objects that explicitly represent success or failure states without throwing exceptions.

When do I need to separate domain and infrastructure layers in Go?

You need to separate domain and infrastructure layers in Go when building applications that require high maintainability and testability. This separation ensures your core business rules remain independent of database implementations, external APIs, or specific frameworks, allowing infrastructure to be swapped without affecting domain logic.