Create Model banner
ToastyToast25 ToastyToast25

Create Model

Data community

Description

--- description: "Creates Dart data models with JSON serialization, Freezed, or sealed classes" globs: ["lib/**/models/*.dart", "lib/**/entities/*.dart", "lib/**/domain/**/*.dart"] alwaysApply: false --- # Skill: Create Dart Model Create well-structured data models following Dart best practices. ## Usage When asked to create a model or data class, follow these guidelines: ## Simple Immutable Model ```dart /// Represents a user in the system. class User { /// Creates a [User]. const Use

Installation

Installs to ~/.claude/skills/toastytoast25-claude-code-dart-flutter-create-model/SKILL.md

Terminal
mkdir -p ~/.claude/skills/toastytoast25-claude-code-dart-flutter-create-model && curl -fsSL https://raw.githubusercontent.com/ToastyToast25/claude-code-dart-flutter/HEAD/.claude/skills/create-model.md -o ~/.claude/skills/toastytoast25-claude-code-dart-flutter-create-model/SKILL.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository