flutter-stage2-structure

Plans a Flutter app structure for Stage 2 and outputs structure_plan.md.

6|3|Updated Aug 19, 2025
One-click install
npx skills add https://github.com/utakata-code/flutter_init --skill flutter-stage2-structure
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: flutter-stage2-structure
Source: https://github.com/utakata-code/flutter_init/tree/main/.agent/skills/flutter-stage2-structure
Command: npx skills add https://github.com/utakata-code/flutter_init --skill flutter-stage2-structure

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This skill guides teams to plan and formalize the Flutter app's file organization for Stage 2, ensuring alignment with clean architecture and avoiding ad-hoc structure changes.

Core Features & Use Cases

  • Define a complete 4-layer architecture (Domain, Infrastructure, Application, Presentation) for a Flutter project.
  • Generate a structured plan document AI/document/structure_plan.md outlining directory layout, routing, state management, data sources, and implementation order.
  • Use Case: A team completing Stage 2 for a new Flutter app can rely on this skill to lock the file structure before implementation.

Quick Start

Review AI/document/structure_plan.md and generate the final structure plan to proceed to Stage3.

Frequently Asked Questions about flutter-stage2-structure

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

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

To plan a Flutter app structure using clean architecture, define the Domain, Infrastructure, Application, and Presentation layers. This approach enforces a structured file layout and generates a structure_plan.md to lock routing, state management, and data sources before implementation.

What is a structure_plan.md in Flutter development?

A structure_plan.md in Flutter development is a generated document outlining the complete directory layout, routing, state management, data sources, models, and implementation order. It formalizes the 4-layer clean architecture file organization to prevent ad-hoc structure changes.

Do I need to create new folders for a Flutter clean architecture layout?

No, you do not need to create new folders for a Flutter clean architecture layout. The planning process mandates using the existing structure and restricts creating new folders, ensuring the 4-layer file layout adapts to the current project directory.

What's the best way to organize Flutter routing and state management before implementation?

The best way to organize Flutter routing and state management before implementation is to generate a comprehensive structure plan. This plan enforces clean architecture rules across 4 layers, detailing data sources and implementation order to align the team before coding begins.

Can I use this structure planning approach for any Flutter project stage?

This structure planning approach is specifically designed for Flutter projects completing Stage 2. It applies to projects needing a full, clean-architecture compliant file layout, ensuring teams lock the structure before proceeding to the implementation phase.