AGENT SKILL
playwright-verify
Browser verification using Playwright MCP. Navigate, interact, screenshot.
- License 许可
- MIT
- 最近更新
- 2026-03-11
- Stars
- ★ 0
- Forks
- 1
01 前言 Front Matter
- name
- playwright-verify
- description
- Browser verification using Playwright MCP. Navigate, interact, screenshot.
- allowed-tools
- Bash
02 资源文件 13
- 资产文件Assets/creative-writing-template.md6.3 KB
- 资产文件Assets/idea-generation-template.md6.1 KB
- 参考文档Examples.md2.3 KB
- 参考文档Principles.md1.1 KB
- 参考文档ResearchFoundation.md2.3 KB
- 参考文档Templates.md3.1 KB
- 参考文档Workflows/DomainSpecific.md1.9 KB
- 参考文档Workflows/IdeaGeneration.md1.5 KB
- 参考文档Workflows/MaximumCreativity.md1.6 KB
- 参考文档Workflows/StandardCreativity.md1.3 KB
- 参考文档Workflows/SyntheticDataExpansion.md5.1 KB
- 参考文档Workflows/TechnicalCreativityGemini3.md17.5 KB
- 参考文档Workflows/TreeOfThoughts.md1.8 KB
03 SKILL.md 正文
Playwright Verification
Available Tools
| Tool | Purpose | Use when |
|---|---|---|
browser_navigate |
Navigate to a URL | Starting verification |
browser_snapshot |
Accessibility tree (~1-2 KB text) | Understanding page state — preferred |
browser_click |
Click elements | Interacting with UI |
browser_type |
Type into fields | Filling forms |
browser_take_screenshot |
Capture page as image (~1-2 MB) | Visual confirmation — sparingly |
browser_run_code |
Execute JavaScript | Saving screenshots to disk |
Best Practices
Prefer browser_snapshot over browser_take_screenshot
browser_snapshotreturns text (~1-2 KB) — use for understanding statebrowser_take_screenshotreturns an image (~1-2 MB) — use only for visual confirmation
Limit inline screenshots to ~3 per session
Exceeding this risks 413 payload errors that terminate the session.
Save bulk evidence to disk
// browser_run_code:
await page.screenshot({ path: '/tmp/agent-artifacts/screenshots/step-name.png', fullPage: true });
Save to /tmp/agent-artifacts/screenshots/ — the workflow auto-uploads these.
Verification Flow
- Navigate to the target URL
- Use
browser_snapshotto understand page state - Interact and verify the change works
- Save evidence screenshots to disk
- Use
browser_take_screenshotfor the ONE key screenshot (max ~3 inline)
04 同仓库更多 Skills
story-workflow
9-phase workflow for implementing user stories. Covers requirements through verification.
★ 0
rfs-proposal
File a Request for Skill (RFS) when a skill gap is detected during execution.
★ 0
review-handling
Process review comments from AI review or human reviewers. Evaluate, respond, and resolve or escalate.
★ 0
pr-creation
Create GitHub pull requests with proper format.
★ 0
merge-conflicts
Resolve merge conflicts by rebasing. Use when PR mergeable status is CONFLICTING.
★ 0
mandatory-gates
Pre-implementation gates. MUST be followed before writing any code. Investigation, confidence assessment, and scope confirmation.
★ 0