Token导航 LogoToken导航TokenDH.com
研究检索external-servicegithub未标认证来源可访问许可证需确认审计异常

e2e-testing端到端测试

Agent Skill

用于辅助测试设计、自动化测试、用例整理和回归验证。它适合让 Agent 编写单元测试、端到端测试、测试计划或根据失败日志定位问题。使用时需要确认项目测试框架、运行命令和夹具数据,避免为了通过测试而改坏真实逻辑;涉及浏览器或外部服务时,应区分本地模拟、测试环境和生产环境。

总安装

3,034

周安装

129

GitHub Stars

223

下载量

1,063
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:e2e-testing(端到端测试)
来源仓库:https://github.com/ai-dashboad/flutter-skill
仓库路径:skills/e2e-testing
安装命令:
npx skills add https://github.com/ai-dashboad/flutter-skill --skill e2e-testing
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/ai-dashboad/flutter-skill --skill e2e-testing

简介

连接 AI 代理至运行中应用的端到端测试平台,支持视觉与操作交互。

  • 可在 Flutter、React Native、Electron 等 8 种平台上捕获 UI 状态与截图。
  • 通过 npx 命令从指定 GitHub 仓库安装,使用自然语言控制应用点击与滚动。
  • 需区分本地模拟与生产环境访问,防止误操作影响真实用户数据。
  • e2e-testing 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

AI E2E Testing — 8 Platforms, Zero Test Code

Give your AI agent eyes and hands inside any running app.

flutter-skill is an MCP server that connects AI agents to running apps. The agent can see screenshots, tap elements, enter text, scroll, navigate, inspect UI trees, and verify state — all through natural language.

Supported Platforms

PlatformSetup
Flutter (iOS/Android/Web)flutter pub add flutter_skill
React Nativenpm install flutter-skill-react-native
Electronnpm install flutter-skill-electron
iOS (Swift/UIKit)SPM: FlutterSkillSDK
Android (Kotlin)Gradle: flutter-skill-android
Tauri (Rust)cargo add flutter-skill-tauri
KMP DesktopGradle dependency
.NET MAUINuGet package

Test scorecard: 562/567 (99.1%) across all 8 platforms.

Install

# npm (recommended)
npm install -g flutter-skill

# Homebrew
brew install ai-dashboad/flutter-skill/flutter-skill

# Or download binary from GitHub Releases

MCP Configuration

Add to your AI agent's MCP config (Claude Desktop, Cursor, Windsurf, OpenClaw, etc.):

{
  "mcpServers": {
    "flutter-skill": {
      "command": "flutter-skill",
      "args": ["server"]
    }
  }
}

OpenClaw

If using OpenClaw, add to your gateway config under mcp.servers:

mcp:
  servers:
    flutter-skill:
      command: flutter-skill
      args: ["server"]

Quick Start

1. Initialize your app (one-time)

cd /path/to/your/app
flutter-skill init

Auto-detects project type and patches your app with the testing bridge.

2. Launch and connect

flutter-skill launch .

3. Test with natural language

Tell the agent what to test:

"Test the login flow — enter admin@test.com and password123, tap Login, verify Dashboard appears"

The agent will automatically:

  1. screenshot() → see the current screen
  2. inspect_interactive() → discover all tappable/typeable elements with semantic refs
  3. tap(ref: "button:Login") → tap using stable semantic reference
  4. enter_text(ref: "input:Email", text: "admin@test.com") → type into field
  5. wait_for_element(key: "Dashboard") → verify navigation
  6. screenshot() → confirm final state

Available MCP Tools

Core Actions

ToolDescription
screenshotCapture current screen as image
tapTap element by key, text, ref, or coordinates
enter_textType text into a field
scrollScroll up/down/left/right
swipeSwipe gesture between points
long_pressLong press an element
dragDrag from point A to B
go_backNavigate back
press_keySend keyboard key events

Inspection (v0.8.0+)

ToolDescription
inspect_interactiveNEW — Get all interactive elements with semantic ref IDs
get_elementsList all elements on screen
find_elementFind element by key or text
wait_for_elementWait for element to appear (with timeout)
get_element_propertiesGet detailed properties of an element

Text Manipulation

ToolDescription
set_textReplace text in a field
clear_textClear a text field
get_textRead text content

App Control

ToolDescription
get_logsRead app logs
clear_logsClear log buffer

Semantic Refs (v0.8.0)

inspect_interactive returns elements with stable semantic reference IDs:

button:Login          → Login button
input:Email           → Email text field
toggle:Dark Mode      → Dark mode switch
button:Submit[1]      → Second Submit button (disambiguated)

Format: {role}:{content}[{index}]

7 roles: button, input, toggle, slider, select, link, item

Use refs for reliable element targeting that survives UI changes:

tap(ref: "button:Login")
enter_text(ref: "input:Email", text: "test@example.com")

Testing Workflow

Basic Flow

screenshot() → inspect_interactive() → tap/enter_text → screenshot() → verify

Comprehensive Testing

"Explore every screen of this app. Test all buttons, forms, navigation, and edge cases. Report any bugs you find."

The agent will systematically:

  • Navigate every screen via tab bars, menus, links
  • Interact with every interactive element
  • Test form validation (empty, invalid, valid inputs)
  • Test edge cases (long text, special characters, emoji)
  • Verify navigation flows (forward, back, deep links)
  • Take screenshots at each step for verification

Example Prompts

Quick smoke test:

"Tap every tab and screenshot each page"

Form testing:

"Fill the registration form with edge case data — emoji name, very long email, short password — and verify error messages"

Navigation:

"Test the complete user journey: sign up → create post → like → comment → delete → sign out"

Accessibility:

"Check every screen for missing labels, small tap targets, and contrast issues"

Tips

  1. Always start with screenshot() — see before you act
  2. Use inspect_interactive() to discover elements — don't guess at selectors
  3. Prefer ref: selectors — more stable than text or coordinates
  4. wait_for_element() after navigation — apps need time to transition
  5. Screenshot after every action — verify the expected effect
  6. Use press_key for keyboard shortcuts — test keyboard navigation

Links

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

36.71%
按下载量换算390

Claude

29.87%
按下载量换算318

Cursor

18.34%
按下载量换算195

Gemini CLI

8.96%
按下载量换算95

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

未通过

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills