WAY 0 — prepare the current project for QA QualiGate — test runner in qa-artifacts/, issue tracker and code host (GitLab, GitHub, Jira, Azure DevOps, Bitbucket), per-project .env values, access check. Use when the user says "qa setup", "set up qa", "init qa agent", or when another WAY finds qa-artifacts/ or its settings missing.
5 stars
0 votes
0 copies
6 views
Added October 12, 2026
testingazuretestinggitapidevops
Works with
api
mcp
Security analysis
A92/100
mediumInstalls packages at runtime which could introduce malicious dependencies
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Qa Setup?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/ghassenazzouz-qa-setup)
---
name: qa-setup
description: WAY 0 — prepare the current project for QA QualiGate — test runner in qa-artifacts/, issue tracker and code host (GitLab, GitHub, Jira, Azure DevOps, Bitbucket), per-project .env values, access check. Use when the user says "qa setup", "set up qa", "init qa agent", or when another WAY finds qa-artifacts/ or its settings missing.
---
# WAY 0 — QA Setup
Run once per project. Ask before changing anything that already exists.
## 1. Test runner → `qa-artifacts/`
- If `qa-artifacts/playwright.config.ts` is missing, copy `${CLAUDE_PLUGIN_ROOT}/runner-template/` (`package.json`, `playwright.config.ts`, `README.md`) into it
- If a config already exists, compare it with the **Playwright config contract** in `test-execution-agent` and list the differences. Don't overwrite it
- From `qa-artifacts/`: `npm install`, then `npx playwright install chromium`. Report `npx playwright --version`
- For WAY 18 (exploratory) only, install the Playwright MCP's own browser: `npx -y @playwright/mcp@0.0.83 install-browser chrome-for-testing`
## 2. Providers
Ask, or detect from `git remote -v` and the connected MCP servers, then confirm:
- **Issue tracker** (`QA_TRACKER`): `gitlab` · `github` · `jira` · `azure-devops`
- **Code host / CI** (`QA_CODE_HOST`): `gitlab` · `github` · `azure-devops` · `bitbucket`
## 3. Project values → `.env` (project root)
Add only the keys for the chosen providers, keep existing values, and ask for each one (or leave it empty with a comment):
```
QA_TRACKER=github
QA_CODE_HOST=github
STAGING_URL=
PROD_URL=
FEATURE_BASE_URL= # preview apps: FEATURE_BASE_URL/<branch>
API_TEST_TOKEN= # test-account token for API tests, never a real user's
UI_TEST_USER= # optional test account for signed-in UI regressions and WAY 18 exploration
UI_TEST_PASSWORD=
API_TEST_TOKEN_B= # optional second test account (WAY 17 ownership workflows)
# <SERVICE>_BASE_URL= / <SERVICE>_TOKEN= # E2E API only, one pair per service (ORDERS_BASE_URL…)
API_PERF_THRESHOLD_MS=2000
# gitlab GITLAB_PROJECT_ID= (token: plugin settings, or .mcp.json from a clone)
# github GITHUB_REPO=owner/repo (auth: `gh auth login`)
# jira JIRA_BASE_URL= JIRA_PROJECT_KEY= JIRA_EMAIL= JIRA_API_TOKEN= (or a connected Atlassian MCP server)
# azure-devops AZDO_ORG_URL= AZDO_PROJECT= AZDO_REPO= AZURE_DEVOPS_EXT_PAT=
# bitbucket BITBUCKET_WORKSPACE= BITBUCKET_REPO= BITBUCKET_EMAIL= BITBUCKET_API_TOKEN=
```
Never echo secret values back. Make sure `.gitignore` covers `.env` and `qa-artifacts/` (add the missing lines with the user's OK).
## 4. Tools and access
For each chosen provider, check the tool its skill needs:
| Provider | Tool check |
|---|---|
| gitlab | `/mcp` shows the GitLab server connected (plugin: set the URL/token with `/plugin configure qualigate@qa-qualigate`; clone: `.mcp.json`) |
| github | `gh auth status` |
| jira | an Atlassian MCP server connected, **or** the REST settings above |
| azure-devops | `az version` plus the `azure-devops` extension (`az extension add --name azure-devops`) |
| bitbucket | `curl` plus the settings above |
Then run `project.check` (per `tracker` → the provider skill) for the tracker and the code host, and report the project or repo name each returns. On GitHub, offer two one-time setups (`provider-github`): the `tracker` label set, and the `qa-artifacts` prerelease that screenshots are attached to. With that release in place, later WAYs attach screenshots without asking.
## 5. Summary
Print what was created, changed, or skipped, plus a first command to try, e.g. `write it "<a small feature of this app>" App: <STAGING_URL>`.