Skip to content
Back to skills

Write Tests

ASecurity

WAY 4 — write test cases only, no execution. Use when the user says "write it", "write tests", "generate test cases" — requirements (text or a tracker issue), optional App/Spec/MR or PR → test files + test-plan issue.

  • 2 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added October 12, 2026
testingapi

Works with

  • api

Security analysis

A100/100

Scanned October 12, 2026

npx -y skills add GhassenAZZOUZ/claude-qa-agent --skill write-tests --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Write Tests?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Write Tests
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ghassenazzouz-write-tests/badge)](https://www.skillsdirectory.com/skills/ghassenazzouz-write-tests)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: write-tests
description: WAY 4 — write test cases only, no execution. Use when the user says "write it", "write tests", "generate test cases" — requirements (text or a tracker issue), optional App/Spec/MR or PR → test files + test-plan issue.
---

# WAY 4 — Write Test Cases Only

## Step 1: Gather inputs
**Required (ask if missing):** requirements, as plain text or an issue ref/URL (fetched with `issue.get`, per the `tracker` skill).
**Optional:** `App:` (feature URL, adds UI context to step wording) · `Spec:` (OpenAPI URL, adds API scenarios) · `MR:`/`PR:` (the change request to comment the plan on) · `visual: true`.

## Phase 1: Check requirements
If the issue has a **Missing Information** section with unanswered questions, ask the user before writing anything.

## Phase 2: Write & file
1. Run `test-writer` for `ui` scenarios. If `Spec:` was given, run it again for `api` scenarios (two runs of the same agent)
2. Both write `Test#<nn>` triples under `./qa-artifacts/test-cases/[feature]-[YYYY-MM-DD]/` plus the index `.md`, with `**Source:**`/`**Covers:**` traceability lines
3. File a `test-plan` issue with the index content (`issue.create`)
4. If `MR:`/`PR:` was given, comment the test plan summary on it (`change.comment`)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.