From claude-resources
Splits multi-feature GitHub pull requests into smaller focused PRs using squash merges, GitHub CLI, and git. Use when PRs contain independent features or user requests 'split pr'.
npx claudepluginhub takazudo/claude-resourcesThis skill uses the workspace's default tool permissions.
Split a multi-feature pull request into smaller, focused PRs.
Guides Next.js Cache Components and Partial Prerendering (PPR): 'use cache' directives, cacheLife(), cacheTag(), revalidateTag() for caching, invalidation, static/dynamic optimization. Auto-activates on cacheComponents: true.
Guides building MCP servers enabling LLMs to interact with external services via tools. Covers best practices, TypeScript/Node (MCP SDK), Python (FastMCP).
Share bugs, ideas, or general feedback.
Split a multi-feature pull request into smaller, focused PRs.
IMPORTANT: This command ALWAYS uses squash merge to discard try-and-error history and create clean, meaningful commits. Never use cherry-pick.
gh pr view for PR detailsgh pr view --json baseRefNamegit log origin/<BASE>..HEAD (not main!)For each split feature:
a. Create new branch from base
git fetch origin
git checkout -b feature/split-name origin/<base-branch>
b. Apply changes using squash merge
git merge --squash original-branch
Review staged changes
Unstage files not related to this feature
Create clean, logical commits
CRITICAL - NO COMMIT ALTERATION:
NEVER use git commit --amend
NEVER use git rebase
c. Push and create PR
gh pr create --base <base-branch>[outdated] prefix to title