Communitygithub.com

使用 Agent QA 编写并运行回归测试

使用 Agent QA 在真实浏览器或移动环境中验证应用流程。

使用 Agent QA 编写并运行回归测试 是什么?

Agent QA 是一款适用于真实浏览器或移动环境的回归测试工具。当编码任务需要验证应用流程时,Agent QA 可将测试存储为可审查的项目文件,支持自然语言的操作和断言,并能保留先前运行中的限定观察结果。它特别适合开发者或 AI 助手在 Cursor、Codex 等平台上使用,通过 MCP(Model Context Protocol)工具实现工作区发现、配置检查、规范化 ID 生成、测试或套件定义验证以及运行排队等操作。当执行失败时,Agent QA 会记录步骤和证据,帮助区分是应用回归、指令过期还是基础设施故障。其自愈功能允许在运行中重新观察界面并尝试另一路径,但成功的自愈仍需审查才能被信任用于后续运行。Agent QA 当前以 FSL-1.1-ALv2 许可证提供源代码,每个版本两年后转换为 Apache-2.0 许可证,配置的模型、浏览器或设备提供商可能有单独费用。

兼容平台~Claude Code✓Codex CLI~Cursor
npx skills add https://github.com/agentskillexchange/skills/tree/main/skills/author-and-run-regression-tests-with-agent-qa

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

使用 Agent QA 编写并运行回归测试 是做什么的?

当编码任务需要在真实浏览器或移动环境中验证应用流程时,请使用 Agent QA。Agent QA 将测试存储为可审查的项目文件,接受自然语言的操作和断言,并能保留来自先前运行的限定观察结果。优先使用其 MCP 工具(当可用时):发现工作区、检查配置、生成规范化 ID、验证测试或套件定义,以及排队运行。使用 CLI 作为备用方案。当执行失败时,先检查记录的步骤和证据,然后再更改测试;区分应用回归、过时的指令或基础设施故障。Agent QA 可以在运行过程中重新观察界面并尝试另一路径,但成功的自愈仍需在后续运行信任该学习路径之前进行审查。

Agent QA 目前以 FSL-1.1-ALv2 许可证提供源代码。每个版本在两年后转换为 Apache-2.0 许可证。配置的模型、浏览器或设备提供商可能有单独的费用。

先决条件

在项目中安装 Agent QA 并初始化其工作区:

npm install -D agent-qa
npx agent-qa init
npx agent-qa install-browsers --chromium

对于 Android 或 iOS 项目,安装所需的移动驱动程序:

npx agent-qa install-mobile-drivers --all

工作流程

  1. 发现 Agent QA 工作区并检查其活动目标、设备和提供商。
  2. 使用 Agent QA 工具生成 ID;切勿编造测试、套件、钩子、运行或观察 ID。
  3. 创建或更新自然语言测试,然后在保存或运行之前验证其定义。
  4. 通过 MCP 将测试或套件排队。如果 MCP 不可用,使用 npx agent-qa run <test-file> 运行已验证的文件。
  5. 在决定修复应用、修改测试或重试基础设施之前,检查步骤证据、自愈尝试和保留的观察结果。

安装

从源代码支持的指令安装或设置:

使用 npm install -D agent-qa 安装,然后运行 npx agent-qa init,并安装所需的运行时支持,例如 npx agent-qa install-browsers --chromium。

文档

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

Academic Paper Citation Network Mapper

Builds citation networks from Semantic Scholar API and CrossRef DOI metadata. Visualizes paper influence graphs using NetworkX, identifies seminal works, and tracks research lineage across fields.

ACF Custom Fields REST Exposer

Exposes Advanced Custom Fields data through the WordPress REST API using register_rest_field and acf_format_value. Handles repeater fields, flexible content layouts, and gallery fields with proper serialization.

ACF Extended for Advanced Custom Fields Workflows

An ASE skill built around ACF Extended, the WordPress enhancement suite for Advanced Custom Fields that adds field types, admin improvements, front-end forms, options pages, and developer tooling. It is a practical fit for agents working inside complex WordPress content models and custom field workflows.

ACF to Gutenberg Block Migrator

Converts Advanced Custom Fields field groups into native Gutenberg blocks using the ACF Block API v2 and @wordpress/scripts build pipeline. Maps ACF repeaters, groups, and flexible content to InnerBlocks and block attributes with server-side rendering via acf_register_block_type().

Activepieces Open Source Workflow Automation

Activepieces is an open-source, self-hostable workflow automation platform with 200+ integrations. It provides a visual builder for creating automated workflows and exposes all its connectors as MCP servers for AI agent use.

ActivityWatch Cross-Platform Automated Time Tracker and Producti

ActivityWatch is a privacy-first, open-source automated time tracker that records application usage, browser activity, and AFK status across Windows, macOS, and Linux. With 16k+ GitHub stars, it provides detailed productivity analytics without sending data to external servers.

act Local GitHub Actions Runner

act is an open-source CLI tool that runs GitHub Actions workflows locally using Docker, enabling fast feedback on workflow changes without pushing to GitHub. It is a standard tool for local Actions development and testing.

Add a browser review checkpoint before risky agent actions with

Use AgentClick when an agent should pause before risky commands, plans, drafts, or code changes so a human can inspect, edit, approve, or reject them in a purpose-built browser UI.

Add Claude design-system and accessibility workflows with UX/UI

Use UX/UI Agent Skills when Claude should generate tokens, component specs, accessibility audits, and framework-specific UI code from a repeatable design workflow.

Add executable smoke tests for shell scripts and CLIs before ref

Use Bats-core when an agent needs to turn fragile shell scripts or command-line workflows into something it can verify repeatedly after edits. The agent writes focused Bash tests for success paths, failure paths, and output contracts, then runs them locally or in CI before a refactor, release, or incident fix goes out.

Add graph-backed memory and context retrieval to agent workflows

Use Cognee to ingest project knowledge into graph and vector memory so agents can retrieve durable context across sessions and workflows.

Add IDE-style semantic code navigation and symbol-safe refactors

Give a coding agent symbol-aware lookup, cross-file rename, and structural edit tools before it starts making brittle text-only changes.

Add managed long-term memory to LangGraph agents with LangMem

Give LangGraph agents memory management and search tools so they can store, retrieve, and update durable facts across sessions.

Add multimodal lifelong memory to MCP and Python agents with Sim

Use SimpleMem to store, compress, index, and retrieve text or multimodal memories for agents through MCP or Python integrations.

Add persistent project memory and hook-driven synthesis with Cla

Keep Claude Code sessions grounded in prior decisions, project context, and daily handoff notes instead of starting from zero every time.

Add Postgres-native vector retrieval to agent and RAG workflows

Store embeddings beside application data in Postgres, create vector indexes, and query nearest neighbors for semantic search, RAG, recommendations, or agent memory retrieval.

Address GitHub PR review comments from the current branch with g

Find the open PR for the current branch, gather unresolved review comments, and drive a focused comment-resolution workflow with gh-authenticated context.

Add runtime guardrails to TypeScript agents with VoltAgent

Use VoltAgent to intercept, validate, and enforce input/output policies in TypeScript agent workflows.

Add temporal context memory to agent workflows with Zep

Use Zep as an external context layer for agents that need to store events, assemble temporal graph context, and retrieve relevant memory before model calls.

Adobe Firefly API Batch Image Generator

Calls Adobe Firefly

相关技能