_legacy/version-control/git-workflow/SKILL.md
Git運用・ブランチ戦略・コミット規約・PR管理の包括的なガイド。ブランチ戦略の選択、コミットメッセージ規約、コンフリクト解決、Git hooks活用など、Gitに関する全ての判断基準と手順を提供します。
npx skillsauth add gaku52/claude-code-skills git-workflowInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
このSkillは、Gitを使った開発ワークフローの全てをカバーします:
このガイドで学べること: ブランチ戦略の選択、コミット規約、PR運用、コンフリクト解決、Git hooks活用 公式で確認すべきこと: 最新のGit機能、GitHub/GitLab新機能、セキュリティベストプラクティス
Git Documentation - Git公式ドキュメント
GitHub Documentation - GitHub公式ガイド
Conventional Commits - コミットメッセージ規約
GitLab Documentation - GitLab公式ドキュメント
プロジェクトに応じて最適なブランチ戦略を選択:
| 戦略 | 適用ケース | 詳細ガイド | |------|-----------|-----------| | GitHub Flow | 継続的デプロイ、小規模チーム | guides/01-github-flow.md | | Git Flow | 定期リリース、大規模プロジェクト | guides/02-git-flow.md | | Trunk-Based | 高頻度デプロイ、成熟したCI/CD | guides/03-trunk-based.md |
<type>/<ticket-number>-<short-description>
例:
feature/PROJ-123-add-user-authentication
bugfix/PROJ-456-fix-memory-leak
hotfix/PROJ-789-critical-crash-fix
詳細: guides/04-branch-naming.md
全てのコミットメッセージは以下の形式に従う:
<type>(<scope>): <subject>
<body>
<footer>
| Type | 説明 | 例 |
|------|------|-----|
| feat | 新機能 | feat(auth): add biometric authentication |
| fix | バグ修正 | fix(ui): resolve layout issue on iPad |
| refactor | リファクタリング | refactor(network): simplify API client |
| perf | パフォーマンス改善 | perf(images): implement lazy loading |
| test | テスト追加・修正 | test(login): add unit tests for validation |
| docs | ドキュメント | docs(readme): update installation steps |
| chore | ビルド・設定等 | chore(deps): update dependencies |
| ci | CI/CD | ci(github): add caching to workflow |
詳細ガイド: guides/05-commit-messages.md
→ checklists/pre-commit.md
## 概要
<!-- 何を変更したか簡潔に -->
## 変更内容
<!-- 主な変更点を箇条書き -->
-
-
## 動作確認
<!-- テスト方法・確認項目 -->
- [ ] 単体テスト実行
- [ ] 実機での動作確認
- [ ] UIテスト実行
## スクリーンショット
<!-- 必要に応じて -->
## 関連Issue
Closes #XXX
→ guides/06-pr-review.md
→ checklists/pre-merge.md
詳細: guides/07-conflict-resolution.md
| 状況 | 推奨 | 理由 | |------|------|------| | featureブランチの更新 | Rebase | 履歴を綺麗に保つ | | mainへのマージ | Merge (Squash) | PRの履歴を保持 | | 公開済みブランチ | Merge | 履歴改変を避ける |
詳細: guides/08-rebase-vs-merge.md
→ incidents/index.md
branch-creator-agent
quickcommit-validator-agent
quickpr-reviewer-agent
mediumconflict-resolver-agent
thoroughpr-validator-agent (quick) +
commit-history-checker-agent (quick) +
branch-policy-checker-agent (quick)
→ 結果統合 → PRコメント
final-review-agent (thorough)
→ test-runner-agent (medium)
→ merge-safety-checker-agent (quick)
→ マージ実行
Task: PRの自動レビューを実行
Agent: pr-reviewer-agent
Skill: git-workflow
Thoroughness: medium
Parameters:
- check_commit_messages: true
- check_branch_name: true
- check_pr_description: true
- auto_comment: true
# 新しいfeatureブランチ作成
git checkout -b feature/PROJ-123-description
# コミット
git add .
git commit -m "feat(scope): description"
# mainの変更を取り込む(rebase)
git fetch origin
git rebase origin/main
# PR用にpush
git push -u origin feature/PROJ-123-description
| 問題 | 解決方法 | 詳細 | |------|---------|------| | コンフリクト発生 | guides/07-conflict-resolution.md | 段階的解決手順 | | 間違ったコミット | references/undo-commands.md | reset, revert使い分け | | ブランチ間違い | references/branch-recovery.md | cherry-pickで復旧 |
このSkill自体の変更履歴は CHANGELOG.md を参照
tools
Fundamentals of modern web development. Framework selection (React, Vue, Next.js), project architecture, state management, routing, build tools, and CSS strategy best practices.
development
# React Development — Complete Guide > A comprehensive guide to building modern React applications with TypeScript. Covers fundamentals through advanced patterns, Hooks mastery, TypeScript integration, performance optimization, and algorithm internals. ## Target Audience - Developers new to React who want a solid foundation - Intermediate React developers looking to deepen their understanding of Hooks and TypeScript patterns - Engineers who want to understand React's internal algorithms (Virt
development
# Node.js Development Skill > A practical guide collection for Node.js development. Covers all aspects of Node.js application development, including Express, NestJS, asynchronous patterns, and performance optimization. ## Overview This skill covers the following topics: - **Express & NestJS**: When to use a lightweight framework vs. an enterprise framework - **Asynchronous Patterns**: Promise, async/await, Event Emitter, Streams, Worker Threads, Cluster - **Performance Optimization**: Memory
development
# Backend Development — Complete Guide > A comprehensive guide to backend engineering. Covers the fundamentals of HTTP, REST API design, databases, authentication, environment configuration, and algorithm proofs — everything needed to build robust server-side systems. ## Target Audience - Developers new to backend engineering - Frontend engineers expanding toward full-stack development - Engineers looking to solidify their understanding of server-side fundamentals ## Prerequisites - Basic p