flutter-skill  by ai-dashboad

AI-powered E2E testing across 10 platforms using natural language

Created 3 months ago
258 stars

Top 98.1% on SourcePulse

GitHubView on GitHub
Project Summary

AI-powered E2E testing for 10 platforms is addressed by flutter-skill, which aims to simplify and accelerate the testing process. It targets engineers and power users by enabling them to test applications using natural language prompts, eliminating the need for traditional test code and complex configurations, thereby improving efficiency and reliability.

How It Works

flutter-skill connects AI agents (like Claude, Cursor) to running applications via the MCP protocol. Instead of relying on screenshots, it leverages the app's Accessibility Tree for semantic UI understanding, drastically reducing token costs and enabling complex interactions per prompt. AI agents directly control the application based solely on natural language instructions, performing actions like tapping, typing, and navigating.

Quick Start & Requirements

  • Installation: Primarily via npm install -g flutter-skill, with alternative methods including Homebrew, Scoop, Docker, pub.dev, and IDE extensions (VSCode, JetBrains). A zero-config flutter-skill init command is available for auto-detection and patching.
  • Prerequisites: An MCP-compatible AI agent (e.g., Cursor, Claude Desktop, Windsurf, Copilot). For Flutter apps, integration requires adding FlutterSkillBinding.ensureInitialized() to main.dart.
  • Setup Time: Claimed to be under 60 seconds for a full setup.
  • Documentation: Links to Demo, Quick Start, AI Platforms, Platforms, vs Others, and Docs are available.

Highlighted Details

  • Cross-Platform Support: Tests 10 platforms including Flutter, React Native, Electron, Tauri, native iOS/Android, KMP, and .NET MAUI, with high test scores across a complex social media app.
  • AI-Native Interaction: Utilizes natural language prompts and an Accessibility Tree for AI understanding, enabling batch actions (5+ per call) and significantly reducing token costs compared to screenshot-based methods.
  • Performance: Achieves sub-100ms operation times for actions like taps and inspections, reportedly 50-100x faster than traditional WebDriver/CDP approaches by interacting directly with the app runtime.
  • Extensive Tooling: Offers 253 dynamic MCP tools per page, far exceeding competitors, and supports features like autonomous exploration, fuzz testing, visual regression, network mocking, and API testing.

Maintenance & Community

Contribution guidelines are available via CONTRIBUTING.md. Integration with various AI platforms and IDEs suggests an active ecosystem.

Licensing & Compatibility

The project is released under the MIT License, permitting commercial use and integration into closed-source applications without significant restrictions.

Limitations & Caveats

Specific platforms show minor test gaps (e.g., Flutter 188/195). The README does not detail known bugs or alpha status, focusing primarily on its capabilities.

Health Check
Last Commit

1 month ago

Responsiveness

Inactive

Pull Requests (30d)
1
Issues (30d)
1
Star History
55 stars in the last 30 days

Explore Similar Projects

Feedback? Help us improve.