From pr-workflow
Clean up local PR review cache files for merged or closed PRs. Use when user says "clean up cache", "cleanup merged PR caches", "remove old caches", "clear review cache", or wants to free up space from stale cache files.
How this skill is triggered — by the user, by Claude, or both
Slash command
/pr-workflow:pr-cache-cleanupThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Remove cache files for PRs that have been merged or closed.
Remove cache files for PRs that have been merged or closed.
Invoke this skill when:
Note: This skill has disable-model-invocation: true because it deletes files and should only be user-triggered.
Always start with a dry run to show what would be deleted:
${CLAUDE_PLUGIN_ROOT}/scripts/cache-cleanup.sh --dry-run
Present the preview results to the user:
Ask for confirmation before proceeding.
Only after user confirmation:
${CLAUDE_PLUGIN_ROOT}/scripts/cache-cleanup.sh
Inform the user:
| Flag | Description |
|---|---|
--dry-run | Preview only, don't delete |
--all | Remove ALL cache files including open PRs (use with caution) |
=== PR Review Cache Cleanup ===
DRY RUN - no files will be deleted
Scanning cache files...
Would delete: .pr-review-cache/pr-123.json (PR #123, state: MERGED, cached: 2026-02-01T10:00:00Z)
Would delete: .pr-review-cache/pr-124.json (PR #124, state: CLOSED, cached: 2026-02-02T10:00:00Z)
Keeping: .pr-review-cache/pr-125.json (PR #125 is still open)
=== Summary ===
Would delete: 2 files
Kept: 1 files
完整工作流程說明請參閱 pr-review-workflow.md。
npx claudepluginhub marxbiotech/pr-review-toolkit --plugin pr-workflowGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.