data-model Skill
Add or update a dartmappable data model in lib/src/models/content/, including adding format validation, regenerating code, and adding tests. Use when adding a new content type or modifying an existing model's fields. Published by flutter in website.
What is data-model Skill?
Add or update a dartmappable data model in lib/src/models/content/, including adding format validation, regenerating code, and adding tests. Use when adding a new content type or modifying an existing model's fields. Published by flutter in website. This profile combines repository metadata with install, compatibility, and usage signals so developers can quickly decide whether it fits their agent workflow before opening the source repository.
Automated repository signals based on public metadata such as recency, license, installation evidence, and adoption. These are not a security audit or endorsement.
Key capabilities
- Includes SKILL.md support
- Reusable instructions support
- Testing
- Data analysis
- Testing use cases
- Data analysis use cases
Technical details
- Install or run with Copy skill directory
When to use data-model Skill
- Use it for testing.
- Use it for data analysis.
Built with
Editorial notes
Source
- Creator: flutter
- Repository: flutter/website
- Skill file: sites/www/.agents/skills/data-model/SKILL.md
What it does
Add or update a dartmappable data model in lib/src/models/content/, including adding format validation, regenerating code, and adding tests. Use when adding a new content type or modifying an existing model's fields.
Skill instructions
Data model skill Add or update a typed content model in this project. Follow the established conventions below as much as possible. Before starting 1. If updating an existing model, read the model file, its source YAML or JSON file(s), and its test group first. 2. If adding a new model, identify which page will use it and the structure of the YAML file it will load from and map to. If the YAML file doesn't exist, ask the user to create and reference it or provide information about its expected structure. Model file conventions All data models live in the lib/src/models/content directory and should roughly follow this general structure: dart import 'package:dartmappable/dartmappable.dart'; import 'contentvalidation.dart'; part '<filename.mapper.dart'; /// Doc comment: What this model represents and where it's loaded from. /// /// Expected data format: /// - fieldname: Description and constraints of the expected value. @MappableClass() class ModelName with ModelNameMappable { ModelName({
Explore related resources
Frequently asked questions
What is data-model?
data-model is a open-source AI agent skill with Copy skill directory. Add or update a dartmappable data model in lib/src/models/content/, including adding format validation, regenerating code, and adding tests.
Who is data-model best for?
data-model is best for reusing agent instructions, scripts, and references, testing workflows, data analysis workflows.
How do I install data-model?
Install or run data-model using Copy skill directory. Check data-model for the latest setup command.
Is data-model actively maintained?
data-model may need a closer maintenance check before production use.
Auto-fetched from GitHub.