verify-gsd
БесплатноЗапускает вложенные скриптыНе проверенLaunch and drive a disposable production build of the GSD Task Manager web app (the PWA matrix, capture bar, search, Review, and backup) and prove behavior…
от vscarpenter★ 41 звезда на GitHubОб этом скилле
verify-gsd
This skill serves the static export the way production does, drives it with Playwright, and saves proof. Every journey starts from an empty browser profile, so the repo's two usual false passes can't happen: no service worker holds stale chunks, and the data a journey needs is either created or seeded by that journey.
Run every command from the repository root. In this skill and its feature map, gsd-verify means:
bash .claude/skills/verify-gsd/scripts/gsd-verify
Call it through bash. The owner's global settings deny chmod, so the file may not have its executable bit.
The surface is the web app. The feature map doesn't cover two other surfaces. The MCP server (packages/mcp-server/) speaks JSON-RPC over stdio, and a full-server probe needs HOME pointed at a scratch directory. Cloud sync needs a real sign-in against production, so mock it with context.route the way tests/e2e/sync-auth-token.spec.ts does.
Launch
gsd-verify up
up runs in this order:
- It refuses to start if this checkout already has a live instance.
- It runs
bun run build:e2e, unlessout/already matches the current source. A build takes about 10 seconds, and a reuse takes about 2. Pass--rebuildto force one. - It copies
out/to$TMPDIR/gsd-verify/<digest of every file in out/>/and serves the copy withscripts/lib/static-export-server.cjs, on the first free port from 3210 to 3229. Pass--port Nto choose one. - It runs doctor, which includes loading the matrix in a real browser.
Ready means up exits 0 and prints Ready: http://127.0.0.1:<port>. An answering server isn't enough, so up stops the server and fails if the matrix doesn't load.
The server uses the production CSP and the deployed CloudFront rewrite function. A build rewrites AGENTS.md and next-env.d.ts, and up restores them when they were clean beforehand.
To run a second instance side by side, use a git worktree with its own bun install. up picks the next free port there. One checkout runs one instance, because next build and next dev both delete out/ and .next. up refuses to build while a Next process runs in the same checkout.
Doctor
gsd-verify doctor
Run this first whenever anything looks off. It changes nothing in the app, and it saves its own proof to the evidence folder. Exit 0 means the instance is worth driving. It checks that:
- the recorded pid is the export server, and that pid owns the port
- the served
sw.jsmatches the snapshot, so the server is answering from this run's copy (the digest in the snapshot's name is what ties that copy to the build) - the source still matches the build (a stale instance fails here, and
driverefuses to run) - the matrix loads with a clean console, the production CSP header is present, and the internet is blocked
Drive
Each journeys/*.journey.ts file is a Playwright spec whose test titles are the sub-feature IDs in the feature map.
gsd-verify drive capture # every test in a journey
gsd-verify drive capture -g capture-submit # one sub-feature
gsd-verify drive capture --headed # watch it
Journeys: capture, task-lifecycle, search, review, backup, and doctor. Read features/README.md first, then the feature's file. It lists every entry point, and a proof that drives one entry point doesn't cover the others.
To prove something the journeys don't cover, write a file in journeys/adhoc/, which git ignores. End its name in .journey.ts, because Vitest collects any *.spec.ts in the repo, ignored or not, and fails the suite:
// .claude/skills/verify-gsd/journeys/adhoc/my-change.journey.ts
import { test, expect } from "../../harness/fixtures";
test("my-change", async ({ page, matrix, seed, proof }) => {
await seed("matrix"); // optional precondition
await matrix.createTask("Call the bank !!"); // tests/e2e/pages/matrix-page.ts
await expect(page.getByTestId("quadrant-q1")).toContainText("Call the bank");
await proof.capture("after-create"); // screenshot + ARIA snapshot
expect(await proof.rows("after-create")).toHaveLength(5); // IndexedDB rows, also saved
});
gsd-verify drive .claude/skills/verify-gsd/journeys/adhoc/my-change.journey.ts
These fixtures come from harness/fixtures.ts:
| Fixture | What it gives you |
|---|---|
matrix |
The repo's MatrixPage page object, already on the loaded matrix. |
seed(scenario) |
Writes "matrix", "dashboard", "storage", "trash", or a list of specs to IndexedDB, then reloads. Uses tools/stagehand/page-scripts/seed-tasks.js. |
proof |
capture(name), rows(name, store?), and write(name, value). |
externalRequests |
Every off-origin URL the page requested in this test. |
firstVisit |
Set test.use({ firstVisit: true }) to get the /about redirect and welcome |
Установить verify-gsd в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл verify-gsd?
Launch and drive a disposable production build of the GSD Task Manager web app (the PWA matrix, capture bar, search, Review, and backup) and prove behavior with screenshots, ARIA snapshots, and IndexedDB rows. Use when you need evidence that a feature works end to end from a clean browser, when you're proving a change to capture, tasks, search, Review, or import and export, or when a behavior depends on the production CSP or the service worker. Needs no API key and can't reach the live backend. For quick checks of a UI edit on the dev server, use verify-frontend-change instead.
Как установить скилл verify-gsd?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл verify-gsd запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic