What problem does it solve?
This Skill eliminates the manual, repetitive coding associated with database interactions and UI components in Flutter. It prevents code-database drift, enforces consistent quality, and automates documentation, significantly accelerating development cycles for schema-driven projects.
Core Features & Use Cases
- Schema-Driven Code Generation: Automatically generates SQL migrations, Flutter entities, repositories, and BLoCs from YAML schemas.
Use Case: Define a new
Product entity in YAML, and instantly get all the boilerplate code for database interaction and Flutter models, ensuring zero drift.
- Atomic Design Component Creation: Guides and generates Flutter UI components (atoms, molecules, organisms) with associated tests and Widgetbook previews.
Use Case: Need a new
LoginButton? The Skill helps you create it, ensuring it follows atomic design principles and is immediately viewable in your component showcase.
- Automated Quality & Documentation: Runs comprehensive quality checks (formatting, linting, type checking, tests) and keeps documentation (ADRs, CLAUDE.md) in sync with code changes.
Use Case: Before committing, run
/sdf:pre-commit to automatically fix issues, run all tests, and validate documentation, guaranteeing a high-quality, well-documented codebase.
Quick Start
To create a new database table and generate all associated Flutter code, start by asking:
/sdf:new-schema