scoutqa-test
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.
What this skill does
# 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 <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** ```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. " ``` **V
Related in Code Review
gstack
IncludedFast headless browser for QA testing and site dogfooding. Navigate pages, interact with elements, verify state, diff before/after, take annotated screenshots, test responsive layouts, forms, uploads, dialogs, and capture bug evidence. Use when asked to open or test a site, verify a deployment, dogfood a user flow, or file a bug with screenshots. (gstack)
startup-due-diligence
IncludedLegal due diligence review for seed-stage and Series A startups (US, Delaware C-Corp focus). Supports both investor and founder perspectives. Capabilities include: (1) Interactive document review and issue spotting; (2) Document request list generation; (3) Cap table and SAFE/convertible note analysis; (4) Red flag identification with severity ratings; (5) Diligence report generation. TRIGGERS: due diligence, DD, startup investment, cap table review, Series A, seed round, investor diligence, legal review startup, SAFE analysis, convertible note, 409A, founder vesting.
interview-master
IncludedThis skill should be used when the user asks to "generate interview questions", "prepare for interview", "optimize resume", "conduct mock interview", "analyze git commits for resume", "generate resume from code", "review my resume", or mentions interview preparation, career assistance, or extracting project experience from git history. Provides comprehensive interview and career development guidance for both job seekers and interviewers.
fix-issue
IncludedFixes GitHub issues using parallel analysis agents for root cause investigation, code exploration, and regression detection. Reads issue context from gh CLI, searches codebase and memory for related patterns, generates a fix with tests, and links the resolution back to the issue via PR. Includes prevention analysis to avoid recurrence. Use when debugging errors, resolving regressions, fixing bugs, or triaging issues.
sf-apex
IncludedGenerates and reviews Salesforce Apex code with 150-point scoring. TRIGGER when: user writes, reviews, or fixes Apex classes, triggers, test classes, batch/queueable/schedulable jobs, or touches .cls/.trigger files. DO NOT TRIGGER when: LWC JavaScript (use sf-lwc), Flow XML (use sf-flow), SOQL-only queries (use sf-soql), or non-Salesforce code.
swift-development
IncludedComprehensive Swift development for building, testing, and deploying iOS/macOS applications. Use when Claude needs to: (1) Build Swift packages or Xcode projects from command line, (2) Run tests with XCTest or Swift Testing framework, (3) Manage iOS simulators with simctl, (4) Handle code signing, provisioning profiles, and app distribution, (5) Format or lint Swift code with SwiftFormat/SwiftLint, (6) Work with Swift Package Manager (SPM), (7) Implement Swift 6 concurrency patterns (async/await, actors, Sendable), (8) Create SwiftUI views with MVVM architecture, (9) Set up Core Data or SwiftData persistence, or any other Swift/iOS/macOS development tasks.