flutter-quality

Run dart analyze, dart format, and flutter test on Flutter projects.

8|2|Updated Oct 28, 2025
One-click install
npx skills add https://github.com/morodomi/tdd-skills --skill flutter-quality
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: flutter-quality
Source: https://github.com/morodomi/tdd-skills/tree/main/plugins/tdd-flutter/skills/flutter-quality
Command: npx skills add https://github.com/morodomi/tdd-skills --skill flutter-quality

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill streamlines Flutter/Dart project quality assurance by running static analysis, enforcing formatting standards, and executing tests, reducing manual QA time.

Core Features & Use Cases

  • Static analysis with dart analyze to catch issues early.
  • Code formatting with dart format to ensure consistency across the codebase.
  • Test execution with flutter test to verify behavior and coverage.
  • Use Case: Integrate into CI to automatically validate a Flutter project on every commit and report failures.

Quick Start

Use the Flutter Quality Check skill to automatically lint, format, and test your Flutter project. Run the following commands in the project root:

  • dart analyze
  • dart format .
  • flutter test Optional: flutter test --coverage

Frequently Asked Questions about flutter-quality

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

FAQPage Schema
How do I automate Flutter static analysis and testing in CI?

Automate Flutter quality checks in CI by running dart analyze for static analysis, dart format to enforce code consistency, and flutter test to verify behavior on every commit.

What does dart analyze check in a Flutter project?

Dart analyze performs static analysis on a Flutter project to catch code issues early. It supports optional lint rules configured via analysis_options.yaml to enforce custom code standards.

Do I need a specific project size to run dart format and flutter test?

No, Flutter quality checks apply to Dart and Flutter projects of any size. You only need standard Dart and Flutter tooling like dart format and flutter test installed in your environment.

Can I generate code coverage reports with flutter test?

Yes, you can generate code coverage reports by running the optional command flutter test --coverage. This executes your tests while outputting coverage data to validate project behavior.

How do I configure custom lint rules for Flutter static analysis?

Configure custom lint rules for Flutter static analysis by adding them to an analysis_options.yaml file. The dart analyze command will then enforce these specific formatting and code standards.

Why should I run dart format before flutter test in a Flutter project?

Running dart format before flutter test ensures codebase consistency before verifying behavior. This sequence reduces manual QA time by standardizing code style and catching structural issues early.