Agent skill

t-web-demo-accept

Validate demo tests cover user stories, compile and pass, and output structured acceptance reports.

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

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

Facts
Files in the skill folder: 1
SKILL.md size: 2 KB
Bundled scripts: none
Allowed tools: -Read-Glob-Grep-Bash-Write
Path: skills/t-web-demo-accept/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/requirement-source-contract.md` ## 目标 - 验证测试是否覆盖用户故事。 - 验证测试是否可编译、可运行且全部通过。 - 输出结构化验收报告到 `.ai/quality/`。 ## 参数 ```bash /t-tools:t-web-demo-accept [target] ``` `target` 说明: - 测试文件路径:`demo/e2e/<role>/<scenario>.e2e.ts` - 角色名:按目标项目 `demo/e2e/` 下的实际角色目录匹配 - `all` 或留空:验收全部 Demo 测试 ## 执行流程 - 识别目标测试文件。 - 若是文件路径:仅处理该文件。 - 若是角色名:匹配 `demo/e2e/**` 下对应文件。 - 若是 `all` 或空:扫描 `demo/e2e/**/*.e2e.ts`,排除 `fixtures/`、`templates/`、`verification/`。 - 用户故事一致性检查(必须)。 - 读取测试文件顶部注释中的用户故事路径。 - 校验用户故事文件存在;路径可以是 `.ai/user-stories/...` draft 或 `docs/user-stories/...` 已发布文档。 - 核对场景覆盖、角色匹配、关键断言与验收标准。 - 编译检查(必须)。 ```bash cd demo && npm run build ``` - 测试执行检查(必须)。 ```bash uv run scripts/web-demo-test-runner.py "[测试文件]" --mode fast --log-level mini ``` - 若任一测试失败、超时或编译失败,直接判定该文件 `REJECTED`。 - 代码质量检查。 ```bash grep -n "verifyTestEnvironment\|cleanupDemoTestData" [测试文件路径] grep -n "UnifiedLogger\|logger\." [测试文件路径] grep -n "waitForTimeout" [测试文件路径] grep -n "data-testid\|getByRole\|getByText" [测试文件路径] npx jscpd --pattern "**/*.ts" --reporters console demo/e2e wc -l [测试文件路径] ``` - 生成报告。 - 单文件:`.ai/quali

What's inside
Steps it walks through
  1. 目标
  2. 参数
  3. 执行流程
  4. 输出格式
  5. 失败处理
  6. 质量门禁
Commands it runs
cd demo && npm run build
uv run scripts/web-demo-test-runner.py "[测试文件]" --mode fast --log-level mini
grep -n "verifyTestEnvironment\|cleanupDemoTestData" [测试文件路径]
grep -n "UnifiedLogger\|logger\." [测试文件路径]
grep -n "waitForTimeout" [测试文件路径]
grep -n "data-testid\|getByRole\|getByText" [测试文件路径]
npx jscpd --pattern "**/*.ts" --reporters console demo/e2e
wc -l [测试文件路径]
More from web-dev-skills
All skills →
About this skill
What does the t-web-demo-accept skill do?

Validate demo tests cover user stories, compile and pass, and output structured acceptance reports.

How do I install it?

Run `npx skills add timzaak/web-dev-skills --skill t-web-demo-accept --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