スキル一覧に戻る
whywaita

worktree-impl

by whywaita

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

SKILL.md


name: worktree-impl description: Create a git worktree for isolated implementation after planning. Use when starting implementation or when a clean worktree is requested.

Git Worktree Implementation

Workflow

  1. Confirm the current directory is a git repo.
  2. Fetch latest refs: git fetch origin.
  3. List existing worktrees: git worktree list.
  4. Decide branch name.
    • If a name is provided, use it.
    • Otherwise infer naming from git branch -r and propose a name for approval.
  5. Determine base branch:
    • git symbolic-ref refs/remotes/origin/HEAD | sed 's@^refs/remotes/origin/@@'
  6. Create the worktree:
    • git worktree add -b <branch-name> .worktrees/<sanitized-name> origin/<base>
    • <sanitized-name> replaces / with -.
  7. Offer next actions:
    • cd <worktree-path> && codex
    • Continue in current session after cd

Placement rules

  • Place worktrees under <repo>/.worktrees/<branch-name>/.
  • Keep .worktrees/ out of version control (add to .gitignore if needed).

スコア

総合スコア

55/100

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

SKILL.md

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

+20
LICENSE

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

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新

+5
フォーク

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

0/5
Issue管理

オープンIssueが50未満

+5
言語

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

+5
タグ

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

+5

レビュー

💬

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