j2s80000/sport_tracker/write-flutter-tests

Claude Code and agent skill by j2s80000/sport_tracker

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Write and extend Dart/Flutter unit (bloc/cubit), widget, and Patrol E2E tests using bloc_test, mocktail, page objects, and project templates. Use when asked to write, add, update, fix, or refactor Flutter tests or test setup.

Install

npx vskill@latest install j2s80000/sport_tracker/write-flutter-tests

SKILL.md

The same SKILL.md was published earlier as j2s80000/sport_tracker/write-flutter-tests.

Write Flutter Tests

Use this skill as the single entry point for Flutter test work.

Workflow

  1. Detect scope: widget test vs bloc/cubit test vs Patrol E2E test.
  2. If the repo has shared test setup helpers (for example TestEnv, pumpApp), reuse them.
  3. Load only the needed guide:
  • Widget: widget-tests.md
  • Bloc/Cubit: bloc-tests.md
  • Integration/E2E (Patrol): integration-tests.md
  1. Apply shared constraints from ../../rules/flutter-test-best-practices.mdc.
  2. Start from the matching template:
  • ../../templates/widget_test_template.dart
  • ../../templates/bloc_test_template.dart
  • ../../templates/integration_test_template.dart
  1. Run only impacted tests and fix failures.
  2. Prefer behavior-first assertions:
  • user action -> observable outcome,
  • expected branch visible + conflicting branch hidden,
  • avoid synthetic-only style assertions unless style is the requirement.

Description Format

  • Event tests: WHEN user taps <control> THEN <result>
  • State tests: GIVEN <state> THEN <rendered result>
  • Never write: WHEN widget is pumped / WHEN page is built

Progressive Disclosure

  • Keep this file short.
  • Put implementation detail in:
  • widget-tests.md
  • bloc-tests.md
  • integration-tests.md
  • ../../docs/test-environment-setup.md

Guardrails

  • Prefer deterministic tests over time-dependent assertions.
  • Keep test setup local unless shared helpers already exist.
  • Avoid broad snapshot/golden assertions unless explicitly requested.
  • Do not present sample test snippets as completed repository changes without file-level confirmation.

Required output

  1. Test type selected and why.
  2. Files created/updated.
  3. Test commands run and results.
  4. Flakiness risks or missing coverage notes.
  5. Next test to add (single highest-value gap).

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/j2s80000/sport_tracker/write-flutter-tests/badge)](https://verified-skill.com/skills/j2s80000/sport_tracker/write-flutter-tests)

Something wrong with this skill or its page? Tell us.