Autonomously reviews PR comments, resolves false positives, fixes trivial issues, and addresses build/lint/type failures. Useful for PR maintenance tasks like 'review PR comments' or 'fix the build'.
Ships in tldraw-tldraw-3. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Autonomously review PR comments and build status, resolving what can be done with high confidence (>=80%) and flagging the rest for human review.
Note: this repository requires that you be using node 24. Use nvm to switch to node 24 before running any commands:
nvm use 24
# Get PR number for current branch
gh pr view --json number,headRefName,url
# Get review threads with resolution status
gh api graphql -f query='
query($owner: String!, $repo: String!, $number: Int!) {
repository(owner: $owner, name: $repo) {
pullRequest(number: $number) {
reviewThreads(first: 100) {
nodes {
id
isResolved
comments(first: 50) {
nodes {
body
path
line
author { login }
createdAt
databaseId
}
}
}
}
}
}
}
'
Filter to unresolved threads only.
Read the referenced code and investigate. Classify into:
A. False positive / already resolved — The issue no longer exists in current code.
B. Trivial fix (>=80% confidence) — Obvious, mechanical fix. No design decisions or matters of opinion. Examples: typos, missing null checks, wrong variable names, off-by-one, missing imports.
C. Needs human input (<80% confidence) — Design question, significant refactor, or ambiguous fix.
Reply to a comment:
gh api repos/{owner}/{repo}/pulls/{number}/comments/{comment_id}/replies \
-f body="<your reply>"
Resolve a thread:
gh api graphql -f query='
mutation($threadId: ID!) {
resolveReviewThread(input: {threadId: $threadId}) {
thread { isResolved }
}
}
' -f threadId="$THREAD_ID"
Always push fixes, then reply, then resolve related threads (in that order).
gh pr checks --json name,status,conclusion
Investigate failures by category:
Lint errors — Run pnpm lint-current. Fix if mechanical (formatting, import order, unused vars). Flag if the lint rule itself is questionable.
Type errors — Run pnpm typecheck from repo root. Fix straightforward type mismatches. Flag if fix requires architectural decisions.
Unit test failures — Run pnpm test run in relevant workspace. Fix if test expectation is clearly outdated due to intentional code changes. Flag if failure reveals actual bug or design concern.
E2E snapshot failures — Determine whether the PR's code changes should cause visual differences:
update-snapshots label to trigger the automated update workflow:
gh pr edit --add-label "update-snapshots"
Mysterious/unexpected failures — Do not attempt to fix. Flag for human review with error output.
git add <specific files>
git commit -m "Address PR review feedback
- <summary of changes>"
git push
Stage specific files only. Never force push. Never use git add -A.
Always end with:
## PR review summary
### Resolved
- <thread>: <what was done>
### Fixed
- <description of fix>
### Needs your input
- <thread>: <why it needs human judgment>
### Build status
- <status of each check, any actions taken>
Omit empty sections.
pnpm typecheck) or lint (pnpm lint-current).What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/tldraw-tldraw-3:shepherd-prfrom tldraw-tldraw-3
tldraw-tldraw-3@cascade-productivity is listed by joshuarweaver/cascade-productivity — review the source before installing
npx claudepluginhub joshuarweaver/cascade-productivity --plugin tldraw-tldraw-324 skills in this plugin
/clean-copyReimplement the current branch on a new branch with a clean, narrative-quality git commit history. Use when asked to make a clean copy branch, clean up commit history by replaying work, or rebuild a branch as reviewable commits./commit-changesCreate a git commit for the current changes. Use when asked to commit changes, make a commit, generate a commit message, or commit the current worktree with optional user-provided context./dotcom-release-crewPost to the/dotcom-release-marketingPost a plain-language summary of what's shipping in this week's tldraw.com (dotcom) release to the marketing team's Discord channel. Use when preparing the weekly dotcom release, when asked what's going out this week for a non-engineering audience, or when the scheduled release-marketing automation runs. Examines the production...main commit range, writes the user-facing changes in the house release-notes style, and posts a concise summary via a Discord webhook./issueCreate a GitHub issue in the tldraw repository from a user description, then mature it through follow-up questions. Use when the user invokes issue, asks to create an issue, report a bug, file a feature request, or answers follow-up questions for an issue created by this skill./prCreate or update a pull request for the current branch in the tldraw repository. Use when the user invokes pr, asks to create a PR, update an existing PR, push current branch changes for review, or prepare a pull request.Other plugins' skills for the same job