gh-repo-bootstrap

Create a GitHub repository and bootstrap a local project under ~/projects.

131|13|Updated Dec 29, 2025
One-click install
npx skills add https://github.com/regenrek/agent-skills --skill gh-repo-bootstrap
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gh-repo-bootstrap
Source: https://github.com/regenrek/agent-skills/tree/main/skills/gh-repo-bootstrap
Command: npx skills add https://github.com/regenrek/agent-skills --skill gh-repo-bootstrap

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Create a GitHub repo and bootstrap a local project with a deterministic workflow to save time and ensure consistency.

Core Features & Use Cases

  • Collect inputs like repo name, visibility, and optional metadata; verify prerequisites; initialize local project under ~/projects; create remote and push initial commit.
  • Use Case: Quickly spin up a new repository for a project or team and have a ready-to-work local folder synced with a remote.

Quick Start

Run the gh_repo_bootstrap script with your repository name and desired visibility to create the GitHub repo and bootstrap a matching local project under ~/projects.

Frequently Asked Questions about gh-repo-bootstrap

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

FAQPage Schema
How do I automate GitHub repository creation and local project setup?

Automate GitHub repository creation and local project setup by running a bootstrap script that provisions a remote repo, initializes a local folder under ~/projects, configures git remotes, and pushes the initial commit, ensuring a deterministic workflow for individuals or teams.

Can I create both public and private GitHub repos from the command line?

Yes, you can create both public and private GitHub repos from the command line. The automation script collects the repository name and visibility level as inputs, validates them, and provisions the remote repository accordingly using the gh CLI tool.

Do I need the gh CLI installed to bootstrap a new repository locally?

Yes, you need the gh CLI and git installed to bootstrap a new repository locally. The tool checks prerequisites and relies on gh for remote repository creation and git for local project initialization, remote configuration, and pushing the initial commit.

What is the best way to provision a standardized local project skeleton for a new git repo?

The best way to provision a standardized local project skeleton is using a bootstrap script that automatically creates a local folder under ~/projects, initializes the project structure, links the remote repository, and pushes the initial commit to sync the local and remote environments.

How does the local development bootstrap process work for team repository provisioning?

The local development bootstrap process for team repository provisioning works by collecting repository metadata, verifying local prerequisites, creating the remote GitHub repo, initializing a matching local project directory under ~/projects, and pushing an initial commit to establish a standardized starting point.

What limitations exist when using a script to bootstrap local development environments?

Limitations of using a script to bootstrap local development environments include dependency on the gh CLI and git being pre-installed, restriction of local project creation to the ~/projects directory, and the requirement to validate repository name and visibility inputs before remote provisioning can proceed.