scoutqa-test
它能做什么
这个工具可以自动化网站测试。它就像一个智能搭档,会探索网站、发现问题,并验证一切是否按预期运行。
适用场景
- ✓当你要求测试某个特定网站时。
- ✓在修改网站之后,确认所有功能仍然正常。
- ✓当你想检查网站是否存在无障碍访问问题时。
技能链接
https://github.com/github/awesome-copilot/blob/main/skills/scoutqa-test/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“测试新闻网站,检查最新文章是否正确显示。”
每周 5 个新技能,1 分钟读完。
工作原理
你需要指定要测试的网站以及要检查的内容。工具会在后台运行测试,并把结果告诉你。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
ScoutQA Testing Skill
Perform AI-powered exploratory testing on web applications using the scoutqa CLI.
Think of ScoutQA as an intelligent testing partner that can autonomously explore, discover issues, and verify features. Delegate testing to multiple parallel ScoutQA executions to maximize coverage while saving time.
When to Use This Skill
Use this skill in two scenarios:
- User requests testing - When the user explicitly asks to test a website or verify functionality
- Proactive verification - After implementing web features, automatically run tests to verify the implementation works correctly
Example proactive usage:
- After implementing a login form → Test the authentication flow
- After adding form validation → Verify validation rules and error handling
- After building a checkout flow → Test the end-to-end purchase process
- After fixing a bug → Verify the fix works and didn't break other features
Best practice: When you finish implementing a web feature, proactively start a ScoutQA test in the background to verify it works while you continue with other tasks.
Running Tests
Testing Workflow
Copy this checklist and track your progress:
Testing Progress:
- Write specific test prompt with clear expectations
- Run scoutqa command in background
- Inform user of execution ID and browser URL
- Extract and analyze results
Step 1: Write specific test prompt
See "Writing Effective Prompts" section below for guidelines.
Step 2: Run scoutqa command
IMPORTANT: Use the Bash tool's timeout parameter (5000ms = 5 seconds) to capture execution details:
When calling the Bash tool, set timeout: 5000 as a parameter:
- This is the Bash tool's built-in timeout parameter in Claude Code (NOT the Unix
timeoutcommand) - After 5 seconds, the Bash tool returns control with a task ID and the process continues running in the background
- This is different from Unix
timeoutwhich kills the process - here the process keeps running - The first 5 seconds capture the execution ID and browser URL from ScoutQA's output
- The test continues running remotely on ScoutQA's infrastructure with the background task
scoutqa --url "https://example.com" --prompt "Your test instructions"
In the first few seconds, the command will output:
- Execution ID (e.g.,
019b831d-xxx) - Browser URL (e.g.,
https://app.scoutqa.ai/t/019b831d-xxx) - Initial tool calls showing test progress
After the 5-second timeout, the Bash tool returns a task ID and the command continues running in the background. You can work on other tasks while the test runs. The timeout is only to capture the initial output (execution ID and browser URL) - the test keeps running both locally as a background task and remotely on ScoutQA's infrastructure.
Step 3: Inform user of execution ID and browser URL
After the Bash tool returns with the task ID (having captured the execution details in the first 5 seconds), inform the user of:
- The ScoutQA execution ID and browser URL so they can monitor progress in their browser
- The background task ID if they want to check local command output later
The test continues running in the background while you continue other work.
Step 4: Extract and analyze results
See "Presenting Results" section below for the complete format.
Command Options
--url(required): Website URL to test (supportslocalhost/127.0.0.1)--prompt(required): Natural language testing instructions--project-id(optional): Associate with a project for tracking-v, --verbose(optional): Show all tool calls including internal ones
Local Testing Support
ScoutQA supports testing localhost and 127.0.0.1 URLs autonomously — no manual setup required.
# Seamlessly test a locally running app when you're developing your app
scoutqa --url "http://localhost:3000" --prompt "Test the registration form"
When to Use Each Command
Starting a new test? → Use scoutqa --url --prompt
Verifying a known issue? → Use scoutqa issue-verify --issue-id <id>
Finding issue IDs from an execution? → Use scoutqa list-issues --execution-id <id>
Agent needs more context? → Use scoutqa send-message (see "Following Up on Stuck Executions")
Writing Effective Prompts
Focus on what to explore and verify, not prescriptive steps. ScoutQA autonomously determines how to test.
Example: User registration flow
…
常见问题
测试是如何进行的?
该工具使用一条专门的命令(`scoutqa`)来探索网站。它可以同时运行多个测试,覆盖更多的页面区域。
如果测试耗时很长怎么办?
即使 AI 工具需要停止等待,测试仍会在后台继续运行。你会收到一个 ID,用来跟踪测试的进度。
我能测试本地正在开发的网站吗?
可以。你可以测试运行在自己电脑上的网站(例如 `localhost`),无需额外设置。
详情
作者的原始描述
This skill should be used when the user asks to "test this website", "run exploratory testing", "check for accessibility issues", "verify the login flow works", "find bugs on this page", or requests automated QA testing. Triggers on web application testing scenarios including smoke tests, accessibility audits, e-commerce flows, and user flow validation using ScoutQA CLI. Use this skill proactively
repo: github/awesome-copilot
热度
- GitHub 星标
- 40k
- 排名
- #7417
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …
同一仓库的更多技能
acquire-codebase-knowledge
40k帮你的智能体理解并编写现有代码项目的文档。它有助于新成员快速上手,或者快速了解项目架构。
acreadiness-assess
40k让你的智能体评估一个项目对 AI 的准备程度,并生成报告。它有助于了解项目在使用 AI 工具方面的准备情况。
acreadiness-generate-instructions
40k帮你的智能体根据评估结果编写 AI 工具的指令文件。它有助于改善 AI 与代码的交互方式,并弥补已发现的不足。
acreadiness-policy
40k让你的智能体协助制定或应用 AI 项目评估的政策。它有助于规范项目的评估方式,并确保合规。