Claudebase
技能 已验证 活跃在用户希望备份、保存或将当前的 Claude Code 配置推送到 GitHub 时使用。
用户可以可靠地将他们的 Claude Code 配置备份到 GitHub,确保数据安全并能够在不同环境或机器之间无缝切换。
功能
- 将本地 Claude Code 配置同步到 GitHub
- 支持多个命名配置文件
- 秘密扫描和冲突检测
- 同步操作的试运行预览
- 拉取更改前的自动备份
使用场景
- 将当前的 Claude Code 设置备份到 GitHub。
- 在新机器上或数据丢失后恢复配置。
- 在个人和工作 Claude Code 环境之间切换。
- 在同步期间预览应用前的更改。
非目标
- 同步对话或会话数据。
- 管理 Claude Code 配置之外的项目特定代码文件。
- 取代 Git 用于通用的项目版本控制。
工作流
- 解析用户参数和选项。
- 执行相应的 bash 脚本(`sync-push.sh` 或 `sync-pull.sh`)。
- 执行必要的检查(秘密检测、多机同步状态)。
- 使用 `gh` CLI 和本地 Git 与 GitHub 交互。
- 应用或预览本地配置文件更改。
- 提供反馈或提示用户确认。
先决条件
- GitHub CLI (`gh`)
- [`jq`](https://jqlang.github.io/jq/)
- [`git`](https://git-scm.com/)
- `bash`
安装
请先添加 Marketplace
/plugin marketplace add rohithzr/claudebase/plugin install claudebase@rohithzr质量评分
已验证类似扩展
Sync Profiles
100用于在用户想要列出、创建、切换、删除、比较或检查配置同步配置文件时使用。
Sync Setup
100当用户首次设置配置同步、连接到 GitHub 或重新初始化备份存储库时使用。
Sync Pull
100当用户希望从 GitHub 恢复、下载或拉取其 Claude Code 配置到此计算机时使用。
Rule Effectiveness Analysis
100Analyze which rules are actively used vs inert. Detect coverage gaps. Recommend pruning to reduce token consumption.
Create Pull Request
99Create and manage pull requests using GitHub CLI. Covers branch preparation, writing PR titles and descriptions, creating PRs, handling review feedback, and merge/cleanup workflows. Use when proposing changes from a feature or fix branch for review, merging completed work into the main branch, requesting code review from collaborators, or documenting the purpose and scope of a set of changes.
Sync Status
95在用户希望检查配置更改、查看同步状态或比较本地与远程配置时使用。