From claude-resources
Creates GitHub Actions workflow to auto-merge production branch (default: main) into documentation branch (default: doc), keeping docs synced without manual intervention. Use for auto-sync setups.
npx claudepluginhub takazudo/claude-resourcesThis skill uses the workspace's default tool permissions.
Create a GitHub Actions workflow that automatically merges a production branch into a documentation deploy branch, keeping docs up-to-date without manual sync.
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.
Create a GitHub Actions workflow that automatically merges a production branch into a documentation deploy branch, keeping docs up-to-date without manual sync.
Ask the user to confirm (use AskUserQuestion):
doc)main)Look for existing sync workflows in .github/workflows/ to avoid duplicates.
Create .github/workflows/sync-<production>-to-<doc>.yml:
name: Sync <production> to <doc> branch
# <production>ブランチへのpush時に<doc>ブランチへ自動マージ
# ドキュメントサイトが常に最新の<production>の内容を反映するようにする
on:
push:
branches: [<production>]
permissions:
contents: write
jobs:
sync:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: <doc>
fetch-depth: 0
- name: Merge <production> into <doc>
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git merge origin/<production> --no-edit
- name: Push
run: git push origin <doc>
Replace <production> and <doc> with the confirmed branch names.
After creating the workflow file, remind:
on.push.branches target) for GitHub Actions to pick it up