Skip to content
cccskills
FreePublished on GitHub

analyze-diff

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

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

See how to install

Files included (1)

  • SKILL.md2.5 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Analyze Diff

現在の差分を解析して、タスク分割案を出力します。

前提条件

  • Git リポジトリ内であること
  • 差分が存在すること

ワークフロー

1. 現状確認

# 変更の確認
git status
git diff --stat

# カレントブランチの確認
git branch --show-current
  • カレントブランチの確認
  • 未コミット変更の有無と内容
  • 変更されたファイル一覧

2. 差分の詳細解析

# 変更ファイルの詳細
git diff FILE_PATH

# 追加・変更・削除の行数
git diff --numstat

3. タスク分割案の作成

差分の内容を分析して、タスク分割案を作成:

  1. 変更のカテゴライズ: ファイルの種類や機能ごとにグループ化
  2. タスクの抽出: 各変更を独立したタスクとして抽出
  3. 優先順位付け: 依存関係を考慮して順序を決定

4. 結果を出力

タスク分割案を出力:

## タスク分割案

### 親タスク
- [親Issueのタイトル]

### サブタスク
1. [Sub-1] サブタスク1
2. [Sub-2] サブタスク2
3. [Sub-3] サブタスク3

使用例

ユーザー: 「/diff」

スキル:
1. 現在の差分を解析(git status, git diff)
2. 変更のカテゴライズ
3. タスク分割案の作成
4. 結果を出力

出力例:

差分解析結果

変更ファイル:

  • src/auth/jwt.py (新規)
  • src/auth/login.py (新規)
  • src/auth/logout.py (新規)

タスク分割案

親Issue: ユーザー認証機能の実装

サブタスク:

  1. JWTモジュールの実装
  2. ログインエンドポイントの実装
  3. ログアウトエンドポイントの実装

注意点

  1. 差分がない場合: メッセージを表示して終了
  2. 大量の変更: 適切にグループ化してタスク数を調整
  3. 関連性の高い変更: 1つのタスクにまとめる

関連スキル

スキル用途
planタスク分割 → Issue作成 → 親子関係設定
project-mgmtプロジェクト追加・ステータス設定・日付設定
repo-flowブランチ作成・コミット・プッシュ・PR・マージ
repo-manageranalyze-diff + plan + project-mgmt + repo-flow

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

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

fal.aiスキルに新しいモデルを追加するためのスキル

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