.claude/skills/issue-start/SKILL.md
Start a new task with GitHub issue, branch, and worktree setup
npx skillsauth add AtsushiHashimoto/research-project-template .claude/skills/issue-startInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
新しいタスクを開始します。GitHub Issue の作成、ブランチ作成、Worktree 作成、仕様レビューを自動的に実行します。
/issue/start データセットローダーの実装
GitHub Issue を作成
ブランチを作成
{type}/ISSUE_ID-descriptionfeature/5-add-dataset-loader, survey/3-related-workWorktree を作成
.worktrees/issueN作業開始の準備
仕様の対話(/issue/auto 経由時はスキップ → auto-reviewer が代理判断)
/qa/ask で Slack に質問を投げて作業続行/qa/ask に残すことを推奨仕様レビュー(/review-spec)(/issue/auto 経由時はスキップ → auto.md の Step 1.5 で実行)
.spec/issues/{issue_id}-{description}.md に保存Plan Mode
Issue作成時にユーザーに確認する:
どの種類のタスクですか?
1. feature - 新機能追加
2. bug - バグ修正
3. survey - 文献・ライブラリ調査 → docs/surveys/
4. experiment - 仮説検証 → data/shared/experiments/
5. validation - 動作確認
6. docs - ドキュメント
7. refactor - リファクタリング
8. chore - CI・依存関係など
選択されたラベルに応じてブランチプレフィックスを決定:
feature/fix/survey/experiment/docs/現在の状態を確認:
git status
git worktree list
Issue を作成(自分をAssigneeに設定して通知を受け取る):
gh issue create --title "$TASK_DESCRIPTION" --body "詳細な説明" --label "$LABEL" --label "in-progress" --assignee @me
Worktree とブランチを作成:
ISSUE_ID=$(gh issue list --limit 1 --json number --jq '.[0].number')
DESCRIPTION=$(echo "$TASK_DESCRIPTION" | tr ' ' '-' | tr '[:upper:]' '[:lower:]')
REPO_ROOT=$(git rev-parse --show-toplevel)
WORKTREE_PATH="${REPO_ROOT}/.worktrees/issue${ISSUE_ID}"
git worktree add "$WORKTREE_PATH" -b "${BRANCH_PREFIX}/${ISSUE_ID}-${DESCRIPTION}"
Issue に開始報告:
gh issue comment "$ISSUE_ID" --body "## タスク開始
- ブランチ: \`${BRANCH_PREFIX}/${ISSUE_ID}-${DESCRIPTION}\`
- Worktree: \`${WORKTREE_PATH}\`
作業を開始します。"
このコマンドは Claude が自動的に実行します(CLAUDE.md の自動実行ルールに従う)。 ユーザーが明示的に呼び出すこともできます。
data-ai
Set up data directories in a new worktree
testing
Safely remove a worktree after checking for important data
data-ai
Initialize worktree data protection configuration (run once in main repository)
research
Sync updates from research-project-template (テンプレート更新の取り込み)