跳到主内容
智客 ZICQ

技能库 智客分类:Agent 工作流 scoutqa-test

童军 测试

当用户要求"测试这个网站","运行探索性测试","检查无障碍问题","验证登录流程工程","在本页面查找错误",或请求自动QA测试时,应当使用这种技能. 触发网络应用测试情景,包括烟雾测试,无障碍审计,电子商务流量,以及使用ScoutQA CLI的用户流量验证. 在实施网络应用功能后主动使用这一技能来验证其正确工作.

10058 安装量

官方网址:skills.sh

技能介绍

先看中文介绍;官方 description 原文单独保留,不改写 SKILL.md。

做什么

当用户要求"测试这个网站","运行探索性测试","检查无障碍问题","验证登录流程工程","在本页面查找错误",或请求自动QA测试时,应当使用这种技能. 触发网络应用测试情景,包括烟雾测试,无障碍审计,电子商务流量,以及使用ScoutQA CLI的用户流量验证. 在实施网络应用功能后主动使用这一技能来验证其正确工作.

何时用

这个技能

代理如何加载

按 Agent Skills 渐进披露:启动时只加载 name 与 description(约 100 token);任务匹配后才读入整份 SKILL.md 正文;scripts/、references/、assets/ 仅在需要时再读。 本文件正文结构:ScoutQA Testing Skill、When to Use This Skill、Running Tests、Testing Workflow、Command Options、Local Testing Support。 其中含规范建议的小节:分步指令。

文件分析

文件分析:这是一份仅含 SKILL.md 的指令型技能,代理激活后整份正文进入上下文。

官方 description(原文)

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 after implementing web application features to verify they work correctly.

ScoutQA Testing SkillWhen to Use This SkillRunning TestsTesting WorkflowCommand OptionsLocal Testing SupportSeamlessly test a locally running app when you're developing your appWhen to Use Each CommandWriting Effective PromptsTest 1: Authentication & securityTest 2: Core features (runs in parallel)Test 3: Accessibility (runs in parallel)

来源分类:skills.sh agent-skill

SKILL.md 与 Agent 调用

官方规范 ↗
name
scoutqa-test
description
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 after implementing web application features to verify they work correctly.
  1. 发现技能客户端向 Agent 提供名称与描述目录。
  2. 匹配与调用用户指定或任务匹配后,载入 SKILL.md 指令。
  3. 按需加载按步骤读取参考文档、使用脚本与素材。

具体调用语法与可用工具以目标 Agent 客户端为准。 查看调用机制说明 ↗

安装这个技能

Skills CLI ↗

先选择目标 Agent 和安装范围,保留技能包的附属文件,安装后检查客户端能否发现该技能。

交给 Agent 安装

复制安装指令给支持 Agent Skills 的代理,确认其中的目标目录与客户端匹配。

把 Agent Skill「scoutqa-test」安装到我的项目:SKILL.md 原文与官方 description 见 https://zicq.com/zh/skills/skl-a61cf1e19f623cb6-%E7%AB%A5%E5%86%9B-%E6%B5%8B%E8%AF%95.html
请存为 .cursor/skills/scoutqa-test/SKILL.md 或 .claude/skills/scoutqa-test/SKILL.md,frontmatter 的 name 与 description 保持原样,不要改写。

GitHub 完整包 ↗

终端安装 · Skills CLI

需要 Node.js 与 npx。先查看仓库技能列表,确认实际名称。

npx skills add 'https://github.com/github/awesome-copilot' --list

npx skills add 'https://github.com/github/awesome-copilot' --skill 'scoutqa-test'

CLI 会交互选择目标 Agent,默认安装到项目;用户级安装使用 -g。先通过查看命令核对仓库内容,再用 npx skills list 检查已安装技能。

