From t-tools
Discovers all demo E2E test files, runs them sequentially with auto-fix support, and generates summary reports in Markdown and JSON. Supports continuation from failures.
How this skill is triggered — by the user, by Claude, or both
Slash command
/t-tools:t-demo-run-allThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
运行时边界统一参考:`${CLAUDE_PLUGIN_ROOT}/protocols/runtime-boundaries.md`
运行时边界统一参考:${CLAUDE_PLUGIN_ROOT}/protocols/runtime-boundaries.md
/t-demo-run。demo-test-runner.py。continue,从上一次批量运行的失败/中断位置继续执行。/t-demo-run-all
/t-demo-run-all continue
等价脚本入口:
uv run scripts/demo-run-all.py
uv run scripts/demo-run-all.py continue
可选回退模式:
uv run scripts/demo-run-all.py --direct-script
Glob: demo/e2e/**/*.e2e.ts
排除:fixtures/、templates/、verification/、文件名包含 test-。
fresh 模式从头运行;continue 模式读取最近一次 demo-run-all-*.json。
若存在 current_file,从该中断文件重跑。
否则从最近一个失败文件重跑,并继续其后尚未重跑的文件。
已确认完成的前序文件不重跑。
若没有可继续的批次或失败点,直接报错。
按字母序逐个执行,必须串行。 默认模式:
claude -p "/t-demo-run demo/e2e/..."
回退模式:
uv run scripts/demo-run-all.py --direct-script
关键规则:
一次只运行一个文件。
当前文件结束后再运行下一个。
失败只记录,不中断整体流程。
若单文件在 Claude 模式下自动修复成功,汇总中标记为 FIXED。
/t-demo-run-all 调用脚本时,超时固定为 7200 秒(2 小时)。
收集结果并生成汇总。 输出:
.ai/quality/demo-run-all-[YYYYMMDD-HHMMSS].md
.ai/quality/demo-run-all-[YYYYMMDD-HHMMSS].json
JSON 批次状态必须持续写盘,至少包含:
batch_status
current_index
current_file
discovered_files
entries
updated_at
对失败文件逐个调用 demo-diagnose 做结构化分类。
输入建议:
testFile: 失败文件路径
runId: demo-run-all 记录的 run_id
testCaseTitle: 需要按单用例细分时再提供
必须包含:
Fixed Files 与 Unfixed Files 清单run_id / 日志路径continue 找不到最近批次、批次格式无效或没有可继续内容:终止并给出明确提示。/t-demo-run。demo-diagnose 分类后统一安排修复。npx claudepluginhub timzaak/web-dev-skillsRuns a single demo E2E test file, diagnoses failures with sub-agents, dispatches fixes, runs layer-specific regression tests, and re-runs until pass.
Generates and executes E2E tests from specs or Gherkin scenarios, then auto-fixes bugs found in application code. Use after implementation to verify end-to-end behavior.
Runs E2E test suites, classifies failures as flaky, app bug, known issue, test update, or new; cross-references Jira and generates reports.