{"data":{"slug":"discovered-744b4a0a919228a1e570082f9603f186b5d5933fa92dc075","title":"Flutter Arch Skill","summary":"Implement, extend, or review Flutter features using a layered architecture including Page, Cubit, UseCase, Repository, and DataSource. Follow project-specific instructions and architecture guides.","url":"https:\/\/skillshunter.net\/skills\/discovered-744b4a0a919228a1e570082f9603f186b5d5933fa92dc075","json_url":"https:\/\/skillshunter.net\/api\/public\/v1\/skills\/discovered-744b4a0a919228a1e570082f9603f186b5d5933fa92dc075","markdown_url":"https:\/\/skillshunter.net\/skills\/discovered-744b4a0a919228a1e570082f9603f186b5d5933fa92dc075.md","download_url":"https:\/\/skillshunter.net\/skills\/discovered-744b4a0a919228a1e570082f9603f186b5d5933fa92dc075\/download","category":{"slug":"software-development","name":"Software & Development"},"editor_note":"Ensure the target Flutter package's `pubspec.yaml` and `lib\/` directory are accessible. Review applicable instructions such as `AGENTS.md`, local architecture guides, and existing implementations before proceeding.","instructions":"---\nname: flutter-arch-skill\ndescription: Implement, extend, or review Flutter features in a layered Page, Cubit, UseCase, Repository and DataSource architecture. Use for feature ownership, Mason scaffolding, Injectable DI, AutoRoute wiring, and Freezed or JSON model changes.\nlicense: MIT\n---\n\n# Flutter Arch Skill\n\nWork in the target Flutter package with `pubspec.yaml` and `lib\/`. Read the project's applicable instructions, including `AGENTS.md` when present, local architecture guides, and the closest existing implementation. Follow the [feature architecture](references\/architecture.md). Read [packages and tooling](references\/tooling.md) for Mason, dependencies, DI, routes, or generated files. Use the [implementation examples](references\/implementation-examples.md) for a complete data flow, shared cache, or workspace wiring.\n\nResolve bundled references and scripts relative to this `SKILL.md`. Run Flutter and Dart commands from the target Flutter package root.\n\nFor an architecture review, report findings by file using the architecture checks. Apply changes when the user requests them.\n\n1. Identify the owner, entry point, and data contract. Extend the existing feature for work inside its workflow, use `lib\/features\/<name>\/` for a new workflow, and reuse or extend the relevant module under `lib\/shared\/features\/` for shared domain capabilities.\n2. Start new features with the target project's configured generator. Use `make new_feature name=<snake_case>` when that Mason workflow is present. For a new screen without a project template, use the [bundled scaffold](references\/tooling.md#bundled-scaffold). Complete the generated lifecycle and entry point and add the layers needed by the behavior.\n3. Implement the request in the current session. Where it uses data, trace the operation from Page and Cubit through the use case and repository contract to the injected data source. Reuse configured clients and existing domain types, map DTOs in data, then wire DI and navigation at the feature's real entry point. Use the target app's packages and add dependencies only when the implementation needs them.\n4. Regenerate affected code, inspect the diff against [the architecture checks](references\/architecture.md#verification), and fix findings introduced by the task. Format touched Dart files, run the project's analyzer and relevant tests, and report the behavior and commands verified.\n","use_cases":["Implementing new Flutter features using Clean Architecture","Extending existing Flutter features with layered components","Reviewing Flutter code structure for adherence to architecture guidelines","Setting up DI with Injectable, routing with AutoRoute, and model generation with Freezed or JSON"],"limitations":[],"compatibility":[],"setup_tip":null,"sample_input":null,"sample_output":null,"source_url":"https:\/\/github.com\/ultra-rony\/flutter-arch-skill\/blob\/64517bf48ff36d79db4d3279ec03c6ca93668b6f\/skills\/flutter-arch-skill\/SKILL.md","source_commit":"64517bf48ff36d79db4d3279ec03c6ca93668b6f","license":null,"version":null,"listing_approved_at":"2026-11-30","created_at":"2026-11-29T11:05:27.000000Z","updated_at":"2026-11-30T06:52:12.000000Z","seo_title":"Flutter Arch Skill - Clean Architecture Implementation for Flutter","seo_description":"A portable skill for implementing Flutter features with Clean Architecture, guiding agents through the Page \u2192 Cubit \u2192 UseCase \u2192 Repository \u2192 DataSource flow.","seo_keywords":["Flutter Clean Architecture","Flutter Page Cubit UseCase Repository DataSource","Flutter feature implementation","Injectable DI setup","AutoRoute configuration","Freezed model generation"]}}