flutter-scaffold

Automates Flutter scaffolding with Domain, Application, nsPresentation, and Infrastructure layers.

Updated Jan 18, 2026
One-click install
npx skills add https://github.com/333-333-333/agents --skill flutter-scaffold
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: flutter-scaffold
Source: https://github.com/333-333-333/agents/tree/main/skills/flutter-scaffold
Command: npx skills add https://github.com/333-333-333/agents --skill flutter-scaffold

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Scaffold Flutter features with screaming + clean architecture: domain-driven directories, layered separation, and project conventions.

Core Features & Use Cases

  • Screaming Architecture: Directory names map to business domains, ensuring organized, scalable project skeletons.
  • Layered, Domain-Driven Design: Enforces Domain, Application, Presentation, and Infrastructure layers with inward dependencies.
  • Consistent Feature Scaffolding: Each feature contains all four layers and follows naming conventions to improve onboarding and maintenance.

Quick Start

Create a new feature scaffold with the standard four-layer structure for mobile features.

Frequently Asked Questions about flutter-scaffold

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

FAQPage Schema
How do I scaffold a new Flutter feature using clean architecture?

To scaffold a Flutter feature, apply a strict four-layer structure: domain, application, presentation, and infrastructure. This enforces domain-driven directory mapping and ensures scalable, organized project skeletons for mobile development.

What is screaming architecture in a Flutter project?

Screaming architecture in a Flutter project maps directory names directly to business domains. This domain-driven design ensures the project structure clearly communicates its purpose, improving onboarding and long-term maintenance.

Does this Flutter scaffolding approach work with Riverpod?

Yes, this Flutter scaffolding approach supports Riverpod integration. It enforces a strict four-layer structure with inward dependencies, allowing state management solutions like Riverpod to reside cleanly within the presentation or application layers.

How do I enforce dependency rules between domain and infrastructure layers in Flutter?

To enforce dependency rules in Flutter, structure features with strict layering: domain, application, presentation, and infrastructure. This ensures inward dependencies, preventing infrastructure from polluting the core domain layer.

When do I need a domain-driven directory structure for my mobile app?

You need a domain-driven directory structure when your mobile app requires scalable feature separation and consistent naming conventions. It maps directories to business domains, improving maintainability and onboarding for complex Flutter projects.

What is the best way to organize a Flutter project for long-term maintenance?

The best way to organize a Flutter project is using a feature-first, layered clean architecture. Grouping by business domains with strict domain, application, presentation, and infrastructure layers ensures separation of concerns and consistent feature scaffolding.