verify-feature
БесплатноБез исполняемых скриптовНе проверенExecute Playwright verification of a feature by reading a test-plan YAML, running each linked spec one at a time with video + trace + screenshot capture…
от ProxiBlue★ 17 звёзд на GitHubОб этом скилле
Verify Feature Skill
Overview
Invoked after hcf:plan-orchestrate reports completion, or manually via
/verify-feature <ticket>. Reads .claude/test-plans/<ticket>.yml, runs
each non-manual story through Playwright with full capture enabled, and
surfaces results live via the Claude todo panel.
Arguments
Required
| Argument | Description |
|---|---|
<ticket> |
GitHub issue / ticket number (e.g. 361). Resolves to .claude/test-plans/<ticket>.yml. |
Optional flags
| Flag | Description |
|---|---|
--story <slug> |
Verify a single story by slug instead of the whole plan. All pre-flight checks still run against the full YAML; only execution is scoped. |
--skip-publish |
Keep all captured artifacts local. Skips the publish-test-reports invocation and posts local paths in the ticket comment instead of published URLs. |
Invocation guard — do NOT run inside plan-orchestrate
This skill MUST refuse to run if invoked inside another agent's session that
already has todos in flight (e.g. inside plan-orchestrate). The TodoWrite
call that seeds story progress would clobber the parent agent's todos,
corrupting its task tracking. Always invoke /verify-feature from a fresh
top-level session after plan-orchestrate has fully released its todos.
Pre-flight checks
Pre-flight runs in order. Any failure aborts before executing any test.
1. Test plan existence
.claude/test-plans/<ticket>.yml must exist. If missing, abort with:
ERROR: .claude/test-plans/<ticket>.yml not found.
Run /manual-test-plan <ticket> first to generate the plan.
2. Spec discovery
Scan all app test directories for // @story: <slug> annotations:
grep -r --include="*.spec.ts" --exclude-dir=.git \
"// @story: " \
tests/m2-hyva-playwright/src/apps/*/tests/
Parse each match into (slug, file) pairs. This scan MUST NOT be hardcoded
to a single app dir — specs live under src/apps/<X>/tests/ for various
values of <X> (e.g. checkout, account, catalog).
Exclude .git/ directories explicitly (--exclude-dir=.git). Multiple
apps under src/apps/ are git submodules with packed objects under
.git/objects/ that would produce false matches without the exclusion.
Duplicate-slug hard error
If the same @story: <slug> appears in more than one spec file, abort with:
ERROR: Duplicate @story slug "<slug>" found in multiple spec files:
- tests/m2-hyva-playwright/src/apps/checkout/tests/foo.spec.ts
- tests/m2-hyva-playwright/src/apps/account/tests/bar.spec.ts
Each @story slug must be unique across all apps. Fix the collision before running verify.
Missing-slug hard error
For each non-manual story in the YAML, check that its story_slug appears in
exactly one discovered spec file. If any slug matches zero spec files, abort
with:
ERROR: The following YAML story slugs have no matching @story annotation in any spec file:
- <slug-a>
- <slug-b>
Fix the YAML or add the @story comment to the spec before running verify.
List all missing slugs before aborting — do not stop at the first one.
3. test_name guard
For each story that is NOT manual_only: true:
- If the YAML entry omits
test_nameAND the discovered spec file contains more than onetest()/it()block, abort with:
ERROR: Story "<slug>" maps to <file> which contains multiple tests, but
test_name is not set in the YAML. Set test_name to the exact test title so
-g does not accidentally match unintended tests.
4. Publish wrapper check (conditional)
Publishing is in effect when both conditions hold:
--skip-publishwas NOT passed, AND- the current git branch IS
live
When publishing is in effect, tests/test-reports/publish-report.sh must
exist and be executable. If it does not:
ERROR: tests/test-reports/publish-report.sh not found.
Publishing requires the proxiblue-skills:publish-test-reports setup.
Run /publish-test-reports to complete setup, then re-run verify.
Alternatively, pass --skip-publish to skip publishing for this run.
When --skip-publish is passed OR the current branch is not live, this
wrapper check is SKIPPED entirely so dev iteration works without the publish
infrastructure in place.
5. Non-live branch auto-fallback
If the current git branch is NOT live, the skill automatically behaves as if
--skip-publish were passed. Emit one notice line before execution begins:
NOTICE: Not on live branch — publishing skipped. Artifacts will be local only.
No further action required from the user.
Todo tracking
This skill uses the TodoWrite tool (Claude Code's built-in todo mechanism).
TaskCreate and TaskUpdate do NOT exist in Claude Code — never reference them.
Seeding
Before the first Playwright invocation, issue a single TodoWrite call with
one entry per non-manual story. Each entry:
{
"id": "<story-slug>",
"content": "<story title from YAML>",
"status": "pending
Установить verify-feature в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл verify-feature?
Execute Playwright verification of a feature by reading a test-plan YAML, running each linked spec one at a time with video + trace + screenshot capture, tracking progress via TodoWrite, stopping on first failure for human review, and on full pass publishing artifacts via proxiblue-skills:publish-test-reports and posting a summary ticket comment.
Как установить скилл verify-feature?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл verify-feature запускает скрипты?
Нет, скилл состоит только из инструкций (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