Agent Skills › fmaclen/canutin › verify

verify

GitHub

本地验证工作流,包含运行质量检查(Prettier/ESLint/svelte-check)和执行 Playwright E2E 测试。提供手动 QA 的用户数据种子生成及 PocketBase 数据库重置功能,确保提交前代码质量与功能正常。

.agents/skills/verify/SKILL.md fmaclen/canutin

Trigger Scenarios

需要运行本地质量检查或 E2E 测试 需要为手动 QA 准备测试用户数据 需要重置本地开发数据库

Install

npx skills add fmaclen/canutin --skill verify -g -y
More Options

Non-standard path

npx skills add https://github.com/fmaclen/canutin/tree/master/.agents/skills/verify -g -y

Use without installing

npx skills use fmaclen/canutin@verify

指定 Agent (Claude Code)

npx skills add fmaclen/canutin --skill verify -a claude-code -g -y

安装 repo 全部 skill

npx skills add fmaclen/canutin --all -g -y

预览 repo 内 skill

npx skills add fmaclen/canutin --list

SKILL.md

Frontmatter
{
    "name": "verify",
    "description": "Local verification workflow - quality checks, running Playwright tests against local PocketBase"
}

Verify

Overview

Before handing work off (see commits-and-prs.md), verify against a local PocketBase and the local SvelteKit app. Canutin has no preview-deployment system; all verification is local.

Local Servers

Manual checks run against bun run dev plus a local PocketBase. Playwright brings up its own preview server as part of bun run test - never start one by hand. Ownership rules, ports, and start commands: see local-servers.

Quality Check

bun run quality

This runs Prettier, ESLint, and svelte-check. Resolve all errors before committing. On a fresh worktree, run bunx @inlang/paraglide-js compile --project ./project.inlang --outdir ./src/lib/paraglide once if svelte-check can't find $lib/paraglide/messages — the Vite plugin normally generates this during dev/build.

Running Tests

bun run test --project=desktop -- e2e/your-test.test.ts
bun run test --project=mobile  -- e2e/your-test.test.ts

Both projects are required before pushing. See testing.md for conventions.

QA Bootstrap

When the user wants to manually QA a feature in the browser, seed a basic user first:

bun -e "import('./e2e/pocketbase.helpers').then(m => m.seedUser('alice').then(u => console.log(u.email)))"

Use the printed email with DEFAULT_PASSWORD (123qweasdzxc) to log in.

Reset When Needed

bun run pb:reset

Wipes the PocketBase dev database. The superuser (superadmin@example.com / 123qweasdzxc) is re-upserted automatically on the next bun run pb start.

See Also

Version History

  • 28eb754 Current 2026-09-23 01:22

Same Skill Collection

.agents/skills/architecture/SKILL.md
.agents/skills/auth-system/SKILL.md
.agents/skills/code-quality/SKILL.md
.agents/skills/code-review/SKILL.md
.agents/skills/deployment/SKILL.md
.agents/skills/failure-discipline/SKILL.md
.agents/skills/failures-and-logs/SKILL.md
.agents/skills/frontend-design/SKILL.md
.agents/skills/issue-writing/SKILL.md
.agents/skills/local-servers/SKILL.md
.agents/skills/pb-import/SKILL.md
.agents/skills/pb-migrate/SKILL.md
.agents/skills/pocketbase/SKILL.md
.agents/skills/realtime/SKILL.md
.agents/skills/setup/SKILL.md
.agents/skills/svelte5/SKILL.md
.agents/skills/testing/SKILL.md
.agents/skills/commits-and-prs/SKILL.md

Metadata

Files
0
Version
b491bd7
Hash
7ff7879e
Indexed
2026-09-23 01:22

ホーム - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-29 05:13
浙ICP备14020137号-1