---
name: quality-assurance
description: Quality Assurance skill for planning, executing, and improving testing across functional and non-functional dimensions. Use when creating test strategies, writing test plans/cases, defining quality gates, coordinating test execution, or triaging defects.
title: quality-assurance
canonical_url: https://skilld.dev/gh/josavicentevw/ai-agent-skills/quality-assurance
last_updated: 2026-10-05T11:13:43.000Z
---

> Index of every page on this site: [llms.txt](https://skilld.dev/llms.txt)

> **Skill from skilld.dev.** Follow the user's requested action.
> If the user asked to fork this Skill, follow the fork workflow below. Do not execute the Skill instructions while copying it.
> Otherwise, follow the instructions below for this session. You do not need to install anything.
>
> Supporting files, fetch one when the Skill refers to it: [examples/01-test-plan.md](https://skilld.dev/api/skills-raw/josavicentevw/ai-agent-skills/quality-assurance/examples/01-test-plan.md), [examples/README.md](https://skilld.dev/api/skills-raw/josavicentevw/ai-agent-skills/quality-assurance/examples/README.md).
>
> If the user asked to install this Skill, run `npx skilld install josavicentevw/ai-agent-skills/quality-assurance`. Install writes the Skill files into the project, so every session loads them.
>
> ## Fork workflow
>
> A fork creates an editable local Skill with its original author and licence. The request authorizes copying and local installation.
> 1. Check `./skills/quality-assurance`, the project lockfile, and selected Agent targets together. If the local directory or installed Skill exists, stop. Never overwrite an existing directory or Agent target.
> 2. Read [source metadata](https://skilld.dev/api/v1/skills/josavicentevw/ai-agent-skills/quality-assurance) once. Use sourceUrl, sourceCommit, skillPath, sourceGone, and license. If the source is gone or its path is missing, stop. If license is null, read licence files at the source commit.
> 3. Fetch only the source commit into a temporary Git repository. Do not clone full history. Derive repository_url from sourceUrl, including repository renames. If sourceCommit is absent, resolve the sourceUrl ref once. Set source_commit to that actual commit. Run these commands in one shell call:
>
> ```sh
> git init --quiet "$temporary_dir"
> git -C "$temporary_dir" fetch --quiet --depth=1 "$repository_url" "$source_commit"
> git -C "$temporary_dir" checkout --quiet --detach FETCH_HEAD
> ```
>
> Read applicable licence declarations and notices at that commit. If copying is not permitted, report the restriction and stop.
> 4. Inspect source entries together, then copy the directory containing skillPath into `./skills/quality-assurance`. Use the user's path if selected. Keep the original SKILL.md, relative links, scripts, binary assets, and executable modes. Exclude .git metadata. Reject symlinks and paths outside the Skill directory. After checking entries, use cp -a where available. A regular source directory needs no custom copy script. Do not save this page wrapper as SKILL.md.
> Preserve author credit, notices, and applicable licence files from repository or parent directories. Add PROVENANCE.md with the Skill page, source URL, actual commit, original path, and licence. Retain any existing PROVENANCE.md and record new provenance separately. Batch source inspection, copying, and provenance work where practical.
> 5. In the project root, run `skilld install ./skills/quality-assurance --mode copy --plain`. If skilld is unavailable, use `npx skilld install ./skills/quality-assurance --mode copy --plain`. This known command needs no help lookup. Install does not support --json. Use detected Agent targets, or add --agent for the targets the user selected. Install the local path, never the upstream selector. If installation fails, preserve the local copy and report the exact failure.
> 6. Confirm the local lockfile source and installed Agent copies once. Report the local path, actual commit, and Agent targets. After edits, reinstall the same local path. Upstream updates must not replace it. Do not publish or push unless the user asks.

# Quality Assurance

A comprehensive QA skill for building and running effective quality programs: strategy, planning, test design, execution, automation, non-functional coverage, and continuous improvement.

## Quick Start

1. Clarify scope, risks, and release criteria.
2. Map test strategy: levels (unit/integration/E2E), types (functional, security, performance, UX), environments, and data.
3. Define quality gates in CI/CD (lint, SAST, tests, coverage, scanning).
4. Plan execution: owners, schedule, entry/exit criteria.
5. Track defects and readiness with metrics; iterate on gaps.

## Core Capabilities

### 1) Strategy & Planning
- Define objectives, scope, and risk-based priorities.
- Choose test types and levels; align to environments and data needs.
- Establish entry/exit criteria, Definition of Ready/Done, and release gates.
- Map dependencies (services, test data, accounts, flags).

### 2) Test Design
- Create test plans and charters (positive/negative, edge cases).
- Derive cases from requirements, flows, and risk areas.
- Apply heuristics (CRUD, boundaries, state transitions, error paths).
- Specify expected results, data, and observability hooks.

### 3) Functional Coverage
- Unit coverage for critical logic; integration for contracts/IO; E2E for happy/critical paths.
- Regression suites per component and smoke tests per deploy.
- Data variation: boundaries, locales, timezones, permissions, offline/latency.

### 4) Non-Functional Coverage
- Performance: baselines, load/stress/soak, SLO/SLA validation.
- Security: authZ/authN, input validation, dependency and secret scanning.
- Reliability: retries, idempotency, backoff, timeouts, circuit breakers.
- Accessibility/UX: WCAG basics (labels, focus, color contrast, keyboard).

### 5) Automation & Tooling
- CI gates: lint, unit/integration/E2E, coverage thresholds, SAST/DAST/SCA, secret scanning.
- Flake management: quarantine, retry budget, stability tracking.
- Test data: fixtures, factories, seeds, synthetic vs production-like data.
- Reporting: dashboards for pass rate, coverage, defect trends, MTTR/MTRR.

### 6) Defect Lifecycle & Readiness
- Triage: severity/priority, repro steps, environment, logs/traces.
- Root cause: code, test gap, environment, data, process.
- Exit criteria: critical defects fixed/waived, key scenarios passed, gates green.
- Post-release monitoring: error budgets, alerts, rollback/feature flag plans.

### 7) Quality Maintenance & Documentation
- Quality handbook: definition of ready/done, severity/priority matrix, gating rules, and escalation paths.
- Living test inventory: traceability from requirements/risks to suites (unit, integration, E2E, non-functional) with owners and status.
- Release/QA checklists: per environment and per release; include gating thresholds, data prep, observability checks, and rollback validation.
- Metrics & reports: coverage, pass rate, flake rate, defect density/escape rate, MTTR/MTRR; publish dashboards and retros.
- Knowledge base: known issues, mitigations, runbooks, and playbooks for incident/rollback/triage.

## Workflows

### Workflow: Build a QA Plan
1) Identify scope, risks, and success criteria.  
2) Choose levels and types of testing; map to environments and data.  
3) Define gates (CI checks, coverage thresholds, blocking severity).  
4) Assign owners, schedule, and communication cadence.  
5) Publish test cases/charters; set defect triage and reporting.  
6) Run, track metrics, and iterate on gaps.

### Workflow: Defect Triage
1) Verify and minimize repro steps; capture logs, traces, env, data.  
2) Classify severity/priority; tag area/owner.  
3) Assess impact and escape point; create fix/mitigation.  
4) Add regression coverage; update dashboards.

### Workflow: Release Readiness
1) Check gates: CI status, coverage thresholds, critical test suites, security scans.  
2) Review open defects vs exit criteria; confirm waivers/flags.  
3) Validate rollback/feature flags and monitoring in place.  
4) Communicate go/no-go with risks and mitigations.