阅读排版
--- name: scoutqa-test description: '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 after implementing web application features to verify they work correctly.' --- # 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: 1. **User requests testing** - When the user explicitly asks to test a website or verify functionality 2. **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 `timeout` command) - 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 `timeout` which 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 ```bash 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 (supports `localhost` / `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. ```bash # 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 ` **Finding issue IDs from an execution?** → Use `scoutqa list-issues --execution-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** ```bash scoutqa --url "https://example.com" --prompt " Explore the user registration flow. Test form validation edge cases, verify error handling, and check accessibility compliance. " ``` **Example: E-commerce checkout** ```bash scoutqa --url "https://shop.example.com" --prompt " Test the checkout flow. Verify pricing calculations, cart persistence, payment options, and mobile responsiveness. " ``` **Example: Running parallel tests for comprehensive coverage** Launch multiple tests in parallel by making multiple Bash tool calls in a single message, each with the Bash tool's `timeout` parameter set to `5000` (milliseconds): ```bash # Test 1: Authentication & security scoutqa --url "https://app.example.com" --prompt " Explore authentication: login/logout, session handling, password reset, and security edge cases. " # Test 2: Core features (runs in parallel) scoutqa --url "https://app.example.com" --prompt " Test dashboard and main user workflows. Verify data loading, CRUD operations, and search functionality. " # Test 3: Accessibility (runs in parallel) scoutqa --url "https://app.example.com" --prompt " Conduct accessibility audit: WCAG compliance, keyboard navigation, screen reader support, color contrast. " ``` **Implementation**: Send a single message with three Bash tool calls. For each Bash tool invocation, set the `timeout` parameter to `5000` milliseconds. After 5 seconds, each Bash call returns with a task ID while the processes continue running in the background. This captures the execution ID and browser URL from each test in the initial output, then all three continue running in parallel (both as background tasks locally and remotely on ScoutQA's infrastructure). **Key guidelines:** - Describe **what to test**, not **how to test** (ScoutQA figures out the steps) - Focus on goals, edge cases, and concerns - Run multiple parallel executions for different test areas - Trust ScoutQA to autonomously explore and discover issues - Always set the Bash tool's `timeout` parameter to `5000` milliseconds when calling scoutqa commands (this returns control after 5 seconds while the process continues in the background) - For parallel tests, make multiple Bash tool calls in a single message - Remember: Bash tool timeout ≠ Unix timeout command (Bash timeout continues the process in background, Unix timeout kills it) ### Common Test Scenarios **Post-deployment smoke test:** ```bash scoutqa --url "$URL" --prompt " Smoke test: verify critical functionality works after deployment. Check homepage, navigation, login/logout, and key user flows. " ``` **Accessibility audit:** ```bash scoutqa --url "$URL" --prompt " Audit accessibility: WCAG 2.1 AA compliance, keyboard navigation, screen reader support, color contrast, and semantic HTML. " ``` **E-commerce testing:** ```bash scoutqa --url "$URL" --prompt " Explore e-commerce functionality: product search/filtering, cart operations, checkout flow, and pricing calculations. " ``` **SaaS application:** ```bash scoutqa --url "$URL" --prompt " Test SaaS app: authentication, dashboard, CRUD operations, permissions, and data integrity. " ``` **Form validation:** ```bash scoutqa --url "$URL" --prompt " Test form validation: edge cases, error handling, required fields, format validation, and successful submission. " ``` **Mobile responsiveness:** ```bash scoutqa --url "$URL" --prompt " Check mobile experience: responsive layout, navigation, touch interactions, and viewport behavior. " ``` **Verification of a known issue:** ```bash # First, find issue IDs from a previous execution scoutqa list-issues --execution-id # Then verify the issue (creates a new verification execution automatically) scoutqa issue-verify --issue-id ``` The `issue-verify` command will: 1. Create a verification execution for the issue 2. Show the execution ID and browser URL 3. Stream the agent's verification progress in real-time 4. Display a completion summary with a link to results **Feature verification (after implementation):** ```bash scoutqa --url "$URL" --prompt " Verify the new [feature name] works correctly. Test core functionality, edge cases, error handling, and integration with existing features. " ``` **Example: Proactive testing after coding a feature** After implementing a user registration form, automatically verify it works: ```bash scoutqa --url "http://localhost:3000/register" --prompt " Test the newly implemented registration form. Verify: - Form validation (email format, password strength, required fields) - Error messages display correctly - Successful registration flow - Edge cases (duplicate emails, special characters, etc.) " ``` This catches issues immediately while the implementation is fresh in context. ## Listing Issues Use `scoutqa list-issues` to browse issues found in a previous execution. This is useful for finding issue IDs to use with `issue-verify`. ```bash scoutqa list-issues --execution-id ``` **Options:** - `--execution-id` (required): Execution ID (from the `/t/` URL or CLI output) **Example output:** ``` Showing 3 issues: 🔴 019c-abc1 Login button unresponsive on mobile Severity: critical | Category: usability | Status: open 🟠 019c-abc2 Missing form validation on email field Severity: high | Category: functional | Status: open 🟡 019c-abc3 Color contrast insufficient on footer links Severity: medium | Category: accessibility | Status: resolved ``` ## Presenting Results ### Immediate Presentation (After Starting Test) Right after running the scoutqa command, present the execution details to the user: ```markdown **ScoutQA Test Started** Execution ID: `019b831d-xxx` View Live: https://app.scoutqa.ai/t/019b831d-xxx The test is running remotely. You can view real-time progress in your browser at the link above while I continue with other tasks. ``` ### Final Results (After Completion) When the execution completes, use this format to present findings: ```markdown **ScoutQA Test Results** Execution ID: `ex_abc123` **Issues Found:** [High] Accessibility: Missing alt text on logo image - Impact: Screen readers cannot describe the logo - Location: Header navigation [Medium] Usability: Submit button not visible on mobile viewport - Impact: Users cannot complete form on mobile devices - Location: Contact form, bottom of page [Low] Functional: Search returns no results for valid queries - Impact: Search feature appears broken - Location: Main search bar **Summary:** Found 3 issues across accessibility, usability, and functional categories. See full interactive report with screenshots at the URL above. ``` Always include: - **Execution ID** (e.g., `ex_abc123`) for reference - **Issues found** with severity, category (accessibility, usability, functional), impact, and location ## Following Up on Stuck Executions If the remote agent gets stuck or needs clarification, use `send-message` to continue: ```bash # Example: Agent is stuck at login, user provides credentials scoutqa send-message --execution-id ex_abc123 --prompt " Use these test credentials: username: [email protected], password: TestPass123 " # Example: Agent asks which flow to test next scoutqa send-message --execution-id ex_abc123 --prompt " Focus on the checkout flow next, skip the wishlist feature " ``` ## Checking Test Results ScoutQA tests run remotely on ScoutQA's infrastructure. After starting a test with a short timeout to capture the execution ID: 1. The test continues running remotely (not locally in background) 2. You can continue other work immediately 3. To check results later, visit the browser URL provided when the test started 4. Alternatively, use `scoutqa get-execution --execution-id ` to fetch results via CLI **Best practice**: Start tests by setting the Bash tool's `timeout` parameter to `5000` milliseconds. After 5 seconds, the Bash tool returns control with a task ID and the execution details (execution ID and browser URL) while the test continues running in the background. You can then continue other work and check results on ScoutQA's website or via CLI when needed. ## Troubleshooting | Issue | Solution | | ------------------------------ | ----------------------------------------------------------- | | `command not found: scoutqa` | Install CLI: `npm i -g @scoutqa/cli@latest` | | Auth expired / unauthorized | Run `scoutqa auth login` | | Test hangs or needs input | Use `scoutqa send-message --execution-id` | | Check test results | Visit browser URL or `scoutqa get-execution --execution-id` | | Need issue ID for verification | Run `scoutqa list-issues --execution-id ` |

