From claude-resources
Force-syncs current Git branch to remote target by deleting/re-pushing with backup PR for GitHub 'Restore branch' recovery. Use when sync-to fails on conflicts or for force push requests.
npx claudepluginhub takazudo/claude-resources<target-branch> | --setupThis skill is limited to using the following tools:
> **DO NOT auto-invoke this skill.** This destructively overwrites a remote branch. Always ask for user confirmation before proceeding.
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.
DO NOT auto-invoke this skill. This destructively overwrites a remote branch. Always ask for user confirmation before proceeding.
Overwrite a remote target branch with the current branch by deleting the remote target and re-pushing. Avoids git push --force by using delete + push instead.
Before overwriting, the script automatically:
backup/YYYYMMDDHHMM-<target> branchIf the target branch doesn't exist yet (first-time push), backup steps are skipped.
Run the bundled script:
bash $HOME/.claude/skills/sync-force-to/scripts/sync-force-to.sh $ARGUMENTS
Report the script output to the user verbatim. Do not add extra commentary unless there was an error.
--setup)When $ARGUMENTS is --setup, do NOT run the script. Instead, configure the current project's GitHub Actions workflows to skip CI on backup/* branches:
.github/workflows/*.yml and .github/workflows/*.yamlon: triggers (push, pull_request, etc.)backup/** branches:branches: filter that already excludes backup/**, skip itbranches: filter, add '!backup/**' to the list to exclude itbranches-ignore: ['backup/**']branches-ignore:, add 'backup/**' to the existing listImportant notes for setup:
workflow_dispatch, schedule, or other non-branch triggerspush and pull_request / pull_request_target triggers