analyze-diff
Free差分解析してタスク分割。 トリガー例: 「/diff」
The English summary is being prepared. Showing the original description.
Git Flow ワークフローで開発からdevelopへのマージまでを実行。「フィーチャーブランチ作って」「PR出して」「コードレビューして」「マージして」などのリクエスト時に使用。開発中の差分がある状態からブランチを作成します。
develop → main のリリースフローもサポート。※ develop → main のマージは人間が実行します。
The English summary is being prepared. Showing the original description.
Review the instructions the agent will receive before you install.
Git Flow ワークフローでフィーチャーブランチの作成からdevelopへのマージまでを支援します。
※ develop → main のマージは人間が実行します。このスキルではmainへマージしません。
前提: 開発で差分がある状態から開始します
重要: ユーザーからの明示的な指示がない場合は、ワークフローを最後(developへのマージとクリーンアップ)まで自動的に実行してください。各ステップ間でユーザーに確認を求めず、一気通貫で実行してください。
git status
git diff --stat
git branch --show-current
重要: 開発中の差分がある状態でブランチを作成します
# 現在のブランチを確認
git branch --show-current
# develop からブランチ作成(差分は新しいブランチに引き継がれる)
git checkout develop 2>/dev/null || git checkout main
git pull
# 変更を一時退避(必要な場合)
git stash push -m "WIP: <description>"
# フィーチャーブランチ作成
git checkout -b feature/<name>
# 変更を戻す(一時退避していた場合)
git stash pop
ブランチ名の決定:
feature/<description>
例:
feature/repo-create-refs
feature/add-auth-system
feature/fix-login-bug
現在の差分を確認:
git status
git diff
重要: 差分は巻き戻しやすいように細かくコミットする
コミットメッセージ形式:
<emoji> <type>: <subject>
[optional body]
Co-Authored-By: Claude <noreply@anthropic.com>
タイプと対応する絵文字:
| タイプ | 絵文字 | 説明 |
|---|---|---|
feat | ✨ | 新機能 |
fix | 🐛 | バグ修正 |
docs | 📚 | ドキュメント |
style | 💄 | フォーマット |
refactor | ♻️ | リファクタリング |
test | 🧪 | テスト |
chore | 🔧 | その他 |
perf | ⚡ | パフォーマンス |
ci | 🤖 | CI/CD |
コミット例:
# 細かく分けてコミット
git add path/to/auth.py
git commit -m "✨ feat(auth): add JWT authentication module
- Implement JWT-based authentication
- Add token generation and validation
Co-Authored-By: Claude <noreply@anthropic.com>"
git add path/to/login.py
git commit -m "✨ feat(auth): add login endpoint
- Add /login POST endpoint
- Include password hashing with bcrypt
Co-Authored-By: Claude <noreply@anthropic.com>"
git add path/to/logout.py
git commit -m "✨ feat(auth): add logout endpoint
- Add /logout POST endpoint
- Invalidate session tokens
Co-Authored-By: Claude <noreply@anthropic.com>"
git push -u origin feature/<name>
ビルド/テストの実行: プロジェクトにビルドコマンドやテストコマンドが存在する場合は、PR作成前に実行する
# ビルド(存在する場合)
npm run build # Node.js
mvn compile # Maven
gradle build # Gradle
cargo build # Rust
go build # Go
# テスト(存在する場合)
npm test # Node.js
mvn test # Maven
gradle test # Gradle
cargo test # Rust
go test ./... # Go
# 結果を保存(エビデンスとしてPRに添付)
npm run build > build.log 2>&1
npm test > test.log 2>&1
タイトル形式:
<emoji> <type>(<scope>): <subject>
例:
✨ feat(repo-create): add comprehensive reference templates
🐛 fix(auth): resolve JWT token expiration issue
📚 docs(readme): update installation instructions
PR 作成:
# develop に対してPRを作成
gh pr create --base develop \
--title "✨ feat(scope): description" \
--body "PR body here"
PR ボディテンプレート:
詳細なテンプレートは references/PULL_REQUEST.md を参照
# テンプレートを表示
cat .claude/skills/repo-flow/references/PULL_REQUEST.md
主なセクション:
gemini-code-assist などのレビュー確認:
# レビューコメントを確認
gh pr view <number> --json comments
# gemini-code-assist のレビューを抽出
gh api repos/:owner/:repo/pulls/:number/comments --jq '.[] | select(.user.login == "gemini-code-assist[bot]")'
修正コミット:
# 修正をコミット(同じブランチにプッシュ)
git add <files>
git commit -m "🐛 fix: resolve review feedback
- Address comment about XXX
- Fix issue YYY pointed out in review
Co-Authored-By: Claude <noreply@anthropic.com>"
git push
Git Flow の正しい順序:
feature → develop → (人が確認して) → main
# develop に切り替え
git checkout develop
git pull
# feature ブランチをマージ
git merge feature/<name> --no-ff
git push origin develop
# ローカルブランチ削除
git branch -d feature/<name>
# リモートブランチ削除
git push origin --delete feature/<name>
# リモートの追跡ブランチをクリーンアップ
git fetch --prune
main ← 本番環境(リリース時のみ更新)
↑
develop ← 開発統合ブランチ
↑
feature/* ← フィーチャーブランチ(各機能開発)
1. 開発(ファイル修正)
↓
2. feature/<name> ブランチ作成
↓ (差分を引き継ぐ)
3. コミット & プッシュ
↓
4. PR 作成 (feature → develop)
↓
5. レビュー & 修正
↓
6. develop にマージ
↓ (リリース時)
7. main にマージ (人間が実行)
↓
8. ブランチ削除
| 操作 | コマンド |
|---|---|
| 差分確認 | git status, git diff |
| ブランチ作成 | git checkout -b feature/<name> |
| 一時退避 | git stash push -m "message" |
| 復元 | git stash pop |
| コミット | git add . && git commit |
| プッシュ | git push -u origin feature/<name> |
| PR 作成 | gh pr create --base develop |
| develop へマージ | git merge feature/<name> --no-ff |
| ブランチ削除 | git branch -d feature/<name> |
# main から develop を作成
git checkout main
git pull
git checkout -b develop
git push -u origin develop
✅ やるべきこと:
❌ やるべきでないこと:
git push --force を使用(緊急時のみ)# 開発中の差分から最後まで一気に実行
/repo-flow フィーチャーブランチ作って
↓
1. 差分を確認します
2. ブランチ名を決定します
3. feature/<name> を作成して差分を移動
4. **ビルド/テストを実行**(プロジェクトに応じて)
5. 変更を**ファイル単位・機能単位で細かくコミット**(絵文字付き)
6. プッシュ
7. develop への PR を作成(多角的分析、ビルド/テスト結果を記載)
8. develop にマージ
9. ブランチをクリーンアップ
# ユーザーが明示的にステップを指定した場合は、そのステップのみ実行
/repo-flow PRだけ出して
↓
- プッシュ & PR 作成のみ実行(既にコミット済みの場合)
/repo-flow マージだけして
↓
- develop へのマージのみ実行
# main へのマージは人間が実行
# ↓
# リリース時、人間が develop → main をマージ
# 悪い例: 全部1つのコミット
git add .
git commit -m "✨ feat: add authentication system"
# 良い例: 細かく分ける
git add src/auth/jwt.py
git commit -m "✨ feat(auth): add JWT module
Co-Authored-By: Claude <noreply@anthropic.com>"
git add src/auth/login.py
git commit -m "✨ feat(auth): add login endpoint
Co-Authored-By: Claude <noreply@anthropic.com>"
git add src/auth/logout.py
git commit -m "✨ feat(auth): add logout endpoint
Co-Authored-By: Claude <noreply@anthropic.com>"
git add tests/auth_test.py
git commit -m "🧪 test(auth): add authentication tests
Co-Authored-By: Claude <noreply@anthropic.com>"
| スキル | 用途 |
|---|---|
| repo-maintain | リリース、変更履歴、Issue |
| repo-create | 新規リポジトリ作成 |
No reviews yet. Tell others what you thought.
No login needed. Share how it worked for you, ask a question, or note where it did not run.
No comments yet. Be the first to write one.
差分解析してタスク分割。 トリガー例: 「/diff」
The English summary is being prepared. Showing the original description.
Cinderella Browser API を使用してブラウザ操作を行うスキル。ブラウザの自動化、スクリーンショット取得、ページ操作が必要な時に使用する。API は http://browser-api:8000、noVNC は http://localhost:7900
The English summary is being prepared. Showing the original description.
AIエージェントのキャラクター定義ファイルを生成するスキル。ユーザーがキャラクター設定(名前、二つ名、年齢、属性、性格、支配の流儀、口癖、外見、絵文字など)を入力すると、それに基づいてIDENTITY.md、SOUL.md、USER.md、AGENTS.md、TOOLS.md、BOOTSTRAP.md、HEARTBEAT.mdの7つのファイルとavatar.pngを配置したキャラクターディレクトリを作成する。また、agent-identity/README.md にキャラクター情報とアバター画像を追加する。ユーザーが「キャラクターを作って」「新しいキャラクターを追加して」「○○っていうキャラクターのファイル作って」と言った時や、キャラクター設定を詳細に提供した時に使用する。
The English summary is being prepared. Showing the original description.
Clone a GitHub repository and automatically build a Docker environment for local verification. Creates a verification workspace in WS/, sets up Docker files, launches the environment, and performs health checks.
The English summary is being prepared. Showing the original description.
Claude Codeの拡張機能(スキル、サブエージェント、プロジェクト設定)をユーザーの自然言語指示から自動生成するスキル。「○○を作るスキルを作って」「○○エージェントを作って」「CLAUDE.mdを設定して」などのリクエスト時に使用。v2.1.1以降、スラッシュコマンドとスキルは統合されたため、すべてスキルとして作成。
The English summary is being prepared. Showing the original description.
fal.ai APIを使って画像生成・画像編集・動画生成を行うワークスペーススキル
The English summary is being prepared. Showing the original description.