From pr-workflow
Sync local PR review cache with GitHub. Use when user says "sync PR cache", "pull latest review", "refresh cache", "update local cache", or wants to ensure they have the latest review content from GitHub.
How this skill is triggered — by the user, by Claude, or both
Slash command
/pr-workflow:pr-cache-syncThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Synchronize local cache with the latest PR review comment from GitHub.
Synchronize local cache with the latest PR review comment from GitHub.
Invoke this skill when:
PR_NUMBER=$("${CLAUDE_PLUGIN_ROOT}/scripts/get-pr-number.sh")
This uses the branch-to-PR-number cache (branch-map.json) with 1-hour TTL, falling back to GitHub API on cache miss.
If no PR exists for the current branch, inform the user and stop.
${CLAUDE_PLUGIN_ROOT}/scripts/cache-sync.sh "$PR_NUMBER"
The script will:
Inform the user:
=== PR Review Cache Sync ===
PR #123
Previous cache: 2026-02-05T10:30:00Z
Previous hash: sha256:abc123...
Fetching from GitHub...
New cache: 2026-02-05T14:45:00Z
New hash: sha256:def456...
⚠️ Content changed since last cache!
=== Sync complete ===
完整工作流程說明請參閱 pr-review-workflow.md。
Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub marxbiotech/pr-review-toolkit --plugin pr-workflow