Communitygithub.com

使用 Agent QA 編寫與執行回歸測試

使用 Agent QA 在真實瀏覽器或行動環境中驗證應用程式流程。

使用 Agent QA 編寫與執行回歸測試 是什麼?

此技能使 AI 代理能夠使用 Agent QA 框架編寫和執行回歸測試。它在需要驗證應用程式流程的真實瀏覽器或行動環境中時非常有用。Agent QA 支援 MCP 工具,用於探索工作區、檢查配置、生成規範 ID 以及排隊執行測試。當 MCP 不可用時,它也提供 CLI 作為備用方案,讓您可以使用 `npx agent-qa run <test-file>` 命令執行測試。此技能專注於區分應用程式回歸錯誤、過時說明或基礎設施故障,並建議在修改測試前檢查記錄的步驟和證據。該程式碼庫根據 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、驗證測試或套件定義,並排隊執行。當 MCP 不可用時,使用 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

相關技能