بنقرة واحدة
git-problem
git statusなどgitコマンドが重い問題を診断。.gitignore、追跡ファイル、リポジトリサイズ、Git設定をチェック。
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
git statusなどgitコマンドが重い問題を診断。.gitignore、追跡ファイル、リポジトリサイズ、Git設定をチェック。
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
@issue_note.txt の課題No、または Evernote 共有リンク(ノート下書き)をもとに、GitHub Issueを作成する。対応種別に応じてfeature/bugfixテンプレートを使い分ける。
PRをMerge commit方式でマージし、リモート・ローカル両方のfeatureブランチを削除して司令塔ベースブランチを最新化する。マージのタイミングはユーザーが決める。
Issue起点の実装計画を作成する。Issueの内容とプロジェクトの設計ドキュメントを照合し、影響範囲・実装方針・テスト方針を含む計画を出力する。
Playwright MCPを使って、既に起動済みのlocalhost環境に対してE2E観点の動作確認を行うための運用ルール。
PRのコードレビューを実施し、レビュー結果をPRコメントとして投稿する。アーキテクチャ観点でのコードレビュー。
ブランチ・Git運用ルール。feature ブランチ作成、コミット、プッシュ、PR作成の手順。品質チェック後のGit操作フロー。
استنادا إلى تصنيف SOC المهني
| name | git-problem |
| description | git statusなどgitコマンドが重い問題を診断。.gitignore、追跡ファイル、リポジトリサイズ、Git設定をチェック。 |
| when_to_use | 「gitが重い」「git statusが遅い」「gitコマンドが遅い」「git-problem」「gitが固まる」「コミットが遅い」などの発言時 |
| context | fork |
| agent | dev-doctor |
引数: $ARGUMENTS(省略可。特定の症状があれば記載)
.gitディレクトリサイズ: du -sh .gitgit count-objects -vHgit ls-files | wc -lgit ls-files --others --exclude-standard | wc -l以下のディレクトリ・ファイルがgitに追跡されていないか確認する:
git ls-files --cached node_modules apps/*/node_modules 2>/dev/null | head -20git ls-files --cached apps/web/.next apps/admin/.next 2>/dev/null | head -20git ls-files --cached .turbo apps/*/.turbo 2>/dev/null | head -20git ls-files --cached '**/generated/prisma' 2>/dev/null | head -20git ls-files --cached build out coverage test-results playwright-report 2>/dev/null | head -20.gitignore に必要なパターンが含まれているか検証追跡されているべきでないファイルが見つかった場合は、.gitignore の修正と git rm --cached を提案する。
git ls-files -z | xargs -0 -I{} sh -c 'size=$(wc -c < "{}"); if [ "$size" -gt 1048576 ]; then echo "${size} {}"; fi' | sort -rn | head -10
git rev-list --objects --all | git cat-file --batch-check='%(objecttype) %(objectname) %(objectsize) %(rest)' | awk '$1 == "blob" && $3 > 1048576 {print $3, $4}' | sort -rn | head -10
git config core.fsmonitorgit config core.preloadindexgit config core.untrackedCachegit gc --auto --dry-run 2>&1以下のフォーマットで報告する:
## 診断結果
### リポジトリサマリ
- .gitサイズ: X MB
- 追跡ファイル数: X
- 未追跡ファイル数: X
- オブジェクト数: X
### 検出された問題
1. **[High/Medium/Low]** 問題の説明
- 原因: ...
- 修復コマンド: `...`
### 推奨アクション(優先順位順)
1. `修復コマンド` — 説明
git config core.fsmonitor truegit config core.untrackedCache truegit config core.preloadindex truegit rm --cached <path>(コミット履歴に残るため慎重に)git gc --prune=now.gitignore への追記(変更内容を提示し承認後に実行)git push --force の実行git reset --hard の実行git rebase の実行git rm --cached の実行run_in_background: true の使用