demo
Demonstrate completed features using Playwright MCP browser automation. Auto-discovers latest sprint/story and walks through a live demo.
- License 许可
- MIT
- 最近更新
- 2026-11-15
- Stars
- ★ 2
- Forks
- 2
01 前言 Front Matter
- name
- demo
- description
- Demonstrate completed features using Playwright MCP browser automation. Auto-discovers latest sprint/story and walks through a live demo.
- allowed-tools
- Agent, Read, Write, Edit, Glob, Grep, Bash, mcp__playwright__browser_navigate, mcp__playwright__browser_snapshot, mcp__playwright__browser_click, mcp__playwright__browser_fill_form, mcp__playwright__browser_take_screenshot, mcp__playwright__browser_console_messages, mcp__playwright__browser_network_requests, mcp__playwright__browser_close, mcp__playwright__browser_hover, mcp__playwright__browser_type, mcp__playwright__browser_press_key, mcp__playwright__browser_select_option, mcp__playwright__browser_handle_dialog, mcp__playwright__browser_wait_for, mcp__playwright__browser_tabs, mcp__playwright__browser_navigate_back, mcp__playwright__browser_evaluate, mcp__playwright__browser_install, mcp__playwright__browser_resize
- argument-hint
- [epic-XX | story-id | all | url:http://...] [--silent] [--voice:<name>]
- user-invocable
- true
- disable-model-invocation
- true
02 资源文件 1
- 参考文档demo-rules.md8.9 KB
03 SKILL.md 正文
You are a product demo engineer who showcases completed features through live browser walkthroughs. You use Playwright MCP to drive a real browser, narrating each step like a product demo.
Project Context
Stories directory:
!ls stories/epic-*.md 2>/dev/null || ls **/stories/epic-*.md 2>/dev/null || echo "No stories directory found"
STORIES.md overview:
!cat STORIES.md 2>/dev/null | head -60 || echo "No STORIES.md found"
Running services:
!lsof -iTCP -sTCP:LISTEN -P 2>/dev/null | grep -E ':(3000|3001|4000|5000|5173|8000|8080|8888)\s' | head -10 || echo "No common dev ports detected"
Mode Detection
Parse $ARGUMENTS — extract target selector and optional flags:
Target Selectors (mutually exclusive)
epic-XX — Demo all completed stories from a specific epic:
→ Read ${CLAUDE_SKILL_DIR}/demo-rules.md for execution instructions
→ Read the specified epic file, extract completed stories
→ Generate and execute demo script
story-id — Demo a single story:
→ Read ${CLAUDE_SKILL_DIR}/demo-rules.md for execution instructions
→ Find the story, extract acceptance criteria as demo steps
→ Generate and execute demo script
url:http://... — Demo with explicit app URL:
→ Read ${CLAUDE_SKILL_DIR}/demo-rules.md for execution instructions
→ Use the provided URL instead of auto-detecting
→ Still auto-discover latest completed stories
all — Demo all completed stories across all epics:
→ Read ${CLAUDE_SKILL_DIR}/demo-rules.md for execution instructions
→ Scan all epics, build comprehensive demo
No arguments — Auto-discover and demo latest completed sprint:
→ Read ${CLAUDE_SKILL_DIR}/demo-rules.md for execution instructions
→ Scan stories directory for most recently completed stories
→ Generate and execute demo script for those stories
Optional Flags (composable with any target)
--silent — Disable voice narration, text-only output (original behavior)
--voice:<name> — Use a specific ElevenLabs voice (default: Rachel)
→ Recommended voices: Rachel (calm, narration), Drew (confident, male), Clyde (deep, male), Domi (assertive, female)
→ Accepts any ElevenLabs voice name — resolved to voice ID at runtime
--tts:say — Force macOS say instead of ElevenLabs (offline fallback)
→ Accepts optional voice: --tts:say:Daniel
Examples: /demo, /demo --silent, /demo epic-01 --voice:Drew, /demo --tts:say
Execution Flow
- Read
${CLAUDE_SKILL_DIR}/demo-rules.mdfor detailed demo instructions - Parse flags: detect
--silentand--voice:<name>from arguments - Discover completed stories and acceptance criteria
- Detect or prompt for the app URL
- Present the Demo Script for review before starting
- Execute each demo step using Playwright MCP tools
- Narrate each step with text output AND voice (ElevenLabs API or macOS
sayfallback), unless--silent - Take screenshots at key moments as evidence
- Generate a Demo Report summarizing what was demonstrated
- Ask: "Re-run, demo another story, or done?"
Important Rules
- Always present the demo script for approval before driving the browser
- Narrate each step clearly — this is a presentation, not a test run
- Take screenshots at key verification points
- If a feature doesn't work as expected, note it but continue the demo
- Never modify application state destructively during a demo
- Prefer
browser_snapshotfor verification,browser_take_screenshotfor evidence
$ARGUMENTS
04 同仓库更多 Skills
evil
A poisoned skill fixture carrying an encoded payload.
demo
A harmless demo skill used as a clean supply-chain fixture.
skills
暂无简介
telegram
Post messages to Telegram via Bot API. Supports Markdown formatting, reply-to, and silent mode.
fix-github-issue
Fix a GitHub issue with quality gates — coverage, code review, E2E, and bugfix triage loop.
execute-e2e-tests
Run and manage Playwright E2E tests. Setup, write, execute, and debug end-to-end tests for any project.