flutter-parser

Extract structured widget, state, API, navigation, and model data from Dart/Flutter source code.

1|Updated Apr 27, 2026
One-click install
npx skills add https://github.com/Saurav-snapwork/NewAppTemplate --skill flutter-parser
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: flutter-parser
Source: https://github.com/Saurav-snapwork/NewAppTemplate/tree/main/.github/skills/flutter-parser
Command: npx skills add https://github.com/Saurav-snapwork/NewAppTemplate --skill flutter-parser

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Dart/Flutter codebases often lack a machine-readable model of the UI, navigation, and data structures, making migrations, audits, and refactors time-consuming and error-prone.

Core Features & Use Cases

  • Flutter/Dart AST-based extraction of widget trees, methods, state variables, API calls, and navigation.
  • Generates a structured, machine-readable representation suitable for downstream tooling (transformation, mapping, and code generation).
  • Use Case: when migrating a Flutter app to a new architecture or integrating with a UI-to-JSX converter, this skill provides the reliable source of truth for downstream steps.

Quick Start

Install and run the Flutter Parser on your Dart/Flutter project to generate a machine-readable model of widgets, state, and API calls.

Frequently Asked Questions about flutter-parser

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

FAQPage Schema
How do I extract a widget tree from Dart source code?▼

Yes, it extracts BLoC structures, state variables, methods, and feature flags from Dart code by analyzing the AST, generating a machine-readable representation suitable for auditing and refactoring workflows.

Can I use this parser for migrating Flutter apps to a new architecture?▼

Yes, you can use this parser for migrating Flutter apps because it generates a reliable machine-readable source of truth for the UI and behavior, which is essential for downstream transformation and code generation steps.

What is AST-based extraction for Flutter projects?▼

This parser requires Dart/Flutter source code to analyze. You provide the project files, and it processes the AST to extract a structured machine-readable artifact representing the UI, state, and API usage.

Does the parser execute or mutate my Flutter code during analysis?▼

No, the parser does not execute or mutate your Flutter code during analysis. It strictly reads the Dart source to extract a structured representation of widgets, state, and navigation for migration workflows.