gh-bootstrap

Clone template catalogs and apply workflows with variable substitution.

16|1|Updated Jan 2, 2026
One-click install
npx skills add https://github.com/bahayonghang/my-claude-code-settings --skill gh-bootstrap
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gh-bootstrap
Source: https://github.com/bahayonghang/my-claude-code-settings/tree/main/skills/gh-bootstrap
Command: npx skills add https://github.com/bahayonghang/my-claude-code-settings --skill gh-bootstrap

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

gh-bootstrap 自动化地为 GitHub 仓库生成并应用常用的配置模板,帮助团队快速建立一致的仓库结构。

Core Features & Use Cases

  • 自动检测项目特征并拉取模板源
  • 支持快速、自定义、全量三种模式
  • 替换项目级变量并写入 README、CI、模板等
  • 跨仓库应用与同步,降低重复工作

Quick Start

  1. 运行 gh-bootstrap。
  2. 选择模式并输入项目信息(名称、描述、作者、仓库信息)。
  3. 系统从 template-catalog 下载模板,执行复制与变量替换,生成配置。

Frequently Asked Questions about gh-bootstrap

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

FAQPage Schema
How do I automate GitHub repository setup with standard CI/CD workflows?

To automate GitHub repository setup, gh-bootstrap clones template catalogs and applies ready-made CI/CD workflows, substituting project variables while preserving GitHub Actions syntax for consistent configuration.

What is the best way to bootstrap multiple GitHub repositories with consistent templates?

Bootstrapping multiple repositories consistently uses full mode to apply standardized infrastructure, security, and governance templates from a central catalog across different project repositories.

What inputs do I need to provide for GitHub repository configuration initialization?

GitHub repository configuration initialization requires standard inputs: project name, description, author, GitHub owner, and repository name to safely substitute variables into downloaded templates.

Does gh-bootstrap support custom modes for applying repository templates?

Yes, repository template application supports quick, custom, and full modes, allowing selection of specific infrastructure, CI/CD, collaboration, security, and governance configurations based on project requirements.

Can I use gh-bootstrap to generate GitHub Actions workflows without breaking the syntax?

Yes, when generating GitHub Actions workflows, the tool performs safe copy with variable substitution that specifically preserves GitHub Actions syntax to ensure CI/CD pipelines remain valid.