スキル一覧に戻る
jasonkuhrt

sync

by jasonkuhrt

Tool configurations

1🍴 0📅 2026年1月22日
GitHubで見るManusで実行

SKILL.md


name: sync description: Use when user says "sync" or wants to commit, push, pull, and run the dotfiles sync script. Also use when creating migrations for one-time cleanup on existing machines, or when a migration fails.

Sync

Full dotfiles sync: commit, git sync, resolve conflicts, run sync script.

For migrations (one-time cleanup scripts), see @migrations.md.

Steps

  1. Check for changes

    git status
    git diff
    
  2. Commit if changes exist

    • Analyze diff for distinct semantic changes
    • Make multiple commits if changes span different scopes/concerns
    • Use conventional commit format with scope from CLAUDE.md
    • Example: fish config change + claude settings change = 2 commits
  3. Git sync

    git sync  # alias for: git pull --rebase && git push
    
  4. Resolve conflicts if any

    • Autostash conflicts are common with claude/settings.json
    • Read conflicted file, resolve intelligently, then:
      git add <file>
      git stash drop  # if autostash conflict
      
    • Commit and push resolution
  5. Run sync script (Claude Code runs this directly)

    ./sync
    
    • Use ./sync -v for verbose output if debugging
  6. Relay sudo reminder if shown

    • The script auto-detects if sync-sudo is needed
    • If output shows "Next: Run sudo ./sync-sudo", relay that to user
    • If no reminder shown, everything is configured - done!

What Sync Does

./sync (Claude Code runs directly):

  • Symlinks config files (fish, git, zed, nvim, ssh, etc.)
  • Installs Homebrew packages from Brewfile
  • Sets up Node.js via pnpm
  • Configures macOS defaults (keyboard, Finder, Dock)
  • Installs Fisher plugins and npm global packages

./sync-sudo (user runs manually, only if needed):

  • Power management (display sleep)
  • Touch ID for sudo
  • Fish as default shell (/etc/shells + chsh)

スコア

総合スコア

55/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

1ヶ月以内に更新

+10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

+5

レビュー

💬

レビュー機能は近日公開予定です