From claude-resources
Performs filtered squash merge: takes only matching paths (e.g., doc/) from source branch, applies to target via new branch, commits, pushes, and creates PR. Ideal for syncing docs or cherry-picking directories between branches.
npx claudepluginhub takazudo/claude-resources[branch-name]This skill is limited to using the following tools:
Squash merge a source branch into a new branch off the target, keep only paths matching a filter, then commit, push, and create a PR.
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.
Squash merge a source branch into a new branch off the target, keep only paths matching a filter, then commit, push, and create a PR.
Collect via AskUserQuestion (single prompt with all questions):
develop)base/fanbassador-post)doc/)sync-doc-to-develop)If the skill was invoked with an argument, use it as the branch name and skip asking for it.
1. git fetch origin
2. Show filtered diff: git diff origin/<base>...<source> -- <filter-paths> --stat
- If no changes, abort with message
- Show to user for confirmation before proceeding
3. git checkout -b <branch-name> origin/<base>
4. git merge --squash <source>
5. git reset HEAD
6. git add <filter-paths>
7. git checkout -- . && git clean -fd
8. git diff --cached --stat (verify only filtered changes staged)
9. Commit with message: "docs: <source> ブランチの変更を <base> に同期"
- Adjust prefix (docs/feat/fix) based on content
10. git push -u origin <branch-name>
11. gh pr create --base <base> with project CLAUDE.md conventions
12. Return PR URL