Skip to content
cccskills
FreePublished on GitHub

reg-commit

差分からIssueを作成 + プロジェクトに登録 + サブイシューごとのコミット + Gitフロー(analyze-diff + plan + project-mgmt)。トリガー例: 「/reg-commit」

The English summary is being prepared. Showing the original description.

Works withGitHub
See how to install

Files included (1)

  • SKILL.md9.9 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Reg Commit (Register & Commit)

差分からIssueを作成してプロジェクトに登録し、サブイシューごとにコミットしてGitフローを実行する省略形スキルです。

フロー: analyze-diff → plan → project-mgmt → サブイシューごとのコミット → Gitフロー

重要: 各サブイシューは個別にコミットしてください。まとめてコミットしないこと。

使い方

/reg-commit

ワークフロー

┌─────────────────────────────────────────────────────────────┐
│  1. analyze-diff モジュール                                   │
│     - 現在の差分を解析(git status, git diff)                │
│     - タスク分割案の作成                                       │
├─────────────────────────────────────────────────────────────┤
│  2. plan モジュール                                           │
│     - タスク分割                                               │
│     - Issue 作成(親子構造)                                   │
│     - 親子関係の設定                                           │
├─────────────────────────────────────────────────────────────┤
│  3. project-mgmt モジュール                                    │
│     - プロジェクトへの追加                                     │
│     - ステータス設定(Done)                                   │
│     - 日付設定                                                 │
├─────────────────────────────────────────────────────────────┤
│  4. サブイシューごとのコミット                                 │
│     - 各サブイシューに対応するファイルを特定                    │
│     - サブイシューごとに個別にコミット                         │
│     - 各コミットメッセージに対応するIssue番号を含める          │
├─────────────────────────────────────────────────────────────┤
│  5. Gitフロー                                                 │
│     - ブランチ作成                                             │
│     - プッシュ                                                 │
│     - PR 作成                                                 │
│     - develop へマージ                                        │
│     - クリーンアップ                                           │
└─────────────────────────────────────────────────────────────┘

重要: サブイシューごとのコミット

各サブイシューは個別にコミットする必要があります。

コミットの手順

  1. サブイシューとファイルの対応付け

    サブイシュー #16 → .claude/skills/analyze-diff/
    サブイシュー #17 → .claude/skills/plan/
    サブイシュー #18 → .claude/skills/reg-commit/
    サブイシュー #19 → .claude/skills/reg-issue/
    サブイシュー #20 → .claude/skills/task/
    サブイシュー #21 → .claude/skills/repo-manager/SKILL.md
    
  2. 各サブイシューごとにコミット

    # サブイシュー #16
    git add .claude/skills/analyze-diff/
    git commit -m "✨ feat: analyze-diffモジュールの追加
    
    Closes #16
    
    Co-Authored-By: Claude <noreply@anthropic.com>"
    
    # サブイシュー #17
    git add .claude/skills/plan/
    git commit -m "✨ feat: planモジュールの追加
    
    Closes #17
    
    Co-Authored-By: Claude <noreply@anthropic.com>"
    
    # ... 以降同様に各サブイシューでコミット
    
  3. 親Issueはクローズしない

    • 親Issueはサブイシューがすべて完了した後に手動でクローズする
    • または、PRの説明で親Issueをクローズする

親Issueの作成例

gh issue create \
  --title "✨ refactor(repo-manager): モジュール化とドキュメント更新" \
  --body "## 概要

repo-managerスキルをモジュール構成にリファクタリングし、ドキュメントを更新します。

## サブイシュー

- #16: analyze-diffモジュールの追加
- #17: planモジュールの追加
- #18: reg-commitスキルの追加
- #19: reg-issueスキルの追加
- #20: taskスキルの追加
- #21: repo-managerドキュメントの更新

## タスク

- [ ] #16: analyze-diffモジュールの追加
- [ ] #17: planモジュールの追加
- [ ] #18: reg-commitスキルの追加
- [ ] #19: reg-issueスキルの追加
- [ ] #20: taskスキルの追加
- [ ] #21: repo-managerドキュメントの更新"

詳細

このスキルは以下のモジュールを組み合わせたものです:

注意: repo-flow モジュールは使用しません。代わりに、各サブイシューごとに個別にコミットを作成してから、Gitフロー(ブランチ作成・プッシュ・PR・マージ)を実行します。

なぜ repo-flow を使わないのか?

repo-flow モジュールは、すべての変更を1つのコミットにまとめてしまいます。しかし、サブイシューごとにIssueを作成した場合、各サブイシーに対して個別のコミットを作る必要があります。

