qa-run
Run QA test suites against the local dev stack using Chrome DevTools and Playwright MCPs. Verifies environment, executes test flows, monitors for network errors, writes results, and creates Linear tickets for failures.
Best use case
qa-run is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Run QA test suites against the local dev stack using Chrome DevTools and Playwright MCPs. Verifies environment, executes test flows, monitors for network errors, writes results, and creates Linear tickets for failures.
Teams using qa-run should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/qa-run/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How qa-run Compares
| Feature / Agent | qa-run | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Run QA test suites against the local dev stack using Chrome DevTools and Playwright MCPs. Verifies environment, executes test flows, monitors for network errors, writes results, and creates Linear tickets for failures.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
## Input
```text
$ARGUMENTS
```
## Step 1: Read Operational Rules
Read `qa/ai-agent-instructions.md` in full. These rules override any assumptions. Pay special attention to:
- Environment setup (section 1)
- MCP priority: Chrome DevTools first, Playwright fallback (section 2)
- Test execution order (section 4)
- Test data setup (section 5)
- Auth state management (section 6)
- Results format (section 7)
- Playwright-specific notes (section 10)
## Step 2: Determine Which Suites to Run
Parse `$ARGUMENTS`:
- **Suite name** (e.g., `auth`, `polst`, `vote`, `social`, `campaign`, `brand`, `user`, `flag`, `studio`, `notif`, `settings`, `nav`, `cross`, `cattag`, `embed`, `metrics`, `og`, `anomaly`, `search`): Run only that suite from `qa/test-plan-ai-agent.md`.
- **`all`**: Run all 19 suites in the recommended execution order from the test plan.
- **Blank/empty**: Auto-detect from changed files. Run:
```bash
git diff --name-only origin/staging
```
Map changed files to suites using [suite-mapping.md](suite-mapping.md). Always include Suite 1 (AF-AUTH) as a prerequisite if any other suite needs it.
## Step 3: Verify Environment
Before running any tests, verify the dev stack is up:
1. **Docker**: `docker ps` — check `backend-postgres-1` and `backend-app-1` are running
2. **Backend**: `curl -s http://localhost:8000/health` or check docker logs for "running on port 8000"
3. **Frontend**: `curl -s http://localhost:3000` — should return HTML
4. **Manager**: `curl -s http://localhost:3001` — should return HTML
5. **Dashboard**: `curl -s http://localhost:3002` — should return HTML
If any service is down, start it:
```bash
cd apps/backend && docker compose up -d
bun run --filter @polst/frontend dev &
bun run --filter @polst/manager dev &
bun run --filter @polst/dashboard dev &
```
6. **Verify .env files** per the table in `qa/ai-agent-instructions.md` section 1. Fix if wrong.
## Step 4: Execute Test Cases
For each selected suite, execute test cases from `qa/test-plan-ai-agent.md`:
1. Follow the **dependency order** — run prerequisite flows first (e.g., AF-AUTH-003 before AF-AUTH-001)
2. Use **Chrome DevTools MCP** as the primary tool:
- `browser_navigate` to load pages
- `browser_snapshot` to inspect DOM
- `browser_click`, `browser_fill_form` for interactions
- `browser_take_screenshot` for visual evidence
- `browser_console_messages` for error monitoring
3. Fall back to **Playwright MCP** only for:
- Multi-step auth flows (register → login → navigate → interact)
- File uploads
- When Chrome DevTools is not available
4. **Monitor network errors** on EVERY page — check console for 4xx, 5xx, CORS errors, uncaught exceptions. Record ALL errors even if not in the test plan.
5. Take screenshots at key verification points.
## Step 5: Write Results
Create results at `qa/results-{date}/results.md` (use today's date in YYYY-MM-DD format).
Include:
- **Summary table**: Suite, Flow ID, Name, Result (PASS/FAIL/SKIP)
- **Detailed results** per flow with verification checklist items checked off
- **Network errors section** — ALL console errors observed, with endpoint, status code, error message
- **Screenshots index** — list of all screenshots taken with descriptions
- **Setup notes** — credentials used, test data created
## Step 6: Create Linear Tickets for Failures
For each FAIL result:
- Create **one Linear ticket per failure** (not batched)
- Team: **Polst**
- State: **Backlog**
- Labels: `claude-ticket`, `needs-review`
- Include: reproduction steps, expected vs actual, screenshot, test case ID
- Only create tickets if the user asks for it or if instructed in `$ARGUMENTS`Related Skills
deploy-watch
Monitor GitHub Actions deploy workflows after merging a PR to staging. Polls until all deploys complete, diagnoses failures, and reports results.
tdd
Red-Green-Refactor test-driven development workflow. Guides the agent through writing failing tests first, then implementing code to pass them, then refactoring while keeping tests green.
linear-audit
Route audit findings to Linear as issues. Reads the most recent audit report from docs/audits/, parses findings at warning severity or above, and creates Linear issues in the project's configured team. Requires Linear MCP server to be available.
document-writer
Document generation skill for creating DOCX, PDF, PPTX, and other formatted documents. Guides structured content creation with proper formatting, headings, tables, and professional presentation.
debugging
Structured debugging workflow: reproduce, isolate, trace, fix, verify. Use when investigating bugs, unexpected behavior, or test failures. Guides systematic root-cause analysis instead of trial-and-error.
code-reviewer
PR review, quality audit, and security checks. Invoke when reviewing code changes before merging or pushing. Performs structured review covering correctness, security, performance, and maintainability.
catholic
Apply reverent, faith-inspired Christian verbiage to non-code artifacts. Invoke when generating specs, plans, task lists, READMEs, or other documentation to infuse them with blessings, gratitude, and references to divine guidance. Never applies to source code or config files.
swe-cli-skills
Senior engineer CLI expertise for AI agents — workflows, safety guardrails, gotchas, and anti-patterns across cloud, IaC, containers, databases, dev tools, and platforms
PicoClaw Fleet
Orchestrate a fleet of remote PicoClaw workers over SSH for fast, ephemeral one-shot tasks.
VibeCollab — Setup Instructions for AI Assistants
You are helping a user set up VibeCollab in their project.
raycast-extension-docs
Guidance for building, debugging, and publishing Raycast extensions using the Raycast documentation set. Use when Codex needs to create or modify Raycast extensions (React/TypeScript/Node), consult Raycast API reference or UI components, build AI extensions, handle manifest/lifecycle/preferences, troubleshoot issues, or prepare/publish extensions to the Raycast Store or Teams.
evomap
Connect to the EvoMap collaborative evolution marketplace. Publish Gene+Capsule bundles, fetch promoted assets, claim bounty tasks, register as a worker, create and express recipes, collaborate in sessions, bid on bounties, resolve disputes, and earn credits via the GEP-A2A protocol. Use when the user mentions EvoMap, evolution assets, A2A protocol, capsule publishing, agent marketplace, worker pool, recipe, organism, session collaboration, or service marketplace.