相关技能

Agent 工作流

技能创建者Skill Creator

创造有效技能指南。 当用户想创造出新的技能(或更新现有的技能),以专业知识,工作流程,或工具集成来扩展克洛德的能力时,应该使用这种技能.

Agent 工作流

克劳德胡布Clawdhub

使用ClawdHub CLI搜索,安装,更新并发布从taladhub.com的代理技能. 需要获取苍蝇上的新技能时使用,将安装的技能同步到最新版本或特定版本,或者发布 npm-instainddhub CLI 的新/更新的技能文件夹.

Agent 工作流

团队指挥Agent Team Orchestration

管弦乐团多代理团队,任务设定周期,交接协议,审查工作流程. 使用时间: (1)建立2+特派员队伍,具有不同专业,(2)确定任务路线和生命周期(收录框_ spec_建设_审查_完成),(3)在特派员之间制定交接协议,(4)建立审查和质量关口,(5)管理特派员之间的交流和文物共享.

Agent 工作流

超级力量Superpowers

Spec-first,TDD,子代理驱动的软件开发工作流程. 当:(1)构建任何新功能或应用——触发脑暴_计划_子代理执行回路,(2)调试出一个bug或测试失败——触发系统性的根起过程,(3)用户说"让我们构建","帮助我计划","我想添加X",或"这个被打破",(4)完成一个功…