deploy-test

A deployment command for sending the current Git branch to a temporary testing lane, checking that it runs, and connecting a Feishu development bot.

In plain words
What is it for?
Use it to test changes from a branch before they reach production. You can choose the app and testing lane, or let the command detect them.
Why use it?
It removes the manual steps of committing, pushing, deploying, checking running services, and setting up the test bot. It also helps keep testing separate from the main application.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/bezhai/chiwei-platform/deploy-test
Any agent
npx skills add bezhai/chiwei-platform --skill deploy-test
Clone the repo
git clone --depth 1 https://github.com/bezhai/chiwei-platform

Made for: Claude Code, Codex.

Per session 16 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 468 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00016 $0.00468
Opus 5 $0.00008 $0.00234
Sonnet 5 $0.00003 $0.00094
Haiku 4.5 $0.00002 $0.00047

Measured 3d ago against content hash ae0aee2b7405, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

deploy-test scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/deploy-test/SKILL.md · 60 lines

What it actually says

/deploy-test

一键将当前分支部署到测试泳道。

参数

!`echo "$ARGUMENTS"`

可选传入 APP。不传则自动从 git diff --name-only main...HEAD 检测改动的 apps/<APP>/。 可选传入 LANE=<lane> 显式指定泳道(如 LANE=coe-<name> 用于破坏性改动)。不传则自动生成。

执行流程

1. 自动检测

  • APP: 从参数获取,或从改动文件自动检测。涉及多个 app 且未指定时才问用户。
  • LANE: 显式传入则用传入值;否则从分支名生成 ppe-<branch-derived>(分支名小写、/-、截前 16 字符,加 ppe- 前缀,总长 ≤ 20 字符)。
  • 分支: git branch --show-current,禁止在 main 上执行。

2. 自动处理脏状态

不要问,直接做:

# 有未提交改动 → 自动 commit
git add -A && git commit -m "wip: auto commit before deploy-test"

# 未推送 → 自动 push
git push -u origin <branch>

3. 部署

make deploy APP=<APP> GIT_REF=<branch> LANE=<LANE>

超时 5 分钟。失败则展示错误信息并停止。

4. 验证并输出

执行 /ops pods <APP> <LANE>,确认 pod Running。

然后执行 /ops bind bot dev <LANE> 绑定飞书 dev bot。

输出一行总结:

✅ <APP> 已部署到 <LANE> 泳道,dev bot 已绑定
访问: $PAAS_API + header `x-lane: <LANE>`
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 60 lines · 16 tokens per session scan A ae0aee2b7405

Subscribe to this mod's changes

deploy-test is a skill published in the GitHub repository bezhai/chiwei-platform (20 stars, last pushed 3d ago), licensed MIT. It adds 16 tokens to every session and 468 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

use-agent-browser-for-airi

Test AIRI display-model imports with agent-browser across stage-tamagotchi Electron, stage-web, and stage-pocket mobile web layouts. Use when uploading and verifying contributor-supplied Live2D ZIP, VRM, or MMD ZIP/PMX/PMD files through AIRI's model selector, including onboarding bypass, format-specific import…

moeru-ai/airi · 87 tokens

test-conversion

Workflow for converting unit tests to browser tests for Project Bedrock. Invoke this when the user wants to remove complex Browser dependencies from tests.

chromium/chromium · 31 tokens

agui-dotnet-cross-language-tests

Author cross-language interop tests that verify the AG-UI .NET SDK is wire-compatible with the TypeScript SDK — a Vitest TS client driving a C# CrossLanguage.TestServer over HTTP, both directions, including protobuf byte-parity against @ag-ui/proto. USE FOR: adding or modifying cross-language interop coverage…

ag-ui-protocol/ag-ui · 146 tokens

cli-e2e-testcase-writer

Use when adding or updating Go CLI E2E coverage for one tests/clie2e/{domain} domain of the compiled lark-cli, especially when the work requires live --help or schema exploration, scenario-based clie2e.RunCmd workflows, and per-domain coverage.md maintenance.

larksuite/cli · 78 tokens

harness-test-writer

Add regression test cases to the Bifrost provider harness (the Postman collection run via make run-provider-harness-test) based on a merged PR or a GitHub issue. Fetches the PR/issue, traces the affected wire path in the codebase, checks existing harness coverage, designs cases following harness conventions, inserts…

maximhq/bifrost · 133 tokens

develop-web-game

Use when Codex is building or iterating on a web game (HTML/JS) and needs a reliable development + testing loop: implement small changes, run a Playwright-based test script with short input bursts and intentional pauses, inspect screenshots/text, and review console errors with rendergametotext.

netease-youdao/LobsterAI · 64 tokens