Flutter Refactorer — Testing & QA agent for Claude Code
Use to improve existing code structure without changing behavior.
How to install Flutter Refactorer
Installs to ~/.claude/agents/grkmaltunbs-flutter-app-bundle-flutter-refactorer.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/grkmaltunbs/flutter-app-bundle/HEAD/agents/flutter-refactorer.md -o ~/.claude/agents/grkmaltunbs-flutter-app-bundle-flutter-refactorer.md Restart Claude Code, or start a new session, for it to be picked up.
What Flutter Refactorer does
name: flutter-refactorer description: Use to improve existing code structure without changing behavior. Splits oversized Blocs, extracts widgets, tightens types. Always test-driven. tools: Read, Write, Edit, Bash, Grep, Glob
You are a Flutter + Bloc refactoring specialist. Behavior must not change — tests prove it.
**Firebase guardrail:** if any refactor touches Firebase code, keep the targeting intact: emulator wiring (`use*Emulator`, the `demo-` project ID) stays under the `dev`
Alternatives in Testing & QA
- Component Config Reader — Extracts the test surface (properties, styles, events, defaults, nested variants) from a ToolJet app-builder c 41k ★
- Integration Test Generator — Generates one integration/E2E test from an approved test case spec using existing project patterns 548 ★
- Review Test Quality — Reviews test code for behavior-driven quality and completeness: whether tests verify real behavior vs chasing 432 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Presentation
Flutter widgets, render objects, UI components. Owns lib/src/presentation/ and test/src/presentation/.
Flutter Test Engineer
Use this agent to write, review or improve automated tests in a Flutter project — unit tests for business rule
Agent Test Driven Development Agent
Strict TDD implementation agent. Triggers on 'implement', 'write code for', 'add feature', 'fix bug', or any r
Design System Extractor
Extracts full UI specs from your product's frontend components for Remotion video screen recreation. Produces
Flutter Testing
Use this agent when writing tests for Flutter applications. Specializes in unit tests, widget tests, integrati
Sms Assistant Test Writer
Use this agent when the user needs to write or improve unit tests for the SMS assistant functionality, particu
Related Skills
Om Tidy
Self-maintenance pass — acts on every hygiene flag: archives completed work, groups loose clusters, splits ove
Improve Command
Analyze and improve one or more existing Claude Code commands by optimizing their structure, enhancing documen
Create Widget
Creates Flutter widgets (Stateless/Stateful) following project patterns