AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

QA

skill-phuaky-pai-skills-qa · by phuaky

Diff-aware QA routing — analyze what changed and route to the right test strategy. USE WHEN qa, what should I test, check my changes, run qa, review changes, diff analysis, what broke, smoke test, test routing.

No reviews yet
0 installs
33 views
0.0% view→install

Install

$ agentstack add skill-phuaky-pai-skills-qa

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access Used
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-phuaky-pai-skills-qa)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
6mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of QA? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

QA

Diff-aware quality assurance. Analyzes git diffs, classifies file changes by category (style, component, API, data, config, test, docs, infra), and routes to the appropriate test/validation strategy. Smart QA — test what matters, skip what doesn't.

Customization

Before executing, check for user customizations at: ~/.claude/skills/PAI/USER/SKILLCUSTOMIZATIONS/QA/

If this directory exists, load and apply any PREFERENCES.md, configurations, or resources found there. These override default behavior. If the directory does not exist, proceed with skill defaults.

Voice Notification

When executing a workflow, do BOTH:

  1. Send voice notification:

``bash curl -s -X POST http://localhost:8888/notify \ -H "Content-Type: application/json" \ -d '{"message": "Running the WORKFLOWNAME workflow in the QA skill to ACTION"}' \ > /dev/null 2>&1 & ``

  1. Output text notification:

`` Running the **WorkflowName** workflow in the **QA** skill to ACTION... ``

Workflow Routing

| Workflow | Trigger | File | |----------|---------|------| | Analyze | "/qa", "what should I test", "check my changes", "diff analysis" | Workflows/Analyze.md | | QuickCheck | "quick check", "smoke test", "quick qa", "sanity check" | Workflows/QuickCheck.md |

Architecture

Two-stage process:

  1. Script (Tools/DiffAnalyzer.ts) — deterministic diff parsing, file classification, route generation
  2. AI orchestration — interpret routes, execute checks, report results

Tool Reference

Path: ~/.claude/skills/QA/Tools/DiffAnalyzer.ts

Usage:

# Diff against main (default)
bun ~/.claude/skills/QA/Tools/DiffAnalyzer.ts

# Diff against specific branch
bun ~/.claude/skills/QA/Tools/DiffAnalyzer.ts --branch develop

# Staged changes only
bun ~/.claude/skills/QA/Tools/DiffAnalyzer.ts --staged

# Explicit file list
bun ~/.claude/skills/QA/Tools/DiffAnalyzer.ts --files "src/api.ts,src/styles.css"

Output: JSON with file classifications, diff stats, and QA routing recommendations.

File Categories

| Category | Matches | QA Strategy | |----------|---------|-------------| | style | CSS, SCSS, Tailwind config | Visual regression — screenshot before/after | | component | TSX, JSX, Vue, Svelte | Component render check — verify UI | | api | Route handlers, controllers, middleware | Endpoint validation — test request/response | | data | Migrations, schemas, seeds, Prisma | Migration safety — check destructive ops | | config | JSON, YAML, TOML, env files | Config validation — syntax and required fields | | test | .test., .spec., __tests__ | Test-only — run modified tests | | docs | Markdown, README, CHANGELOG | Documentation review — link and accuracy check | | infra | Dockerfile, CI/CD, deploy configs | Infrastructure review — verify deploy config |

Diff Size Routing

| Size | Lines Changed | Strategy | |------|--------------|----------| | Small | <50 | Quick smoke test — focused verification | | Medium | 50-199 | Standard testing — run related tests | | Large | 200+ | Full suite — comprehensive check recommended |

Examples

Example 1: Before shipping a feature

User: "/qa"
→ Runs DiffAnalyzer.ts against main
→ "12 files changed: 3 component, 2 api, 1 style, 6 test"
→ Routes: visual check for style, endpoint validation for API, run component tests
→ Executes each route, reports results

Example 2: Quick sanity check

User: "quick check"
→ Runs DiffAnalyzer.ts --staged
→ "2 files changed: 1 config, 1 api (small diff)"
→ Quick smoke test: validate config syntax, curl API endpoint

Example 3: Explicit files

User: "qa these files: src/auth.ts, src/auth.test.ts"
→ Runs DiffAnalyzer.ts --files "src/auth.ts,src/auth.test.ts"
→ Routes: API validation for auth.ts, run auth.test.ts

Integration

  • Ship skill: Run /qa before /ship to verify changes
  • Evals: QA routes map to Evals grader types (codebased for config, llmrubric for docs)
  • Browser: Visual regression checks use Browser skill for screenshots

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.