playwright
Use when the task requires capturing or automating a real browser from the terminal.
- License 许可
- MIT
- 最近更新
- 2026-11-11
- Stars
- ★ 3.1w
- Forks
- 5.0k
01 前言 Front Matter
- name
- playwright
- description
- Use when the task requires capturing or automating a real browser from the terminal.
03 SKILL.md 正文
Playwright
Use Playwright to capture the static site directly. Do not start a server for this example.
mkdir -p output/screenshots output/playwright/.tmp
export TMPDIR="$PWD/output/playwright/.tmp"
export TEMP="$TMPDIR"
export TMP="$TMPDIR"
npx --yes --package playwright@1.50.0 playwright install chromium
npx --yes --package playwright@1.50.0 playwright screenshot \
--browser=chromium \
--viewport-size=2048,1152 \
"file://$PWD/output/site/index.html" \
output/screenshots/draft-1.png
Change the final path to output/screenshots/draft-2.png for the second pass.
04 同仓库更多 Skills
csv-workbench
Analyze CSV files in /mnt/data and return concise numeric summaries.
prior-auth-packet-builder
Build a concise prior authorization packet from local case files and payer policy docs.
credit-note-fixer
Fix the tiny credit-note formatting bug and rerun the exact targeted test command.
test-coverage-improver
Measure Python SDK coverage or address measured coverage gaps. Use for coverage audits and metric regressions, not routine test additions.
sensitive-logging-audit
Audit or fix sensitive-data exposure in Python SDK diagnostics, exceptions, logging, and telemetry.
runtime-behavior-probe
Plan controlled runtime probes when explicitly invoked; execute only after the required probe approval.