qa-personas
БесплатноБез исполняемых скриптовНе проверенWrite or refresh a project's QA personas — draft the answers from the code (role guards, route tree, nav per role) or ask the people who know the product…
от cromford-ai★ 29 звёзд на GitHubОб этом скилле
QA personas
A QA persona is "sign in as this kind of user, then click through these flows".
The QA lanes read them from two files in the project repo — qa/personas.json
and qa/apps.json — and bin/lib/qa-personas.sh is the one reader of both.
This skill is how those files get written.
An agent may draft the answers from the code (the operator, 2026-10-07). Read the role guards, the route tree and the nav each role sees, and write the answers file from that. A person may still answer it instead. Either way the PR opens, and the orchestrator (merge grant) reads the rendered map instead of a human filling in a questionnaire.
Every flow in these files is something an automated lane will later click through against a real environment, so a wrong route or a write flow marked safe is a real action with real consequences. That is why the safety floor is mechanical, not a reader:
- Anything that creates, pays, sends or deletes is
production_safe: falsewith acleanup. The validator refuses a write flow with no cleanup, and production never runs one. - Every persona's
out_of_boundsis a non-empty list. The validator refuses a persona without one. List at least these, wherever the app has them: refunds; charges, payouts and anything Stripe; mark-paid; every SMS, iMessage, email or Telegram send or resend button; signing; deletes; invites; role changes; imports; integration connect and disconnect. - Never click refunds for real customer payments. Send messages only to test customers.
Order the personas least privileged first. The QA lanes drive one persona per changed app area and take the first owner in file order, so the order is the privilege ranking.
The questionnaire
Ask these, in this order, of whoever knows the product. Write the answers down as one JSON file.
- Who are the personas? One per kind of user who can sign in. Give each a short id (lowercase letters, digits and dashes) and the role name its QA account uses.
- How does each one sign in? v1 has one answer: clerk-ticket.
- Which apps does each one own? The names from the apps map below, so a diff that only touches one app drives only the personas that own it.
- What are the top 3-5 flows for each persona? Per flow: an id, a title, the route it starts at, the observable that proves it worked, and the clicks in between.
- Which of those flows WRITE something? A write flow is production_safe: false, runs against preview only, and must say how to clean up after itself.
- What must never be driven? The routes and actions that are out of bounds for that persona. At least one is required.
Three to five flows per persona is the right size. The question to ask about each one is "would I notice if this broke?" — if the answer is no, it does not belong in a lane that runs on every build.
The answers file
One file, one shape: the personas document plus a top-level apps map. There
is no translation layer — the generator splits this file, it does not rewrite
it.
{
"version": 1,
"apps": { "admin": ["apps/admin/**"], "web": ["apps/web/**", "src/**"] },
"personas": [
{ "id": "owner", "role": "qa-owner", "sign_in": "clerk-ticket",
"apps": ["web"], "out_of_bounds": ["/billing"],
"flows": [
{ "id": "dashboard", "title": "See the dashboard", "route": "/dashboard",
"observable": "the scans table renders", "production_safe": true,
"steps": [ {"goto": "/dashboard"},
{"expect": {"selector": "role=table"}} ] },
{ "id": "new-scan", "title": "Start a scan", "route": "/scans/new",
"observable": "a queued scan row appears", "production_safe": false,
"cleanup": "delete the queued scan named qa-smoke",
"steps": [ {"goto": "/scans/new"},
{"fill": {"selector": "input[name=name]", "value": "qa-smoke"}},
{"click": "button:has-text(\"Start scan\")"},
{"expect": {"selector": "role=row", "text": "qa-smoke"}} ] } ] } ]
}
Every rule of that shape is written down once, in docs/E2E-POLICY.md
§ Personas, and validated once, by qa_personas_validate. Read the policy for
the details; the ones that trip people up:
idis^[a-z0-9-]+$and unique. A flow id is unique within its persona.sign_inis exactly"clerk-ticket". v1 has one sign-in kind.routestarts with/. An absolutehttps://…is refused.production_safeis a JSON boolean."true",1and a missing key are all refused, and none of them defaults.- Every name in a persona's
appsmust be a key of the top-levelappsmap. out_of_boundsis required and non-empty, and every entry is a non-empty string.- A flow may carry its own
apps: a non-empty list of names from its persona'sapps. When a persona is driven for one changed area, its flows tagged only with other areas are left out of that run. A flow with noappsis always driven. - `se
Установить qa-personas в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл qa-personas?
Write or refresh a project's QA personas — draft the answers from the code (role guards, route tree, nav per role) or ask the people who know the product, turn them into qa/personas.json, qa/apps.json and the verification-map entry with bin/qa-personas.sh, and open the PR the orchestrator reads before it merges. Use when a repo has no personas yet, when a new role or flow appears, or when a persona's flows have gone stale.
Как установить скилл qa-personas?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл qa-personas запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic