repository-management

Create, fork, and branch GitHub repositories and manage files via the gh CLI.

Updated Jan 21, 2019
One-click install
npx skills add https://github.com/jtdowney/dotfiles --skill repository-management-jtdowney
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: repository-management
Source: https://github.com/jtdowney/dotfiles/tree/main/dot_claude/skills/github/repository-management
Command: npx skills add https://github.com/jtdowney/dotfiles --skill repository-management-jtdowney

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill streamlines the management of GitHub repositories, allowing users to perform common operations like creating, forking, and branching without needing to manually interact with the GitHub website or complex Git commands.

Core Features & Use Cases

  • Repository Creation: Quickly create new public or private repositories, with options for README initialization and immediate cloning.
  • Branch Management: Easily create new branches from existing ones for feature development or bug fixes.
  • File Operations: Create, update, and retrieve file contents directly within repositories using the GitHub CLI.
  • Repository Search: Find relevant repositories based on keywords, languages, stars, and organization.
  • Use Case: A developer needs to start a new project, fork an existing open-source project to contribute, or quickly add a new file to a repository.

Quick Start

Use the repository-management skill to create a new public repository named 'my-new-project' and clone it locally.

Frequently Asked Questions about repository-management

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a new GitHub repository and clone it locally using the CLI?

You can create a new GitHub repository and initialize it with a README directly via the CLI, then automatically clone it to your local machine. This streamlines project setup by bypassing manual GitHub website interaction and complex Git commands.

Can I manage GitHub branches and fork repositories from the command line?

Yes, you can manage GitHub branches and fork repositories entirely from the command line. The skill handles creating new branches from existing ones for feature development and forking open-source projects to facilitate direct contributions without manual web interaction.

What is the best way to update and retrieve file contents in a remote GitHub repository?

The best way to update and retrieve file contents in a remote GitHub repository is by using the GitHub CLI for direct file manipulation. This method allows you to create, update, and retrieve files programmatically without needing to manually pull changes locally.

How do I search GitHub repositories by keywords, language, and stars?

You can search GitHub repositories by filtering based on specific keywords, programming languages, star counts, and organization names. This functionality helps developers find relevant open-source projects and team-based repositories directly through the command line interface.

Does this GitHub repository management workflow require manual Git commands for file operations?

No, this GitHub repository management workflow does not require manual Git commands for basic file operations. It leverages the GitHub CLI to perform direct content retrieval and updates within remote repositories, simplifying the developer workflow and lifecycle management.