flutter-model-gen

Community

Turn JSON or contracts into freezed Dart models.

Authordus2183-commits
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill converts JSON samples or interface contracts into strongly-typed Dart models using freezed and json_serializable templates, accelerating data layer generation and reducing manual coding errors.

Core Features & Use Cases

  • Automated model generation from JSON samples, contract documentation (docs/api), or swagger-like inputs.
  • Nested entity extraction with automatic splitting into separate model files and proper imports.
  • Enum and timestamp support including JsonValue-based enums and ISO/timestamp conversions, plus snake_case key renaming.

Quick Start

Provide a JSON sample or contract document and ask Claude to generate the corresponding freezed Dart models.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: flutter-model-gen
Download link: https://github.com/dus2183-commits/flutter-skills/archive/main.zip#flutter-model-gen

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.