repo-create

Initialize a local Git repository and create or connect to a GitHub repository.

1|1|Updated Mar 9, 2026
One-click install
npx skills add https://github.com/trevorbyrum/claude-skills-suite --skill repo-create
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: repo-create
Source: https://github.com/trevorbyrum/claude-skills-suite/tree/main/skills/repo-create
Command: npx skills add https://github.com/trevorbyrum/claude-skills-suite --skill repo-create

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the process of setting up a GitHub repository for a project, whether it's creating a new one or connecting to an existing one, ensuring your code is version-controlled and accessible.

Core Features & Use Cases

  • New Repo Creation: Creates a new GitHub repository with specified name and visibility (public/private).
  • Existing Repo Connection: Connects to a pre-existing GitHub repository by adding a remote origin.
  • Git Initialization: Initializes a local Git repository if one doesn't exist.
  • .gitignore Management: Ensures a sensible .gitignore file is present.
  • Initial Commit & Push: Performs an initial commit and pushes to the remote repository.
  • Use Case: When starting a new project, you can tell Claude to "create a GitHub repo for this project," and it will handle all the necessary Git commands and GitHub API interactions.

Quick Start

Use the repo-create skill to set up a new private GitHub repository named 'my-awesome-project'.

Frequently Asked Questions about repo-create

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

FAQPage Schema
How do I initialize a local Git repository and push it to GitHub?

To initialize a local Git repository and push to GitHub, this process automates git initialization, configures the remote origin, creates an initial commit, and pushes your project to the specified GitHub repository.

Can I connect an existing local project to a pre-existing GitHub repository?

Yes, you can connect an existing local project to a pre-existing GitHub repository. The process handles scenarios with existing remotes by properly configuring the remote origin URL without creating a duplicate repository.

Do I need the gh CLI installed to create a GitHub repo from my terminal?

You need git installed to create a GitHub repo from your terminal, but the gh CLI is optional. When present, the gh CLI is leveraged for streamlined GitHub API integration and repository creation.

What is the best way to set up a new private GitHub repository with a .gitignore file?

The best way to set up a private GitHub repository with a .gitignore file is using an automated scaffolding process that creates the repo, ensures a sensible .gitignore is present, and executes the initial commit and push.

What happens if my project already has a remote configured when I try to connect to GitHub?

If your project already has a remote configured, the process detects the existing remotes and ensures proper git initialization and remote configuration, preventing conflicts while connecting to your target GitHub repository.