ark-dashboard-testing
Test Ark Dashboard with Playwright and create PRs with screenshots. Use when testing dashboard UI, taking screenshots for PRs, or reviewing dashboard changes.
$ インストール
git clone https://github.com/dwmkerr/dotfiles /tmp/dotfiles && cp -r /tmp/dotfiles/claude/skills/ark-dashboard-testing ~/.claude/skills/dotfiles// tip: Run this command in your terminal to install the skill
SKILL.md
name: ark-dashboard-testing description: Test Ark Dashboard with Playwright and create PRs with screenshots. Use when testing dashboard UI, taking screenshots for PRs, or reviewing dashboard changes.
Ark Dashboard Testing
Test Ark Dashboard UI with Playwright and create PRs with embedded screenshots.
Setup
kubectl port-forward svc/ark-dashboard 3000:3000 -n default &
curl http://localhost:3000 # warm up
Test with Playwright
Use Playwright MCP tools: browser_navigate, browser_wait_for, browser_click, browser_take_screenshot.
Screenshots save to .playwright-mcp/screenshots/ - move to ./screenshots/.
PR Screenshots
Check if user has a scratch repo:
gh repo view <USERNAME>/scratch
If not, suggest creating one with structure: scratch/pull-request-attachments/<org>_<repo>/
Upload:
cd /tmp && git clone git@github.com:<USERNAME>/scratch.git
mkdir -p scratch/pull-request-attachments/<org>_<repo>
cp ./screenshots/*.png scratch/pull-request-attachments/<org>_<repo>/
cd scratch && git add . && git commit -m "chore: screenshots for <org>/<repo> PR #XXX" && git push
Reference in PR:

Update PR via API:
gh api repos/<org>/<repo>/pulls/XXX -X PATCH -f body="..."
Repository

dwmkerr
Author
dwmkerr/dotfiles/claude/skills/ark-dashboard-testing
98
Stars
17
Forks
Updated6d ago
Added1w ago