Explain Flutter Codebase
Purpose
Use this skill to analyze and explain an existing Flutter codebase quickly and clearly for onboarding, handoff, debugging, and planning refactors.
Activation
Activate when the user asks to explain a Flutter app, module, architecture, folder structure, or how parts of the codebase work together.
Inputs
Collect minimal context before analysis:
- Scope: whole project, feature folder, or specific files.
- Goal: onboarding, debugging, architecture review, refactor planning, performance review.
- Depth: quick, standard, or deep explanation.
If user gives no scope, default to project-level explanation.
Analysis Workflow
Follow this order:
- Project map
- Identify main folders and responsibilities.
- Summarize app entry points and bootstrapping.
- Architecture
- Determine architecture style (layered, feature-first, mixed).
- Map core boundaries: presentation, domain/logic, data, shared/core.
- State management
- Identify state solution(s): Riverpod, Bloc/Cubit, GetX, Provider, setState, others.
- Explain where each is used and why.
- Flag inconsistent or mixed usage hotspots.
- Navigation and app flow
- Explain routing setup and screen transitions.
- Summarize primary user journey paths.
- Data flow and integrations
- Trace data path from UI event to repository/service and back.
- Explain API clients, DTO/model mapping, caching, and persistence.
- Note authentication and push integration points if present.
- Dependencies and cross-cutting concerns
- Highlight important packages and what each is used for.
- Explain logging, error handling, dependency injection, config/env handling.
- Quality and risks
- Identify likely tech debt areas, coupling, duplication, and test gaps.
- Identify potential runtime-risk points (null handling, async race, network assumptions).
- Actionable next steps
- Provide prioritized recommendations (high impact first).
- Include low-risk quick wins and medium-term refactors.
Output Format
Return explanation in this structure:
- Codebase Overview
- Folder/Module Map
- Architecture Summary
- State Management Summary
- Navigation and User Flow
- Data and Integration Flow
- Dependency Notes
- Risks and Gaps
- Recommended Next Steps
Keep it practical and concrete. Reference real files/symbols when available.
Behavior Rules
- Prefer facts from code over assumptions.
- If evidence is missing, state assumptions explicitly.
- Avoid generic advice without tying it to observed structure.
- For deep explanations, include call-path examples.
- For quick mode, keep to high-signal architecture and flow.
Optional Modes
- Quick mode: high-level map + top 5 findings.
- Standard mode: full structure above.
- Deep mode: include feature-by-feature walkthrough and targeted refactor plan.
Validation Checklist
Before final response, verify:
- Scope is clear.
- Architecture and state management are identified.
- Data and navigation flow are explained.
- Risks are concrete and actionable.
- Next steps are prioritized.
Source: mdazadhossain95/flutter-agent-skills — distributed by TomeVault.
1---2name: flutter-explain-codebase3description: Explains a Flutter project codebase in a structured, developer-friendly way, including architecture, state management, data flow, navigation, dependencies, risks, and prioritized next actions. Use when this capability is needed.4---5# Explain Flutter Codebase67## Purpose8Use this skill to analyze and explain an existing Flutter codebase quickly and clearly for onboarding, handoff, debugging, and planning refactors.910## Activation11Activate when the user asks to explain a Flutter app, module, architecture, folder structure, or how parts of the codebase work together.1213## Inputs14Collect minimal context before analysis:15- Scope: whole project, feature folder, or specific files.16- Goal: onboarding, debugging, architecture review, refactor planning, performance review.17- Depth: quick, standard, or deep explanation.1819If user gives no scope, default to project-level explanation.2021## Analysis Workflow22Follow this order:23241) Project map25- Identify main folders and responsibilities.26- Summarize app entry points and bootstrapping.27282) Architecture29- Determine architecture style (layered, feature-first, mixed).30- Map core boundaries: presentation, domain/logic, data, shared/core.31323) State management33- Identify state solution(s): Riverpod, Bloc/Cubit, GetX, Provider, setState, others.34- Explain where each is used and why.35- Flag inconsistent or mixed usage hotspots.36374) Navigation and app flow38- Explain routing setup and screen transitions.39- Summarize primary user journey paths.40415) Data flow and integrations42- Trace data path from UI event to repository/service and back.43- Explain API clients, DTO/model mapping, caching, and persistence.44- Note authentication and push integration points if present.45466) Dependencies and cross-cutting concerns47- Highlight important packages and what each is used for.48- Explain logging, error handling, dependency injection, config/env handling.49507) Quality and risks51- Identify likely tech debt areas, coupling, duplication, and test gaps.52- Identify potential runtime-risk points (null handling, async race, network assumptions).53548) Actionable next steps55- Provide prioritized recommendations (high impact first).56- Include low-risk quick wins and medium-term refactors.5758## Output Format59Return explanation in this structure:60611. Codebase Overview622. Folder/Module Map633. Architecture Summary644. State Management Summary655. Navigation and User Flow666. Data and Integration Flow677. Dependency Notes688. Risks and Gaps699. Recommended Next Steps7071Keep it practical and concrete. Reference real files/symbols when available.7273## Behavior Rules74- Prefer facts from code over assumptions.75- If evidence is missing, state assumptions explicitly.76- Avoid generic advice without tying it to observed structure.77- For deep explanations, include call-path examples.78- For quick mode, keep to high-signal architecture and flow.7980## Optional Modes81- Quick mode: high-level map + top 5 findings.82- Standard mode: full structure above.83- Deep mode: include feature-by-feature walkthrough and targeted refactor plan.8485## Validation Checklist86Before final response, verify:87- Scope is clear.88- Architecture and state management are identified.89- Data and navigation flow are explained.90- Risks are concrete and actionable.91- Next steps are prioritized.9293---94> Source: [mdazadhossain95/flutter-agent-skills](https://github.com/mdazadhossain95/flutter-agent-skills) — distributed by [TomeVault](https://tomevault.io).95<!-- tomevault:4.0:skill_md:2026-06-16 -->