Verifies Dart code quality using static analysis, formatting checks, and test execution.

Install

mkdir -p .claude/skills/qa-naipaka && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/17339" && unzip -o skill.zip -d .claude/skills/qa-naipaka && rm skill.zip

Installs to .claude/skills/qa-naipaka

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Run the project's verification harness (analyze, lint, format, tests) after code changes. Use after editing Dart code to verify the change before declaring it complete.
168 charsno explicit “when” trigger
Intermediate

Key capabilities

  • Run static analysis across all Dart packages
  • Check Dart code formatting without modifying files
  • Fix Dart code formatting issues
  • Run tests for all Dart packages
  • Run tests for a specific Dart package
  • Generate code for Riverpod, Drift, i18n, and Freezed

How it works

The skill executes a tiered verification harness, starting with static analysis, then format checks, and finally tests, using `fvm dart` commands. It also includes steps for code generation.

Inputs & outputs

You give it
Dart code changes
You get back
Verification results (no issues, clean format, all tests pass) or error messages

When to use qa

  • Analyze Dart code
  • Verify project baseline
  • Run full test suite

About this skill

QA Verification Harness

Run the appropriate verification tier based on $ARGUMENTS. If $ARGUMENTS is empty, run standard.


Tier 1 — quick

Minimum check. Run from the repository root — do NOT cd into subdirectories, because this is a Pub Workspaces project and fvm dart analyze at the root inspects all packages in one pass.

fvm dart analyze

Expected output: No issues found!

If issues are found, fix them and re-run before proceeding.


Tier 2 — standard (default when $ARGUMENTS is empty)

Pre-PR baseline. Run all three steps in sequence; stop and fix before continuing if any step fails.

# Step 1 — static analysis across all packages
fvm dart analyze

# Step 2 — format check (read-only, does NOT modify files)
fvm dart run melos run format:ci --no-select

Expected output for each: No issues found! (analyze) or a clean exit (format:ci).

If format:ci reports a diff, fix formatting with:

fvm dart format packages/

Then re-run fvm dart run melos run format:ci --no-select to confirm the diff is gone.


Tier 3 — full

Heavy verification including tests. Run standard first, then add:

# All packages
fvm dart run melos run test:ci --no-select

# Or, for a specific package only
fvm dart run melos exec --scope=<package_name> -- flutter test

All tests must pass. Do not declare the task complete while any test is red.


Code-generation prerequisite

If the change touches any of the following, run fvm dart run melos run gen before running any QA tier:

  • Riverpod providers annotated with @riverpod
  • Drift database table definitions
  • i18n YAML files (app_en.yaml / app_ja.yaml)
  • Freezed data classes
fvm dart run melos run gen

For i18n changes only:

fvm dart run melos run slang

Completion criteria

Do NOT declare the task complete until all of the following are true for the chosen tier:

  • fvm dart analyzeNo issues found!
  • fvm dart run melos run format:ci --no-select → clean (standard / full)
  • fvm dart run melos run test:ci --no-select → all tests pass (full only)

When not to use it

  • When working with non-Dart projects
  • When `fvm` is not installed or configured for the project

Limitations

  • The skill is for Dart projects.
  • It requires `fvm`.

How it compares

This skill provides a structured, tiered verification process for Dart projects, ensuring code quality and readiness through automated checks, which is more complete than running individual checks manually.

Compared to similar skills

qa side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
qa (this skill)01moReviewIntermediate
e2e-testing-patterns82moNo flagsIntermediate
testing-workflow169moReviewIntermediate
perf-lighthouse135moReviewIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

Search skills

Search the agent skills registry