verify

GitHub

用于在隔离环境中构建、启动并驱动 LLM Gateway 堆栈,以验证 API、网关、仪表板或截图变更。支持本地复现更改、检查端到端工作流及 UI 验证。

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

触发场景

需要本地复现代码变更 验证 API 或网关功能 检查仪表盘或 Playwright 截图 执行端到端工作流测试

安装

npx skills add theopenco/llmgateway --skill verify -g -y
更多选项

非标准路径

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

不安装直接使用

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.

Turbo's strict environment mode may not pass the worktree isolation variables declared in .envrc. Launch an isolated stack with pnpm exec turbo run dev --env-mode=loose, then confirm the startup logs show the selected ports rather than the defaults.

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.

版本历史

  • f3df974 当前 2026-08-27 18:18

    更新启动命令为使用 Turbo 的 loose 模式以确保环境变量隔离;新增使用浏览器自动化工具进行 UI 验证及指定输出路径的规则。

  • 8fdff5b 2026-08-16 07:59

同 Skill 集合

.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

元信息

文件数
0
版本
f3df974
Hash
53659aaa
收录时间
2026-08-16 07:59

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-27 23:18
浙ICP备14020137号-1 $访客地图$