verify

GitHub

用于在隔离工作区中构建、启动并验证 LLM Gateway 栈的变更,支持 API、网关及 UI 功能的端到端测试与截图捕获。

.agents/skills/verify/SKILL.md theopenco/llmgateway

Trigger Scenarios

本地复现代码变更 启动服务检查端到端工作流 使用种子数据截取界面截图

Install

npx skills add theopenco/llmgateway --skill verify -g -y
More Options

Non-standard path

npx skills add https://github.com/theopenco/llmgateway/tree/main/.agents/skills/verify -g -y

Use without installing

npx skills use theopenco/llmgateway@verify

指定 Agent (Claude Code)

npx skills add theopenco/llmgateway --skill verify -a claude-code -g -y

安装 repo 全部 skill

npx skills add theopenco/llmgateway --all -g -y

预览 repo 内 skill

npx skills add theopenco/llmgateway --list

SKILL.md

Frontmatter
{
    "name": "verify",
    "description": "Build, launch, and drive the LLM Gateway stack in an isolated worktree environment to verify API, gateway, dashboard, playground, or screenshot changes. Use when locally reproducing a change, launching services on offset ports, taking seeded-data screenshots, or checking a workflow end to end."
}

Verify a change

Use the repository's current implementation and AGENTS.md as the source of truth. Do not reuse ports, containers, credentials, or commands remembered from another worktree.

Isolate the workspace

  1. Read Running an isolated stack per worktree in AGENTS.md.
  2. Reuse the worktree's exported STACK_SUFFIX, database URLs, Redis ports, app ports, and service URLs only if they are complete. Otherwise choose an unused slot and export the full block from AGENTS.md.
  3. Confirm the selected ports are free. Never start or reset the default shared Docker stack from a Conductor worktree.

Start only the isolated services needed by the change:

pnpm build:core
docker compose up -d
pnpm wait-for-services
pnpm push-test
pnpm push-dev
pnpm seed

Use pnpm setup only when a full reset is required and STACK_SUFFIX is set; it removes the selected stack's volumes.

Build and launch

Build affected apps through Turbo filters, including their workspace dependencies. Run the full pnpm build before handoff when required by AGENTS.md.

Launch the configured stack with pnpm dev. Use exported service URLs where the repository defines them; otherwise construct the local origin from the matching app port in AGENTS.md.

Drive and capture

  • Use seeded accounts and identifiers from packages/db/src/seed.ts; passwords equal their seeded email addresses.
  • Verify the changed behavior through the same surface a user exercises. Pin a gateway provider and set x-no-fallback: true when provider-specific behavior matters.
  • Use an available browser automation tool for UI verification. If a local Playwright script is needed, run it from an app that declares @playwright/test (apps/ui, apps/playground, or apps/code).
  • Capture only seeded local data. Resolve screenshot output paths from the tool being used instead of assuming a tool-specific directory.

Record the exact commands, URLs, and observed result. Do not describe a check as passing unless it ran successfully.

Clean up

Stop processes started for the check. Run docker compose down -v only when this session started the worktree-specific STACK_SUFFIX stack. Never tear down the default shared stack or a stack that was already running.

Version History

  • 8fdff5b Current 2026-08-16 07:59

Same Skill Collection

.agents/skills/add-model/SKILL.md
.agents/skills/blog/SKILL.md
.agents/skills/changelog/SKILL.md
.agents/skills/core-web-vitals/SKILL.md
.agents/skills/knowledge-base/SKILL.md
.agents/skills/migrations/SKILL.md
.agents/skills/pull-request/SKILL.md
.agents/skills/skill-authoring/SKILL.md
.claude/skills/verify/SKILL.md

Metadata

Files
0
Version
cdb28c4
Hash
d3ff1b3a
Indexed
2026-08-16 07:59

Home - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-21 14:53
浙ICP备14020137号-1 $Map of visitor$