AgentSkillsCN

starting-issue-work

从现有 Issue 中创建 Worktree,开始开展工作。适用于用户要求 /start、启动 Issue 工作时使用。

SKILL.md
--- frontmatter
name: starting-issue-work
description: 既存IssueからWorktreeを作成して作業を開始します。/start、Issue作業開始を求められた場合に使用してください。

Issue から作業開始

既存の Issue から Worktree を作成して作業を開始します。

実行フロー

text
/start #<issue-number>
    ↓
gh issue view で Issue 情報取得
    ↓
ラベル・タイトルからタイプ判定
    ↓
ブランチ名決定: <type>/<issue-number>-<description>
    ↓
Worktree 作成: just worktree-create <branch>
    ↓
移動 + claude-init を案内

タイプ判定ロジック

ラベル / キーワードタイプ
bug, バグ, fixfix
enhancement, feature, 機能feat
docs, ドキュメントdocs
test, テストtest
refactorrefactor
chore, 設定, CIchore
デフォルトfeat

出力例

text
Issue #42 の情報を取得しました
   タイトル: キャラクター設定機能を追加
   ラベル: enhancement, frontend

Worktree を作成しました
   ブランチ: feat/42-character-settings
   パス: ../tts-partner-worktrees/feat/42-character-settings

次のステップ:
1. cd ../tts-partner-worktrees/feat/42-character-settings
2. 新しい Claude Code セッションを開始
3. just claude-init
4. Issue #42 の内容を確認して実装開始

重要ルール

  1. main ブランチで直接作業禁止
  2. 存在しない Issue 番号はエラー
  3. 同名 worktree が存在する場合は警告