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-testsSKILL.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
- Detect scope: widget test vs bloc/cubit test vs Patrol E2E test.
- If the repo has shared test setup helpers (for example
TestEnv,pumpApp), reuse them. - Load only the needed guide:
- Widget:
widget-tests.md - Bloc/Cubit:
bloc-tests.md - Integration/E2E (Patrol):
integration-tests.md
- Apply shared constraints from
../../rules/flutter-test-best-practices.mdc. - Start from the matching template:
../../templates/widget_test_template.dart../../templates/bloc_test_template.dart../../templates/integration_test_template.dart
- Run only impacted tests and fix failures.
- 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.mdbloc-tests.mdintegration-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
- Test type selected and why.
- Files created/updated.
- Test commands run and results.
- Flakiness risks or missing coverage notes.
- 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
- SKILL.md in the repositoryCheckingskills/write-flutter-tests/SKILL.md
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
[](https://verified-skill.com/skills/j2s80000/sport_tracker/write-flutter-tests)