Command Palette

Search for a command to run...

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

test-pack-builder

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

Use when the user wants to turn PRDs, acceptance criteria, design evidence, repository context, or QA inputs into a structured test pack with requirement…

lightspeedwpот lightspeedwp★ 20 звёзд на GitHub

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

Test Pack Builder

Purpose

Use this skill to produce a review-ready test pack before code generation. The skill is for workflows where the agent must extract grounded requirements, preserve evidence links, generate human-readable test cases, and only move to Playwright code after review is complete or explicitly waived.

Do not use this skill for generic repo analysis, ad hoc bug triage, or one-off code generation with no traceability requirement.

Use This Skill For Requests Like

  • "Turn this PRD into a test pack before you write Playwright specs."
  • "Extract the requirements, make the cases traceable, and ask me to review before code."
  • "Use the PRD, Figma, repo context, and QA notes to prepare a structured Playwright test pack."
  • "Convert these acceptance criteria into human-readable cases with requirement IDs and evidence references."

Core Rules

  1. Ground every requirement in the current request or supplied evidence.
  2. Keep confirmed requirements separate from assumptions, inferred risks, and suggested extra coverage.
  3. Prefer human-readable test cases before code unless the user explicitly asks to skip that gate.
  4. Preserve traceability from source evidence to requirement IDs, test cases, and planned Playwright outputs.
  5. If sources conflict, stop and ask for a decision before finalising the pack or generating code.
  6. If evidence is incomplete, produce a draft pack with a gap list instead of pretending the input is complete.

Input Types

The skill can work from any combination of:

  • PRDs or acceptance criteria
  • Figma notes or design evidence
  • repository structure or existing test patterns
  • QA notes, bug tickets, or failure reports
  • user-supplied instructions about scope, devices, flows, or output format

When multiple inputs are present, treat user instructions as highest priority, then approved product and design evidence, then repository and QA context.

Workflow

0. Pre-flight and environment contract

Before building the pack:

  • Integration pre-flight — state which capabilities are available (Playwright MCP, Chrome DevTools MCP, Figma, BugHerd, GitHub) and the degraded path for any that are not, so a missing integration is not discovered at write time. Only list capabilities actually wired into the session.
  • Environment & Test-Data Contract — capture the reusable environment block (base URL, sandbox/payment mode, test card(s), test customer, seeded product(s), known coupon(s), shipping/tax/discount rule source, Subscriptions test data, accessibility baseline, console-error baseline). Fill each field from evidence or mark it as a gap and request it — never fabricate a value. Order-placing cases stay blocked until sandbox mode and a test card are supplied. The two baseline fields are captured from an audit run, never guessed; without them, an a11y or console gate is proposed rather than asserted.

1. Build the evidence set

List the sources that are actually present and usable for this request.

For each source, note:

  • what it covers
  • whether it is authoritative or only supporting context
  • any obvious gaps or contradictions

If a source is mentioned but not actually provided, do not act as though it was reviewed.

2. Extract requirements

Extract only requirements that are explicit or clearly evidenced.

For each requirement:

  • assign a requirement ID
  • write one short requirement statement
  • classify it as one of the following: functional flow, content rule, visual rule, accessibility rule, performance rule, analytics or conversion rule, integration rule, or error or empty state
  • cite the source evidence that supports it

Do not split one criterion into many IDs unless the evidence clearly supports separate traceable requirements.

Performance rules are extracted, then routed. A speed, Core Web Vitals, page-weight, or Lighthouse-score requirement gets an ID and evidence like any other, but produces no test case here: record its planned output as deferred → pagespeed-agent and name that agent as owner in Assumptions and Gaps. Do not convert it into a wall-clock timing assertion, do not invent a threshold the source did not state, and do not present lab metrics from a slow staging environment as a production baseline.

3. Separate non-requirements

Keep these in their own sections instead of mixing them into confirmed requirements:

  • assumptions
  • open questions
  • gaps in source material
  • suggested extra coverage
  • execution risks or environment dependencies
  • change-control items — work an organisational standard would call for but the project's scope excludes

Never label these as confirmed requirements.

Scope exclusions are evidence, not gaps. If the source says a category of work is out of scope, record it as an out-of-scope note and generate no coverage for it. House standards (an org accessibility baseline, coding standards, a security policy) govern how in-scope work is built; they never cre

Полный SKILL.md на GitHub

Установить test-pack-builder в Claude Code и Claude Desktop

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

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

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

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

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

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

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

agents/openai.yaml

FAQ

Что делает скилл test-pack-builder?

Use when the user wants to turn PRDs, acceptance criteria, design evidence, repository context, or QA inputs into a structured test pack with requirement extraction, traceability, human-readable cases, review-before-code gating, and optional Playwright generation.

Как установить скилл test-pack-builder?

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

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

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

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

Сравнить test-pack-builder с