Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

manual-test-plan

БесплатноБез исполняемых скриптовНе проверен

Derive a user-story manual test plan from an implementation plan's Success Criteria and task Requirements, post it as a phased comment on the GitHub ticket…

ProxiBlueот ProxiBlue★ 17 звёзд на GitHub

Об этом скилле

Manual Test Plan Skill

Overview

Mines _plan.md Success Criteria and per-task Requirements (Test Descriptions) sections from one or more plan directories, derives user stories, posts a phased GitHub issue comment, and writes a companion YAML keyed to Playwright specs.

Coverage tiers — only two

Every story carries one of two marks. There is no third tier.

  • AI — covered by an automated test that drives the real UI and passes. The green AI mark is the confirmation: it means the actual user journey was exercised end to end, so a human does not need to re-verify that story.
  • HI — a human verifies it manually on UAT.

AI coverage MUST drive the real UI — never bypass the page

A test earns the AI mark only when it reproduces what a customer actually does: navigate to the real page, set the options/inputs on that page, click the real controls, submit the real form. A test that shortcuts the UI — POSTing straight to a controller, fabricating a form_key, or hitting an endpoint directly — does NOT count as AI coverage, even when it passes.

Why this is a hard rule (ticket #333): the CartSwap frontend tests POSTed product + related_product to /checkout/cart/add/ and never loaded the product page. When a display rework stopped the on-page accessory chooser from rendering, all 14 tests stayed green over a broken page, the plan showed AI ✅, and the breakage reached UAT. A green mark over a bypassed page is worse than no mark — it tells a human not to look at something that is in fact broken.

If a behaviour genuinely cannot be driven through the real UI in an automated test (real payment capture, an external account, a physical action), it is HI — not a UI-bypassing "AI". Never invent a bypass to manufacture an AI tick.

Arguments

hcf:manual-test-plan <ticket> <plan-path>[,<plan-path2>,...]
Arg Required Description
ticket yes GitHub issue number (integer)
plan-path yes Path to a plan directory under .claude/plans/ — OR a comma-separated list of plan dirs when a ticket maps to multiple plans

Flags:

Flag Description
--skip-comment Write the YAML only; do not post or attempt to post a GitHub issue comment. Use when the ticket already has a manual test plan comment posted.
--dry-run Print the comment body and YAML to stdout without calling gh issue comment or writing the YAML file. Nothing is persisted.

Derivation Algorithm

Step 1 — Load plan sources

For each plan-path in argument order:

  1. Read <plan-path>/_plan.md. Extract every row from the "Success Criteria" table. Each row becomes one user story candidate.
  2. For each task file <plan-path>/NNN-<title>.md (sorted numerically):
    • Extract the task title from the # Task NNN: <Title> heading.
    • Extract every line from the "Requirements (Test Descriptions)" section. Each bullet becomes one requirement candidate belonging to the phase named after the task title.

Step 2 — Merge and de-duplicate (multiple plan-paths only)

When two or more plan-paths are passed, their Success Criteria and Requirements are merged in argument order. De-duplication uses case-insensitive exact-text match on the criterion/requirement string. First occurrence wins; duplicates from later plans are silently discarded.

Step 3 — Map criteria to stories

Each Success Criterion from _plan.md becomes one user story in the output. The story's phase is determined by which task file the AC maps to (via the task number referenced in the Success Criteria table). When an AC does not reference a specific task, it is placed in an introductory "Pre-deployment" phase.

Each task file's Requirements list produces one or more sub-stories within the phase named after that task's title. A single requirement may expand to multiple stories when the requirement describes more than one user-observable outcome (signalled by "AND" or a multi-clause sentence).

Step 4 — Assign slugs

Each story gets a slug:

  • Format: kebab-case, lowercase, starts with a verb or noun describing the user-observable behavior (e.g. guest-checkout-tax-exempt, migrate-avatax-certs-dry-run).
  • Must be globally unique within the YAML being written.
  • Must not collide with @story: slugs already present in any Playwright spec file.

Pre-flight collision check — use the project's Playwright spec location: tests/m2-hyva-playwright/src/apps/*/tests/*.spec.ts on M2-Hyvä projects, dev/tests/playwright/tests/*.spec.ts on OpenMage/M1 projects (e.g. ntotank):

grep -rh "@story:" \
  tests/m2-hyva-playwright/src/apps/*/tests/*.spec.ts \
  dev/tests/playwright/tests/*.spec.ts 2>/dev/null \
  | sed 's/.*@story: *//' | sort -u

If any proposed slug matches an existing @story: tag, emit a warning line per collision before finalizing:

WARN: slug "guest-checkout-ta
Полный SKILL.md на GitHub

Установить manual-test-plan в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

SCHEMA.md

FAQ

Что делает скилл manual-test-plan?

Derive a user-story manual test plan from an implementation plan's Success Criteria and task Requirements, post it as a phased comment on the GitHub ticket, and write a machine-readable companion YAML at .claude/test-plans/<ticket>.yml that links each story to a Playwright spec via a @story: slug. Invoke after hcf:plan-create produces an implementation plan, or when the user asks to "generate a manual test plan" for a ticket.

Как установить скилл manual-test-plan?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл manual-test-plan запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить manual-test-plan с