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.
来源信息
- 仓库
- dwmkerr/dotfiles
- 最近来源活动
- 2025年11月30日 09:12
- 检测到的 SKILL.md 语言
- 英语
- 星标
- 101
- 分支
- 17
安装方式
默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。
检查来源文件
决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。
正在显示 SKILL.md
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
```bash
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:
```bash
gh repo view <USERNAME>/scratch
```
If not, suggest creating one with structure: `scratch/pull-request-attachments/<org>_<repo>/`
Upload:
```bash
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:
```markdown

```
Update PR via API:
```bash
gh api repos/<org>/<repo>/pulls/XXX -X PATCH -f body="..."
```
---
[Claude Code Skills Documentation](https://docs.anthropic.com/en/docs/claude-code/skills)
在 GitHub 查看