git-repository

Community

Master Git repo structure and branching strategies.

Authorgeoffjay
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Choosing the right repository structure (monorepo vs. polyrepo) and branching strategy (Git Flow, GitHub Flow, Trunk-Based) is crucial for team efficiency and project scalability, but often leads to confusion and suboptimal setups. This Skill provides clarity and best practices.

Core Features & Use Cases

  • Branching Strategies: Detailed explanations and workflows for Git Flow, GitHub Flow, Trunk-Based Development, and Release Branch strategies to optimize your team's development cycle.
  • Repository Organization: Guidance on Monorepo vs. Polyrepo, including advantages, disadvantages, and implementation details to make informed architectural decisions.
  • Submodule/Subtree Management: Instructions for effectively integrating and managing external dependencies or shared code within a larger repository.
  • Use Case: A lead developer needs to decide whether to adopt a monorepo for a new project or maintain a polyrepo structure. This Skill provides a decision matrix, implementation examples, and best practices for each approach, ensuring an informed choice that supports the team's long-term goals.

Quick Start

Git Flow: Start a new feature branch

git checkout develop git pull origin develop git checkout -b feature/user-authentication

GitHub Flow: Create a feature branch

git checkout main git pull origin main git checkout -b feature/add-api-logging

Dependency Matrix

Required Modules

None required

Components

assetsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: git-repository
Download link: https://github.com/geoffjay/claude-plugins/archive/main.zip#git-repository

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository