Skip to content

Commit 461b121

Browse files
authored
Merge pull request #81 from K9i-0/develop
Release v0.7.15
2 parents c723c04 + 9bd8c13 commit 461b121

38 files changed

+2846
-810
lines changed

.claude/commands/bump-version.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
@scripts/update-version.sh を使ってバージョンを更新する
2+
3+
スラッシュコマンド `/bump-version` を引数なしで実行した場合は、デフォルトで `patch` バージョンを更新します。
4+
5+
## 使用方法
6+
7+
### 増分指定でバージョンを更新
8+
- `patch` - パッチバージョンを増やす (0.7.0 → 0.7.1)
9+
- `minor` - マイナーバージョンを増やす (0.7.0 → 0.8.0)
10+
- `major` - メジャーバージョンを増やす (0.7.0 → 1.0.0)
11+
12+
### 特定のバージョンを指定
13+
- 例: `0.8.0`
14+
15+
## 実行例
16+
17+
```bash
18+
# パッチバージョンを上げる
19+
./scripts/update-version.sh patch
20+
21+
# マイナーバージョンを上げる
22+
./scripts/update-version.sh minor
23+
24+
# 特定のバージョンに設定
25+
./scripts/update-version.sh 0.8.0
26+
```
27+
28+
## 実行後の処理
29+
30+
1. 変更内容を確認
31+
2. CHANGELOG.mdを更新(必要に応じて)
32+
3. コミット: `git add Info.plist CHANGELOG.md && git commit -m "chore: bump version to <version>"`

.claude/commands/start-work.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
---
2+
description: 作業環境をセットアップしてClaude Codeを起動
3+
allowed-tools: Bash(git *), Bash(tmux *), Read, Write
4+
---
5+
6+
## 環境確認
7+
- Git status: !`git status --porcelain | head -5 || echo "✅ 作業ツリーはクリーンです"`
8+
- Tmux: !`which tmux >/dev/null && echo "✅ tmux is installed" || echo "❌ tmux not found"`
9+
- 現在のブランチ: !`git branch --show-current`
10+
- 既存のworktrees: !`git worktree list | tail -n +2 || echo "No worktrees found"`
11+
12+
## タスク
13+
作業内容: **{{ARGUMENTS}}**
14+
15+
以下の手順で作業環境をセットアップしてください:
16+
17+
1. まず、作業内容から適切なブランチタイプとブランチ名を決定してください:
18+
- 「実装」「追加」「機能」→ `feature/`
19+
- 「修正」「バグ」「エラー」「失敗」→ `fix/`
20+
- 「更新」「ドキュメント」「README」→ `docs/`
21+
- 「リファクタ」「改善」→ `refactor/`
22+
- その他 → `chore/`
23+
24+
2. ブランチ名は以下のルールで生成してください:
25+
- 日本語を英語に変換(例:リリース→release、失敗→failure、調査→investigate)
26+
- スペースをハイフンに変換
27+
- 小文字に統一
28+
29+
3. 以下のコマンドを実行してください:
30+
31+
```bash
32+
# developブランチを更新
33+
git fetch origin develop:develop
34+
35+
# worktreeを作成(ブランチ名を適切に置き換えてください)
36+
git worktree add -b [ブランチタイプ]/[ブランチ名] ../worktrees/[ブランチ名] develop
37+
38+
# tmuxセッションを作成してClaude Codeを起動
39+
tmux new-session -d -s claude-[ブランチ名] -c ../worktrees/[ブランチ名] "claude code"
40+
```
41+
42+
4. セッション作成後、以下の情報を表示してください:
43+
- 接続方法: `tmux attach -t claude-[ブランチ名]`
44+
- 片付け方法:
45+
- `tmux kill-session -t claude-[ブランチ名]`
46+
- `git worktree remove ../worktrees/[ブランチ名]`

0 commit comments

Comments
 (0)