ソース情報
- リポジトリ
- lev-os/lev-content
- ソースの最終更新活動
- 2026年2月13日 18:54
- 検出された SKILL.md の言語
- 英語
- スター
- 0
- フォーク
- 0
インストール方法
デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。
ソースファイルを確認
インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。
メニュー
デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。
インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
直接コマンドでは確認用 Prompt が省略されます。実行前にソースを確認してください。
npx skills add https://github.com/lev-os/lev-content --skill gitsyncコマンドは1行のまま表示されます。コピー前に横へスクロールして全体を確認してください。
ローカルで確認しますか?SkillsMP が現在取得できるファイルをダウンロードできます。
SOC 職業分類に基づく
SKILL.md を表示中
| name | gitsync |
| description | Fast git sync with project codes - add, commit, pull (no rebase), push |
| trigger | /sync, gitsync, "sync repos", "git sync", "push all" |
Fast parallel git sync across repos with project code resolution.
# By project code
/sync naac lev clawd chezmoi # Sync named projects
/sync all # Sync all dirty repos
/sync all --dry-run # Preview what would sync
# By path
/sync ~/proj1 ~/proj2 # Sync specific paths
/sync . # Sync current directory
# Options
--dry-run # Preview without changes
The registry at ~/.claude/skills/gitsync/projects.json maps codes to paths:
| Code | Path |
|---|---|
naac | ~/k/apps/production/naac |
lev | ~/lev |
clawd | ~/clawd |
chezmoi | ~/.local/share/chezmoi |
dotfiles | ~/.dotfiles |
leviathan | ~/digital/leviathan |
clawdbot | ~/.clawdbot |
| Symbol | Meaning |
|---|---|
| b | bd flush (daemon running) |
| B | bd sync (no daemon) |
| C | Committed |
| P | Pulled |
| U | Pushed |
| . | Skipped (nothing to do) |
| D | Dirty (dry-run only) |
git add .git commit -m "sync MM-DD HH:MM" (if dirty)git pull --no-rebasegit push/sync all scans all registered projects and syncs those with uncommitted changes.
/sync all # Sync all dirty repos
/sync all --dry-run # List dirty repos without syncing
When the script exits with code 1 (conflicts detected), the agent MUST:
# For each conflicted repo reported by gitsync:
cd <conflicted-repo>
git status --porcelain | grep "^UU" # List conflicted files
git diff --name-only --diff-filter=U # Alternative
Use AskUserQuestion with these options:
header: "Merge Conflict"
question: "How should I resolve conflicts in <repo>?"
options:
- "Accept ours (keep local changes)"
- "Accept theirs (take remote changes)"
- "Smart merge (launch subagent)"
- "Skip (I'll handle manually)"
Accept ours:
git checkout --ours .
git add .
git commit -m "resolve: accept local changes"
git push
Accept theirs:
git checkout --theirs .
git add .
git commit -m "resolve: accept remote changes"
git push
Smart merge (subagent):
Launch Task agent with subagent_type="code-refactoring:code-reviewer"
Prompt: "Analyze and resolve merge conflicts in <repo>.
Show me the conflicts, explain what each side changed,
and propose a merged solution that preserves both intents."
After resolution, re-run gitsync <repo> to complete the push.
If conflicts detected:
cd <conflicted-repo>
git status # see conflicts
git checkout --ours <file> # take local
git checkout --theirs <file> # take remote
git add . && git commit # complete merge
Then re-run /sync to continue.
~/.claude/skills/gitsync/scripts/gitsync.sh [codes|paths...] [--dry-run]
ln -sf ~/.claude/skills/gitsync/scripts/gitsync.sh ~/.claude/bin/gitsync
Skill-specific technique rationale. Apply patterns from the skill body. Progressive disclosure: metadata first, body on trigger, references on demand.
Role Definition: Specialist for gitsync domain. Executes workflows, produces artifacts, routes to related skills when needed.
Input Contract: Context, optional config, artifacts from prior steps. Depends on skill.
Output Contract: Artifacts, status, next-step recommendations. Format per skill.
Edge Cases & Fallbacks: Missing context—ask or infer from workspace. Dependency missing—degrade gracefully; note in output. Ambiguous request—clarify before proceeding.