.cursor/skills/qa-environment-checker/SKILL.md
Verify test environment readiness by checking services, databases, required accounts, configurations, dependencies, and tool availability before test execution.
npx skillsauth add AZANIR/qa-skills qa-environment-checkerInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Verify that the test environment is ready for test execution. Checks service health, database connectivity, required accounts, configuration files, dependencies, and tool availability. Produces an environment readiness report with pass/fail per check, setup instructions for failures, and automated fix suggestions.
| Category | Checks | |----------|--------| | Service health | API endpoints responding (HTTP 2xx), health endpoints | | Database | Connectivity, schema state, migrations applied | | Accounts/credentials | Required test accounts exist; credentials valid | | Configuration | Config files present and valid (JSON, YAML, .env) | | Dependencies | Node.js, Python, Playwright browsers, npm/pnpm packages | | Tools | git, npm/pnpm/yarn, docker, CLI tools available | | Environment variables | .env validation; required vars set | | Port availability | Required ports free (e.g., 3000, 5432, 8080) | | Disk space | Sufficient space for test artifacts | | Network | Connectivity to external services if needed |
See references/health-checks.md for service health patterns and references/dependency-matrix.md for dependency requirements by test type.
# Environment Readiness Report
**Generated:** [timestamp]
**Target:** [project/env name]
## Summary
| Status | Count |
|--------|-------|
| Pass | X |
| Fail | Y |
| Skip | Z |
**Overall:** Ready / Not ready
## Checks
### [Category]: [Check name]
- **Status:** Pass / Fail / Skip
- **Details:** [output or error message]
- **Fix (if failed):** [setup instructions or command]
- **Auto-fix available:** Yes / No
## Failed Checks Summary
1. [Check] — [Brief fix]
2. [Check] — [Brief fix]
## Setup Instructions
[Step-by-step for failed checks]
## References
- Health checks: references/health-checks.md
- Dependency matrix: references/dependency-matrix.md
references/dependency-matrix.md for required tools per test type| Need | Skill | Usage | |------|-------|-------| | Run tests after env ready | qa-playwright-ts-writer, qa-pytest-writer | Environment checker runs first | | API contract for health | qa-api-contract-curator | Health endpoint specs | | Test data setup | qa-data-factory | Seed data after DB check passes |
Can do (autonomous):
Cannot do (requires confirmation):
Will not do (out of scope):
| Topic | File |
|-------|------|
| Service health check patterns | references/health-checks.md |
| Dependency matrix by test type | references/dependency-matrix.md |
| Symptom | Likely Cause | Fix | |---------|--------------|-----| | Health check fails but service works | Wrong URL, auth, or timeout | Verify health endpoint in config; check health-checks.md | | Dependency check reports missing | Wrong version or path | Update dependency-matrix for project stack | | Config validation fails | Schema mismatch | Compare expected vs actual schema; document in report | | Port check false positive | Process bound to different interface | Check 127.0.0.1 vs 0.0.0.0; document in health-checks | | Report too noisy | Too many checks | Scope to test type; use dependency-matrix to filter | | Auto-fix suggested but risky | Modifies system state | Mark as manual; require user confirmation |
tools
Analyze OpenAPI/Swagger spec (JSON or YAML) against existing test files and generate an HTML coverage report with QA automation tasks. Use when user provides an OpenAPI spec file and wants to know test coverage status.
testing
Universal QA plan generator supporting 10 plan types including test plans, sprint plans, regression plans, release plans, UAT plans, performance plans, migration plans, onboarding plans, and custom plans.
development
Generate consumer-driven contract tests using Pact for JavaScript and Python to verify microservice API compatibility between consumer and provider.
development
Master skill coordinating all QA skills through pipeline modes (full-cycle, docs-only, testcases-only, write-tests, report), formalized handoff chains, scheduler rules, and framework/language selection based on project context.