بنقرة واحدة
t-demo-run-all
Discover and run all demo E2E tests sequentially with auto-fix support and summary report generation.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Discover and run all demo E2E tests sequentially with auto-fix support and summary report generation.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Run a single demo E2E test file, diagnose failures, dispatch fixes to agents, and re-run until pass.
Execute phased task plans by dispatching work to specialized sub-agents for backend, frontend, miniapp, Flutter, or demo phases.
Validate task plan executability and consistency with a 100-point score and P0/P1/P2 fix list.
Convert technical design documents into executable phased task plans with ordered work breakdown.
Evaluate technical design documents for implementability, completeness, and consistency with a quantitative 100-point score.
Initialize a full-stack project skeleton with Rust backend (Axum + SeaORM + Redis) and React frontend (TypeScript + TanStack + Tailwind).
| name | t-demo-run-all |
| description | Discover and run all demo E2E tests sequentially with auto-fix support and summary report generation. |
| allowed-tools | ["Read","Glob","Grep","Bash","Write"] |
运行时边界统一参考:${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 分类后统一安排修复。