cherry-pr-test
Test Cherry Studio PRs by resolving and checking out a PR, statically inspecting its changes, running interactive UI tests against a safely tracked Electron instance through CDP, producing a structured report, cleaning up only the owned test instance, and restoring the original branch.
Install / Use
npx skills add CherryHQ/cherry-studio --skill cherry-pr-testInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
AutomationSupported Platforms
Our assessment of cherry-pr-test
cherry-pr-test scores 96/100 on our quality scale, 128th of 1,753 Automation skills we index (top 8%).
Its SKILL.md is 4.9 KB long, well organised into 14 sections with 6 code examples: a solid amount of guidance for an agent.
With 52,134 GitHub stars, it is one of the more widely adopted skills in the catalogue.
Maintenance, license and trust
- The repository was last updated 2 days ago, so cherry-pr-test is actively maintained.
- It is released under AGPL-3.0, a copyleft license: you can use it, but modified versions you distribute must carry the same license.
- Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands.
Automated pattern scan on 2026-09-27. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.
cherry-pr-test compared with similar skills
All 4 of these similar skills score higher than cherry-pr-test; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| cherry-pr-test (this skill)by CherryHQ | 96 | 52.1k | 2d ago | SKILL.md |
| Agent-Reachby Panniantong | 100 | 85.7k | 12d ago | CLAUDE.md |
| rufloby ruvnet | 100 | 73.4k | today | CLAUDE.md |
| Scraplingby D4Vinci | 100 | 84.0k | today | MCP Server |
| algorithmic-artby anthropics | 100 | 177.9k | 5d ago | SKILL.md |
Frequently asked questions
- How do I install cherry-pr-test?
- Run
npx skills add CherryHQ/cherry-studio --skill cherry-pr-test. The install tabs above show the steps for each supported agent. - Which AI agents does cherry-pr-test work with?
- It is written for Universal, as a SKILL.md file. Other agents that read the same format can often use it too.
- Is cherry-pr-test safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. It is AGPL-3.0-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is cherry-pr-test still maintained?
- The repository was last updated 2 days ago, so cherry-pr-test is actively maintained.
Skill content
View source on GitHubname: cherry-pr-test description: Test Cherry Studio PRs by resolving and checking out a PR, statically inspecting its changes, running interactive UI tests against a safely tracked Electron instance through CDP, producing a structured report, cleaning up only the owned test instance, and restoring the original branch.
Cherry Studio PR Test
Use this workflow for a bounded PR test. Use cherry-electron-dev for ongoing
implementation or debugging in the current checkout.
Prerequisites and safety
- Require authenticated
gh,pnpm, and installed project dependencies. - Use Playwright/CDP or optional
agent-browserfor UI control. - Before touching Electron, read
Electron Instance Management
and select its
ephemeralpolicy. - Treat that reference as the only authority for discovery, target selection, launch, replacement, shutdown, tracking, and troubleshooting.
- Never discard local changes. Stop and ask if checkout would overwrite them.
- Show the report before posting it anywhere.
$ARGUMENTS may contain a PR number, PR URL, latest/recent, or nothing.
Workflow
1. Resolve and inspect the PR
If no PR is specified, list recent PRs and ask the user to choose unless they requested the latest:
gh pr list --repo CherryHQ/cherry-studio --state open --limit 10 \
--json number,title,author,createdAt,headRefName,changedFiles
Record the current branch for restoration, inspect the PR, then check it out:
git status --short
git branch --show-current
gh pr view <NUMBER> --json title,body,author,headRefName,files
gh pr checkout <NUMBER>
Read the changed files and nearby instructions. Record the exact checked-out HEAD.
2. Analyze and start the app
Run static analysis while the app starts when both can proceed independently.
For static analysis:
pnpm typecheck
Also check:
- blocked or deprecated v1/v2-refactor files
- hardcoded user-visible strings instead of i18n
console.loginstead ofloggerService- missing types on new public interfaces
For Electron:
- Use the shared reference to verify existing instances.
- Reuse only an instance from this workspace whose recorded launch HEAD equals the checked-out PR HEAD.
- When reusing one, mark it borrowed and preserve its existing policy and ownership. Never reclassify a persistent instance as ephemeral.
- Otherwise gracefully replace only the verified same-workspace instance.
- Launch an
ephemeral, agent-owned instance with an isolatedCS_DEV_USER_DATA_SUFFIX, such asPR-<NUMBER>. - Keep its managed terminal/session, PIDs, ports, log, exact target, and
pr-test:<NUMBER>launch purpose ininstance.json.
Do not use broad process or port cleanup.
3. Run interactive tests
Bind the controller to the exact target returned by the shared reference. Never navigate to a guessed root URL or select a target by index.
Build test cases from the PR description and changed files:
- Capture the initial state.
- Inspect interactive elements with the available CDP controller.
- Exercise the changed behavior.
- Capture the result and verify relevant persisted state.
- Repeat edge cases justified by the change.
Consider UI rendering, interactions, persistence, light/dark themes, relevant window sizes, i18n, empty states, and rapid interaction only when in scope.
Store screenshots and the report under /tmp/pr-<NUMBER>/:
mkdir -p /tmp/pr-<NUMBER>
If an isolated profile shows the migration wizard or splash, follow the shared troubleshooting guidance and startup logs. Do not reset or force-close data.
4. Clean up and restore
Use the shared ephemeral finish procedure. Stop only an instance launched by
this PR-test workflow whose verified record remains ephemeral, agent-owned,
and scoped to pr-test:<NUMBER>. Leave every borrowed instance running. Do not
stop unrelated workspaces or packaged apps.
Restore the branch recorded before checkout. If it no longer exists, resolve the repository default branch and report the fallback before switching:
git checkout <ORIGINAL_BRANCH>
5. Report
Save /tmp/pr-<NUMBER>/report.md and show it to the user. Match the report
language to the user's language; the template uses English labels:
# PR #<NUMBER> Test Report
**Title**: <title>
**Author**: @<author>
**Branch**: <branch>
**Changed files**: <count>
## Static Analysis
| Check | Result | Notes |
| --- | --- | --- |
| TypeScript typecheck | ✅/❌ | ... |
| Blocked-file check | ✅/⚠️ | ... |
| Logging, i18n, and types | ✅/❌ | ... |
## UI Tests
### <Test Case>
<scenario, evidence, and result>

## Findings
<findings or none>
## Conclusion
- Total findings: N
- Recommendation: APPROVE / REQUEST_CHANGES / COMMENT
Do not post the report or submit a GitHub review unless the user explicitly asks.
Related Skills
Agent-Reach
85.7kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
ruflo
73.4k🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated
Scrapling
84.0k🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev
algorithmic-art
177.9kCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
