vp-k/flutter-craft/flutter-verification
- community
Checking that the SKILL.md file is still in the repository.
Use when about to claim work is complete, fixed, or passing - requires running Flutter verification commands and confirming output before making any success claims; evidence before assertions always
Install
npx vskill@latest install vp-k/flutter-craft/flutter-verificationSKILL.md
Flutter Verification Before Completion
Overview
Claiming work is complete without verification is dishonesty, not efficiency.
Core principle: Evidence before claims, always.
Violating the letter of this rule is violating the spirit of this rule.
The Iron Law
If you haven't run the verification command in this message, you cannot claim it passes.
Note: This is an agent-discipline convention enforced by the workflow, not a mechanical gate — flutter-craft ships only a SessionStart hook, so nothing blocks a premature completion claim at the tool level. The rule holds only insofar as the agent follows it.
Flutter Verification Commands
1. Static Analysis (Always Required)
Expected output:
If issues found:
2. Unit Tests (Priority 1 & 2)
Expected output:
If tests fail:
3. Build Verification (once at the finishing stage — not on every completion claim)
Run against the project's actual target platform only:
Expected output (example, Android):
4. Format Check (Optional)
The Gate Function
Common Flutter Failures
| Claim | Requires | Not Sufficient | |
|---|---|---|---|
| "Code is clean" | flutter analyze: No issues | "I wrote correct code" | |
| "Tests pass" | flutter test: All passed | "Should pass", "Looks correct" | |
| "Build succeeds" | flutter build: Built successfully | "Analyze passed" | |
| "Feature complete" | All verification + requirements check | "Tests pass" | |
| "Bug fixed" | Test original symptom + verify | "Code changed" | |
| "Widget works" | Widget test or manual verification | "Code looks right" |
Red Flags - STOP
If you catch yourself thinking or saying:
- "should work now"
- "probably passes"
- "looks correct"
- "I'm confident"
- "just this once"
- "analyze passed, so build will work"
- "the code is right"
- ANY wording implying success without running verification
STOP. Run the verification command.
Verification Checklist
Before claiming completion:
$ flutter analyze Analyzing flutter_app... No issues found!
$ flutter test test/features/<feature>/ 00:05 +12: All tests passed!
$ flutter build apk --debug ✓ Built build/app/outputs/flutter-apk/app-debug.apk
Key Patterns
Static Analysis:
Tests:
Build:
Feature completion:
Rationalization Prevention
| Excuse | Reality | |
|---|---|---|
| "Should work now" | RUN flutter analyze/test | |
| "I'm confident" | Confidence ≠ evidence | |
| "Just this once" | No exceptions | |
| "Analyze passed" | Analyze ≠ build ≠ test | |
| "Code looks right" | Verify independently | |
| "I'm tired" | Exhaustion ≠ excuse | |
| "It's simple code" | Simple code can still fail |
Why This Matters
- Trust: If you claim "tests pass" without running them, trust is broken
- Time: False completion → redirect → rework wastes everyone's time
- Quality: Unverified code may crash in production
- Integrity: Honesty is a core value
When To Apply
ALWAYS before:
- ANY variation of success/completion claims
- ANY expression of satisfaction ("Done!", "Fixed!", "Works!")
- Committing code
- Creating PRs
- Moving to next task
- Reporting to user
The Bottom Line
No shortcuts for verification.
Run the command. Read the output. THEN claim the result.
This is non-negotiable.
A full flutter build is NOT required at every completion claim — it is slow and platform-dependent. It runs once, in flutter-finishing, against the project's actual target platform.
5. Visual Verification (Optional — Flutter Web)
For work that includes UI changes, perform visual verification if the design-polish plugin is installed. If it is not installed, skip this step (SOFT_FAIL).
Prerequisites
- design-polish plugin installed (
~/.claude/plugins/marketplaces/design-polishor~/.claude/plugins/design-polish) scripts/capture.cjsexists- Node.js + npx available
Procedure
- Build Flutter Web
``bash flutter build web ``
- Serve the build output locally
``bash npx serve build/web -l 3000 & SERVER_PID=$! ``
- Screenshot + WCAG check
``bash BASE_URL=http://localhost:3000 node <design-polish-path>/scripts/capture.cjs --wcag / ``
- Check the results
.design-polish/health-score.json: design health score (0-100).design-polish/accessibility/wcag-report.json: WCAG violations.design-polish/screenshots/current-main.png: current screenshot
- Stop the server
``bash kill $SERVER_PID 2>/dev/null ``
Verdict Criteria
| Result | Condition | Action | |
|---|---|---|---|
| PASS | 0 WCAG violations, Health Score ≥ 60 | Done | |
| WARN | 1-3 WCAG violations (minor/moderate) | Improvement recommended, not blocking | |
| FAIL | Critical WCAG violation exists | Fix recommended (SOFT_FAIL: does not block) | |
| SKIP | design-polish not installed | Skipped |
Evidence Record
Security
- Security scanPassed, 100 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/flutter-verification/SKILL.md
Popularity
- Repository stars
- 4
- Repository forks
- 2
- 7-day trend score
- 8
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 16 Mar 2026, 7 months ago.
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/vp-k/flutter-craft/flutter-verification)