Skip to content
Back to skills

Qa Docs

ASecurity

[QA Method] Use when a ticket in status Tested or Done needs its documentation (one Jira comment that links its Motion film), or when a sprint's or version's tickets need release notes, or its key stories a Slides deck and/or a film. Called by /qa-test at its Stage 5 docs step; run by hand after /vc-test:qa-ticket. Not for BA analysis or user stories (/ba-analyze) or bug reports (/vc-fix:qa-bug).

  • 2 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added November 9, 2026
documentationgoazuretestingapidocumentation

Works with

  • cli
  • api
  • mcp

Security analysis

A100/100

Pro scans all 6 files and shows the line behind each finding

Scanned November 27, 2026

npx -y skills add VirtoCommerce/vc-mcp-testing-module --skill qa-docs --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Qa Docs?

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

Security grade badge for Qa Docs
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/virtocommerce-qa-docs/badge)](https://www.skillsdirectory.com/skills/virtocommerce-qa-docs)

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: qa-docs
description: "[QA Method] Use when a ticket in status Tested or Done needs its documentation (one Jira comment that links its Motion film), or when a sprint's or version's tickets need release notes, or its key stories a Slides deck and/or a film. Called by /qa-test at its Stage 5 docs step; run by hand after /vc-test:qa-ticket. Not for BA analysis or user stories (/ba-analyze) or bug reports (/vc-fix:qa-bug)."
argument-hint: "<TICKET> [--video [<film-link>]] | release --sprint <SprintXX-XX> [--slides] [--film] | release --version <X.Y.Z> | <sprint> [--notes] [--slides] [--film]"
---

# /qa-docs — the documentation of a tested ticket, and of a sprint

One ticket, one document, one comment. The document has three parts — **What's new**, **How to set it
up**, **How it works** — and is written for everyone who reads the ticket; there are no audience
variants. Its shape is [`template.md`](template.md); what may go into it is [`rules.md`](rules.md); the
screenshots, GIFs and the film are [`media.md`](media.md); the release aggregate is
[`release.md`](release.md).

**Runs in the main session and dispatches no subagent**: it needs a browser lane, the Artifact tool and
the tracker in one place — except the sprint mode, which dispatches its capture walks to lane specialists
([`sprint.md`](sprint.md)). It is an Observer and a Judge under
[`authoring-standard.md`](../../knowledge/agents/authoring-standard.md) §5.2 — it walks the stand and
states how the platform behaves — so it carries the `kb` read step (2) and write step (7); and, in the
sprint mode only, a Dispatcher, whose brief follows
[`agent-dispatch.md`](../../templates/agent-dispatch.md) ([`sprint.md`](sprint.md) §Material).

## Invocations

| Form | Does |
|---|---|
| `/qa-docs <TICKET>` | steps 1–8 below |
| `/qa-docs <TICKET> --video [<film-link>]` | put the film's link into the posted comment — the link given, else `film.url`: [`media.md`](media.md) §Hand-off |
| `/qa-docs release --sprint <S>` · `--version <V>` | the plain aggregate, no question and no stand: [`release.md`](release.md) §Aggregate |
| `/qa-docs <sprint>` [`--notes`] [`--slides`] [`--film`] · `release --sprint <S> --slides` / `--film` | the sprint mode — release notes, slides and/or a film of the sprint's key stories: [`sprint.md`](sprint.md) |

An argument that is not a ticket key and names a sprint (`sprint26-22`, `Sprint 26-22`, `26-22`) is the
sprint mode; read [`sprint.md`](sprint.md) and follow it instead of the steps below. `release --sprint <S>`
with no flag, or with `--notes` alone, is **not** the sprint mode: it keeps the plain aggregate, as it did
before the sprint mode existed.

`/qa-test` calls `/qa-docs <TICKET>` at its docs step, after the status hop, when the ticket ends in Tested or
Done. `/vc-test:qa-ticket` does not call it — QA runs it by hand when the ticket needs documentation.

## Steps

1. **Read the run and the ticket.** Bind the run folder (`npm run --silent run:dir -- --ticket <TICKET>`,
   [`run-output.md`](../../knowledge/execution/run-output.md)). Input, either kind:
   - a `/qa-test` run — `summary.json` + `testing-checklist.md`;
   - a `/vc-test:qa-ticket` run — `verdict.json` + `testing-checklist.md` (no `summary.json`, no probed
     versions: §Shipped in in [`rules.md`](rules.md) takes them at capture time).

   Read the ticket's **status live** from the tracker ([`tracker-ops.md`](../../knowledge/execution/tracker-ops.md) §2).
   Refuse, write nothing, and say why, when:

   | Refusal | When |
   |---|---|
   | `no-run` | the bound folder lacks `testing-checklist.md` plus `summary.json` or `verdict.json` — pruned by `reports:prune`, or the folder of another env. Name the folder read |
   | `not-tested` | the status is neither **Tested** nor **Done** — earlier ones (In Testing, Reopened) were not verified; later ones (Closed, Released) are past documenting. Say which status was read. A Done ticket is safe to document because the build check (step 1 of [`media.md`](media.md) §Capture) asks before it captures a redeployed stand |
   | `not-deployed` | the probed versions do not carry the change ([`rules.md`](rules.md) §Shipped in). A run that probed no versions (a `/vc-test:qa-ticket` run) is judged right after the capture probe (step 1 of [`media.md`](media.md) §Capture), before any frame is taken |
   | `not-user-visible` | no `PASS` row a person can act on ([`rules.md`](rules.md) §Evidence bar) |
   | `build-changed` | the stand runs another build than the run tested, and the person declines to document from it (step 1 of [`media.md`](media.md) §Capture) |

   A refusal is an outcome: no guide and no comment — only `documentation.json` (step 8) records it; then stop.

   **Then look for documentation already on the ticket** — it may have been posted from another machine or
   by the old 5-docs, which this checkout's ledger does not know. Read the ticket's comments
   ([`tracker-ops.md`](../../knowledge/execution/tracker-ops.md) §2; Jira: `getJiraIssue` with the `comment`
   field) and find one whose first line is **`Documentation — <TICKET>`** (wiki `h2.` or Markdown `##`),
   or the `comment_id` that `documentation.json` already holds. Also count as documentation the old 5-docs
   format — *For shoppers* / *For administrators* sections, sometimes one comment per audience — and any
   comment that is plainly a user guide for this ticket in another shape (a hand-written one);
   when unsure, show it and ask.
   - **Found** ⇒ say so, with its author and date, and ask once: **update that comment** (the steps below,
     then step 6 amends it — `--doc --amend <its id> --same-round "documentation update"`) or **leave it**
     (stop; record `comment_id`, `published: false`, `refusal: null`, `existing: true`). Never a second
     documentation comment. Several old per-audience comments ⇒ update the first; name the others and leave
     them for a person — never delete one. The update is refused with 403 (another person's comment) ⇒ hand
     the person the rendered body to paste; never retry with another token.
   - **Not found** ⇒ say the ticket has no documentation yet and **offer to make it**; on a yes, go on; on a
     no, stop and record nothing. Called from `/qa-test` 5-docs, the step-6 confirmation is that one offer.

2. **Ground what the document will state.** The `PASS` rows give the behaviour and the settings. Before
   the first live check:

   **Ask the base for this run's coordinates** — for each page path / GraphQL operation / endpoint in
   scope: `mcp__kb__kb_ask` (CLI: `npm run kb -- ask "<coordinate> <question>"`). Record hit ids; close
   each list by its handle (`kb_show`/`kb_none`); a miss is not a blocker. Rule: `CLAUDE.md` §Essential
   Rules → *Product context*.

   The documented mechanism comes from [`doc-sources.md`](../../knowledge/execution/doc-sources.md) —
   VirtoOZ through the connector, the module's README at the deployed tag — quoted with its URL.

3. **Capture** on a Playwright lane: build check first, then a demo data set made for the walk (never the
   run's fixtures; deleted by id after the last frame), then one full-viewport frame per step of every
   `PASS` scenario — [`media.md`](media.md) §Capture. Build the scenario GIFs — §GIF.

4. **Write the document** from [`template.md`](template.md) under [`rules.md`](rules.md), and save it as
   `reports/ba/<Domain>/<ticket>-<slug>-guide.md`. An existing guide for the ticket is amended in place,
   never forked. Check the size cap (§Size cap) and the payload rules (§Payload hygiene) before step 6.

5. **Make the film** — one Motion artifact, aiming at ≤90 s (a soft ceiling: [`media.md`](media.md) §Film), from the same frames, at the pace and with the voice rule of [`media.md`](media.md) §Film.
   Its link becomes the guide's `Video:` line ([`template.md`](template.md) `{video_line}`) before step 6 renders it.

6. **Post — ask once.** Show the composed comment and the film link, and ask before posting: the comment
   is an external write, and it is the run's one sanctioned documentation comment
   ([`tracker-ops.md`](../../knowledge/execution/tracker-ops.md) §0 rule 4). A decline posts nothing.
   The film is private until its owner shares it, and a private link opens nothing for the ticket's other
   readers. No tool of Claude's changes an artifact's sharing, so the question asks the person to share the
   film with their organization from its page and to say when it is done; the comment is posted after that
   answer. A person who will not share it gets the comment without the `Video:` line (`film.linked` stays
   `false`) — [`media.md`](media.md) §Hand-off.

   **The body is wiki markup, not the guide's Markdown.** With screenshots the comment goes through the v2
   API, where the whole body is wiki (tracker-ops.md §5c); a Markdown body shows literal `##` and renders no
   image. Render it, and post THAT file:

   ```
   npm run tracker:wiki -- <guide.md> {RUN_DIR}/documentation.wiki.txt
   npm run tracker:comment -- --ticket <TICKET> --doc --body-file {RUN_DIR}/documentation.wiki.txt \
     --attach <img> …            # one --attach per screenshot and GIF the body names
   ```

   **`--doc`, never a plain post or an amend of the result comment.** It records the documentation comment
   under its own ledger entry, so the run's result comment (5-report) stays the one every later correction
   amends and `summary.json` is not repointed. **A re-run amends** the comment `documentation.json` already
   holds — `… --doc --amend <comment_id> --same-round "documentation re-run"` — and `--doc` refuses a second
   post for a ticket this checkout's ledger already holds (another machine's comment is step 1's to find). The helper verifies the rendered body (one `<img>` per attached image, none left literal,
   [`reports-policy.md`](../../knowledge/execution/reports-policy.md) §5.0) — read its check, not the status
   code. Keep the comment's id. **Azure Boards:** `tracker:comment` is Jira-only — stop and post through
   `plugins/vc-fix/skills/qa-fix-routing/ado.mjs` (`upload-attachment`, then an HTML body with `<img src>`), [`tracker-ops.md`](../../knowledge/execution/tracker-ops.md) §5c.

7. **Bank what the run established** — for each platform behaviour the document states: matched ⇒
   `mcp__kb__kb_confirm`, contradicted ⇒ `kb_dispute`, base held nothing ⇒ `kb_capture` (CLI:
   `npm run kb -- capture`). Anchor = the route or request, never a label; contract:
   `.claude/knowledge/execution/kb-capture-contract.md`. Public base. List the ids in your output.

8. **Record** `{RUN_DIR}/documentation.json`:

   | Key | Value |
   |---|---|
   | `published` | `true` when the document was written |
   | `files` | the guide path(s) under `reports/ba/` |
   | `film` | `{ "url": <film artifact URL or null>, "linked": false }` — `linked` turns `true` once the posted comment carries the film link (step 6, or `--video`) |
   | `comment_id` | the posted comment's id, or `null` |
   | `comment_posted` | `false` when the person declined the post |
   | `refusal` | `no-run` · `not-tested` · `not-deployed` · `not-user-visible` · `build-changed` · `null` |
   | `versions_source` | `run` or `capture` |
   | `aggregated_into` | set later by `/qa-docs release` — the aggregate file that includes this ticket |
   | `existing` | `true` when step 1 found documentation already on the ticket (its id is `comment_id`) |

   A `null` refusal with `published: false` happens only with `existing: true` (the person chose to leave the
   ticket's documentation as it is): otherwise either the document exists or the reason does.

Then give the person the film link — and `--video`, when the comment went without it ([`media.md`](media.md)
§Hand-off) — and stop.

## What this skill never does

- Writes documentation for a ticket that is neither Tested nor Done, or an instruction with no `PASS` row.
- Posts a documentation comment beside one already on the ticket — it updates that one, or leaves it.
- Creates a video or audio file, renders stills of the film, or attaches a video — the film travels as a link to its artifact.
- Posts a second documentation comment for the same run — `--video` amends the one there is.
- Drives any browser other than a Playwright lane ([`../../rules/vc-browser.md`](../../rules/vc-browser.md)).

Files in this skill

  • SKILL.md10.7 KB
  • film-kit.js7.5 KB
  • media.md9.9 KB
  • release.md2.1 KB
  • rules.md6.3 KB
  • template.md2.4 KB

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.

View all in documentation →

Comments

Loading comments…

Newsletter

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