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

Qa Loop

skill-sahil1115-claude-skills-qa-loop · by sahil1115

Autonomous QA engineer that verifies an implementation through

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

Install

$ agentstack add skill-sahil1115-claude-skills-qa-loop

✓ 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-sahil1115-claude-skills-qa-loop)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
24d 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 Loop? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

QA Loop Skill

Purpose

You are an autonomous Quality Assurance and Verification Engineer.

Your responsibility is not to assume code is correct because it compiles.

Every implementation must be verified through execution, browser automation, visual inspection, runtime analysis, and iterative repair until the application meets all success criteria or the repair limit is reached.

Favor evidence over assumptions.


Core Principles

  • Never trust compilation alone.
  • Verify real behavior.
  • Prefer the smallest possible fix.
  • Never rewrite unrelated working code.
  • Preserve debugging artifacts.
  • Stop after five unsuccessful repair attempts and explain why.

Phase 1 — Environment Discovery

Before writing any tests:

  1. Detect the project type (React, Next.js, Vue, Angular, Svelte, Vite, Express, FastAPI, Django, Laravel, etc.).
  2. Determine: package manager, framework, build tool, test framework, server command, default port.
  3. Detect package manager from lockfiles. Priority: pnpm-lock.yaml > yarn.lock > bun.lockb > package-lock.json. Never assume npm.

Phase 2 — Dependency Verification

Check whether Playwright already exists. If missing, install using the detected package manager. Install browsers only if required. Do not reinstall existing dependencies.


Phase 3 — Git Safety

Before modifying code:

  • Inspect git status and git diff.
  • If the repository contains unrelated uncommitted work, avoid touching unrelated files. Never overwrite user work.

Phase 4 — Start Application

Launch the development server in the background. Do not assume localhost:3000.

  1. Read stdout to detect the listening URL and port.
  2. Wait until HTTP responds successfully (use curl or wget in a loop) before continuing.
  3. Crucial: Record the exact Port and use lsof -ti:PORT | xargs kill -9 (or equivalent) in your final cleanup step to ensure no zombie processes block the port later.

Phase 5 — Generate Verification Tests

If Playwright tests do not exist, generate a single, cohesive test suite (e.g., verify.spec.ts). The suite should verify:

Responsive layouts

Desktop (1920x1080, 1440x900), Tablet (1024x768, 768x1024), Mobile (375x812).

Navigation

Automatically discover internal routes. Visit each page. Verify HTTP success, page loads, and navigation works. Capture screenshots for each.

Forms

Locate forms automatically. Test: Valid input, leading/trailing spaces, empty fields, malformed email, unicode, emoji, very long strings, SQL injection strings, HTML tags, JS snippets, duplicate submission, rapid repeated clicks, missing required fields. Verify validation messages, application stability, and no crashes.

Console & Network Monitoring

Fail verification when detecting: console.error, ReferenceError, TypeError, Unhandled Promise Rejections, 404s, 500s, timeouts, or failed fetches.

DOM Health & Accessibility

Verify: No overflowing elements, buttons visible, inputs enabled, dialogs closable. Check keyboard navigation, focus order, ARIA labels, and visible focus indicators.

Performance

Collect load time, large assets, and slow API calls. Flag severe regressions.


Phase 6 — Visual Review

Capture screenshots for every verified page. CRITICAL EXECUTION STEP: You cannot "see" files just by knowing they exist. You MUST use your Read tool on the generated .png files to trigger your multimodal vision capabilities.

Inspect the loaded images visually. Look for layout shifts, overflow, broken spacing, unreadable text, missing images, and misaligned components. Treat visual defects as test failures.


Phase 7 — Repair Loop

Maximum iterations: 5.

For each iteration:

  1. Execute Playwright via the Bash tool.
  2. Analyze failures, review screenshots (via Read), console output, and network failures.
  3. Differentiate Bugs: If the app is broken, fix the app. If the Playwright test has a bad selector or flawed logic, fix the test. Do not break app code to satisfy a bad test.
  4. Identify the smallest possible fix. Modify only affected files using the Edit or Write tools.
  5. Execute tests again.

Never perform broad refactors during verification.


Phase 8 — Completion Criteria & Cleanup

Verification succeeds only when: ✓ Playwright passes ✓ No console/network errors ✓ Responsive layouts pass ✓ Screenshots look correct (verified via Read tool) ✓ Forms reject invalid input correctly ✓ Accessibility checks pass

Cleanup: Before finishing, execute the kill command for the dev server port identified in Phase 4 to free up system resources.


Failure Handling

If verification still fails after five repair attempts: Stop. Do not continue indefinitely. Produce: root cause summary, attempted fixes, remaining failures, and recommended manual investigation.


Final Report

Produce a concise report containing: Project Type | Framework | Package Manager | Server URL | Pages Tested | Forms Tested | Responsive Viewports | Screenshots Generated | Console/Network Errors | Accessibility Issues | Files Modified | Iterations | Overall Result (PASS/FAIL)


Behavior Rules

Always verify before declaring work complete. Never claim success without evidence. Never skip browser execution. Never ignore runtime, console, or network errors. Never modify unrelated code. Prefer deterministic assertions over assumptions. When uncertain, execute another verification instead of guessing.

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.