したがって:

  • 各サブイシュー: 対応するファイルを個別にコミット(Closes #番号を含める)
  • Gitフロー: コミットが完了した後に、ブランチ作成・プッシュ・PR・マージを実行

詳細なドキュメントは各モジュールを参照してください。

実例

シナリオ: 6つのモジュールを追加する場合

# 1. 差分を解析
git status
git diff

# 2. Issueを作成(親子構造)
親Issue #15: ✨ refactor(repo-manager): モジュール化とドキュメント更新

## サブイシュー

- #16: analyze-diffモジュールの追加
- #17: planモジュールの追加
- #18: reg-commitスキルの追加
- #19: reg-issueスキルの追加
- #20: taskスキルの追加
- #21: repo-managerドキュメントの更新

# 3. プロジェクトに追加・ステータス設定
gh project item-add 2 --url "https://github.com/owner/repo/issues/16"
# ... 各サブイシューをプロジェクトに追加

# 4. 各サブイシューごとにコミット
git checkout -b feature/refactor-repo-manager-15 origin/develop

# サブイシュー #16
git add .claude/skills/analyze-diff/
git commit -m "✨ feat: analyze-diffモジュールの追加

差分を解析してタスク分割案を作成するモジュールを追加しました。

Closes #16

Co-Authored-By: Claude <noreply@anthropic.com>"

# サブイシュー #17
git add .claude/skills/plan/
git commit -m "✨ feat: planモジュールの追加

タスク分割・Issue作成・親子関係設定を行うモジュールを追加しました。

Closes #17

Co-Authored-By: Claude <noreply@anthropic.com>"

# ... 以降同様に各サブイシューでコミット

# 5. Gitフロー
git push -u origin feature/refactor-repo-manager-15

# PRを作成(親Issueをクローズ)
gh pr create \
  --title "✨ refactor(repo-manager): モジュール化とドキュメント更新" \
  --body "## 概要

repo-managerスキルをモジュール構成にリファクタリングしました。

## サブイシュー

- Closes #16: analyze-diffモジュールの追加
- Closes #17: planモジュールの追加
- Closes #18: reg-commitスキルの追加
- Closes #19: reg-issueスキルの追加
- Closes #20: taskスキルの追加
- Closes #21: repo-managerドキュメントの更新

## 親Issue

Closes #15

Co-Authored-By: Claude <noreply@anthropic.com>" \
  --base develop

# PRをマージ
gh pr merge --merge --delete-branch=true

注意点

  1. 各サブイシューは個別にコミットする: まとめてコミットしないこと
  2. コミットメッセージにIssue番号を含める: Closes #番号 を含めると自動的にIssueがクローズされる
  3. 親Issueにはサブイシュー番号を記載する:
    • 親Issueの説明に、すべてのサブイシュー番号を記載する
    • 親IssueをクローズするPRの説明にも、すべてのサブイシュー番号を記載する
    • 例:
      ## サブイシュー
      
      - Closes #16: analyze-diffモジュールの追加
      - Closes #17: planモジュールの追加
      - Closes #18: reg-commitスキルの追加
      ...
      
  4. 親Issueのクローズタイミング: 最後のサブイシューで親Issueもクローズするか、手動でクローズする

Reviews

No reviews yet. Tell others what you thought.

Comments

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.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

差分解析してタスク分割。 トリガー例: 「/diff」

The English summary is being prepared. Showing the original description.

Sunwood-AI-OSS-Hub/zero-cc3Updated Feb 17, 2026

Cinderella Browser API を使用してブラウザ操作を行うスキル。ブラウザの自動化、スクリーンショット取得、ページ操作が必要な時に使用する。API は http://browser-api:8000、noVNC は http://localhost:7900

The English summary is being prepared. Showing the original description.

Sunwood-AI-OSS-Hub/zero-cc3Updated Feb 17, 2026

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.

Sunwood-AI-OSS-Hub/zero-cc3Updated Feb 17, 2026

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.

Sunwood-AI-OSS-Hub/zero-cc3Updated Feb 17, 2026

Claude Codeの拡張機能(スキル、サブエージェント、プロジェクト設定)をユーザーの自然言語指示から自動生成するスキル。「○○を作るスキルを作って」「○○エージェントを作って」「CLAUDE.mdを設定して」などのリクエスト時に使用。v2.1.1以降、スラッシュコマンドとスキルは統合されたため、すべてスキルとして作成。

The English summary is being prepared. Showing the original description.

Sunwood-AI-OSS-Hub/zero-cc3Updated Feb 17, 2026

fal-ai

Free

fal.ai APIを使って画像生成・画像編集・動画生成を行うワークスペーススキル

The English summary is being prepared. Showing the original description.

Sunwood-AI-OSS-Hub/zero-cc3Updated Feb 17, 2026

See all skills by Sunwood-AI-OSS-Hub

Report a problem with this skill