e2e

GitHub

用于执行 AgentsMesh 端到端测试,支持 Web、Desktop、MCP 和 iOS。涵盖环境配置、浏览器验证及失败排查,确保变更行为正确性。

agents/skills/e2e/SKILL.md AgentsMesh/AgentsMesh

Trigger Scenarios

需要执行端到端测试以覆盖变更 用户请求运行或诊断 E2E 测试 需验证跨服务工作流

Install

npx skills add AgentsMesh/AgentsMesh --skill e2e -g -y
More Options

Non-standard path

npx skills add https://github.com/AgentsMesh/AgentsMesh/tree/main/agents/skills/e2e -g -y

Use without installing

npx skills use AgentsMesh/AgentsMesh@e2e

指定 Agent (Claude Code)

npx skills add AgentsMesh/AgentsMesh --skill e2e -a claude-code -g -y

安装 repo 全部 skill

npx skills add AgentsMesh/AgentsMesh --all -g -y

预览 repo 内 skill

npx skills add AgentsMesh/AgentsMesh --list

SKILL.md

Frontmatter
{
    "name": "e2e",
    "description": "Selects and runs the appropriate AgentsMesh end-to-end suite for Web, Desktop, MCP, or iOS, including worktree-specific environment setup and browser-level verification. Use when a change needs E2E coverage, a user asks to execute or diagnose an E2E test, or a cross-service workflow must be verified against the real development stack."
}

AgentsMesh E2E

Run the smallest real end-to-end test that proves the requested behavior, then expand coverage in proportion to the change.

Invariants

  • Use the current worktree's generated deploy/dev/.env; never assume fixed ports or container names.
  • A UI requirement must be verified by a browser or app UI test. Do not replace it with a raw API request.
  • Start the development stack only when the selected suite needs it. Record whether this workflow started the stack before deciding whether to clean it.
  • Authentication uses Connect-RPC. Never restore the removed REST login route; read references/connect-rpc.md when testing auth or proxy routing.
  • Do not claim a suite passed unless its command completed successfully.
  • Preserve test artifacts and relevant service logs when a failure occurs.

Workflow

  1. Inspect the requested behavior and changed files.

  2. Select the suite from references/test-matrix.md. Read the selected target's BUILD file, config, and nearby tests before running it.

  3. Reuse a healthy existing stack. Otherwise start //deploy/dev:up for Web flows or //deploy/dev:backend_only when frontends are not required.

  4. Load deploy/dev/.env with automatic export enabled so Bazel can forward the worktree-specific values:

    set -a
    source deploy/dev/.env
    set +a
    
  5. Run the narrowest relevant spec or test filter first. If it passes, run the owning target when the blast radius warrants it.

  6. For UI behavior, inspect the rendered state and interaction result through the suite's browser/app assertions. Capture a screenshot or trace when the visual result is central to the bug.

  7. On failure, report the failing assertion and inspect the applicable service logs and test artifacts listed in the test matrix.

  8. Clean the stack with bazel run //deploy/dev:clean only when this workflow started it and no concurrent work depends on it.

Result

Report the exact target and filter, actual worktree ports used, pass/fail status, failing evidence when applicable, and any coverage that could not be run with the reason.

Version History

  • 9fc2f49 Current 2026-07-24 21:57

Same Skill Collection

agents/skills/arch-check/SKILL.md
agents/skills/gh-merge/SKILL.md
agents/skills/github-gitlab-mirror/SKILL.md
agents/skills/worktree/SKILL.md

Metadata

Files
0
Version
1f90b14
Hash
9462634b
Indexed
2026-07-24 21:57

Главная - Вики-сайт
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-22 01:29
浙ICP备14020137号-1 $Гость$