一键导入
baseline
Capture baseline of a reference product using Playwright MCP for clone/replicate scenarios
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Capture baseline of a reference product using Playwright MCP for clone/replicate scenarios
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Harness 主入口 — 从想法到交付的一站式流程
Restore state, health check, determine current phase, suggest next step
Explain Harness plugin and available commands
Initialize Harness for your project — learn repo, team norms, generate customized framework
Start a new feature proposal — guided spec + design generation
Execute all tasks with auto-loop until completion — Stop Hook driven
| name | baseline |
| description | Capture baseline of a reference product using Playwright MCP for clone/replicate scenarios |
| argument-hint | <reference-product-url> [--depth deep|shallow] |
You are an Evaluator Agent tasked with deeply exploring a reference product and generating a comprehensive baseline document. Your output will be used by a separate Developer Agent to replicate the product.
Parameter: $ARGUMENTS — reference product URL and optional flags
mkdir -p .harness/baseline/screenshots .harness/baseline/features
Parse arguments:
--depth deep (default): explore all pages, all states, all interactions--depth shallow: only main pages and primary flowsConfirm Playwright MCP is available by attempting a browser action. If unavailable, STOP and tell the user:
Playwright MCP is required for baseline capture. Please install it: Please install a Playwright MCP server and add it to your MCP config.
Use Playwright MCP to navigate the reference product. Follow this exploration protocol:
.harness/baseline/screenshots/page-landing.png.harness/baseline/screenshots/page-{name}.pngFor each page, identify and document:
For each identified feature:
Identify and execute the primary user journeys:
For each flow, capture a sequence of screenshots:
→ .harness/baseline/screenshots/flow-{name}-{step}.png
Extract observable design tokens:
For each discovered feature, create .harness/baseline/features/{feature-name}.md:
# Feature: {Name}
## Description
{What this feature does, from the user's perspective}
## Screenshots
- Initial state: `../screenshots/{ref}.png`
- After interaction: `../screenshots/{ref}.png`
## Interaction Steps
1. {Step 1 — what to click/type/do}
2. {Step 2 — what happens}
3. {Step 3 — expected result}
## UI Details
- Location: {where on the page}
- Components used: {buttons, forms, tables, etc.}
- Visual style: {colors, sizes, notable design choices}
## Data Model (observed)
- Input: {what data the user provides}
- Output: {what data is displayed/returned}
- Validation: {any observed validation rules}
## Edge Cases (observed)
- Empty state: {what shows when no data}
- Error state: {what shows on invalid input}
- Loading state: {any loading indicators}
Write .harness/baseline/baseline-report.md:
# Baseline Report — {Product Name}
## Reference URL
{url}
## Capture Date
{ISO timestamp}
## Product Overview
{2-3 sentence description of what this product does}
## Sitemap
{List of all discovered pages with brief descriptions}
## Feature Inventory
| # | Feature | Page | Screenshots | Priority |
|---|---------|------|-------------|----------|
| 1 | {name} | {page} | {count} | {P0/P1/P2} |
## Key User Flows
| # | Flow Name | Steps | Screenshots |
|---|-----------|-------|-------------|
| 1 | {name} | {count} | flow-{name}-*.png |
## Visual Design Summary
- Color palette: {extracted colors}
- Typography: {observed fonts and sizes}
- Layout pattern: {sidebar, topbar, grid, etc.}
- Component library: {if identifiable — Material, Ant, Tailwind, etc.}
## Technical Observations
- Framework hints: {any observable framework indicators}
- API patterns: {REST/GraphQL, observed endpoints}
- Real-time features: {WebSocket, SSE, polling}
## Recommended Clone Strategy
{Based on complexity, suggest how to break this into features for /proposal}
Report to the user:
/proposal "Clone {product name}" referencing the baseline