Agent skill · Testing & QA

t-web-demo-run

Run a single demo E2E test file, diagnose failures, dispatch fixes to agents, and re-run until pass.

timzaak55★ · 1 repos on radarProfile →
claude-codecan modify filesApache-2.0
Install
npx skills add timzaak/web-dev-skills --skill t-web-demo-run --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 1 KB
Bundled scripts: none
Allowed tools: -Read-Glob-Grep-Bash-Task-TaskCreate
Path: skills/t-web-demo-run/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 55
Language: Python
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 单文件 Demo 测试运行与修复 运行时边界统一参考:`${CLAUDE_PLUGIN_ROOT}/protocols/runtime-boundaries.md` 单文件运行与修复闭环统一参考:`${CLAUDE_PLUGIN_ROOT}/protocols/web-demo-run-repair-contract.md` ## 目标 - 先对一个测试文件整体执行。 - 整体失败时,再按用例粒度顺序执行。 - 单个用例失败时先诊断,再分发到对应 agent 修复。 - 修复后必须执行相关后端/前端补测,不能只跑 Demo。 - 输出可恢复的任务状态与机器可解析结果。 ## 使用方式 ```bash /t-tools:t-web-demo-run demo/e2e/<role>/<scenario>.e2e.ts ``` ## 执行流程 - 校验参数:测试文件必须存在且扩展名为 `.e2e.ts`。 - 按 `web-demo-run-repair-contract.md` 执行整文件、失败用例修复、补测和整文件终验。 - 用 Task 记录当前失败用例和尝试轮次,供中断后继续。 - 最后一行仅输出该协议定义的 `Result: {...}`。 ## 恢复机制 当流程中断时: - 读取 `TaskList`。 - 按任务列表顺序找到第一个 `pending` 或 `failed` 任务继续执行。 ## 失败处理 - 环境启动失败:停止并记录错误。 - 无可用修复方案:标记该用例失败,继续下一个。 - 达到最大重试次数:标记失败并继续。 - 补测失败:记录失败与风险,不阻断本用例修复循环,继续 Demo 重跑与后续尝试。 ## 质量门禁 - 单次执行只处理一个测试文件。 - 必须先整体运行测试文件;只有整体失败时才拆分用例。 - 拆分后的用例执行必须串行。 - 每个失败用例必须有诊断记录。 - 每次修复后必须先执行相关层补测,再执行 Demo 验证。 - 当次修复实际产生后端代码变动时,必须在 Demo 验证前重建环境;判定以修复前后文件变化为准,不以 agent 类型或 `change_scope` 代替。 - 定向失败用例全部通过后,必须以整文件终验收口。 - 必须输出最后一行 `Result: {...}`。

What's inside
Steps it walks through
  1. 目标
  2. 使用方式
  3. 执行流程
  4. 恢复机制
  5. 失败处理
  6. 质量门禁
More from web-dev-skills
All skills →
About this skill
What does the t-web-demo-run skill do?

Run a single demo E2E test file, diagnose failures, dispatch fixes to agents, and re-run until pass.

How do I install it?

Run `npx skills add timzaak/web-dev-skills --skill t-web-demo-run --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From timzaak/web-dev-skills, a repository with 55 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going