Agent skill

stack-default-flutter

Opinionated baseline for Flutter apps: format/analyze, tests, Makefile targets, and CI wiring (no docker unless backend exists separately).

Stars 31
Forks 24

Install this agent skill to your Project

npx add-skill https://github.com/frostaura/ai.toolkit.gaia/tree/main/.github/skills/stack-default-flutter

SKILL.md

Stack Default: Flutter

When to use

Use when:

  • Repo is Flutter and foundations are missing/incomplete
  • Bootstrapping a new Flutter app
  • Preparing for use-case work affecting UI flows

Baseline outcomes

  • Formatting + static analysis enforced
  • Makefile provides canonical commands
  • Tests run reliably
  • CI runs lint/build/test as applicable
  • Docs updated for run/test

Preferred tools (default choices)

  • Format: dart format
  • Analyze: dart analyze or flutter analyze
  • Tests: flutter test

Rule: Prefer existing repo conventions if present.

Required files / locations

  • Makefile
  • .github/workflows/ci.yml
  • /docs/testing/how-to-run.md

Make targets (required)

  • make lint (format check + analyze)
  • make test (flutter test) Optional:
  • make build (if CI builds artifacts)
  • make run (if useful and stable)

Step 1 — Lint baseline

  • Ensure formatter is applied and CI checks formatting (no drift)
  • Ensure analyzer runs and fails on issues
  • Implement via make lint

Step 2 — Test baseline

  • Ensure flutter test runs via make test
  • Add minimal widget/unit test scaffold if none exists

Step 3 — CI wiring

  • CI runs make lint and make test
  • If building artifacts, add make build and wire in

Step 4 — Docs alignment

Update /docs/testing/how-to-run.md:

  • Flutter SDK prerequisites
  • Make targets
  • how to run tests

Suggested required_gates[]

  • Baseline setup: lint, ci
  • If adding tests: add unit

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results