gh-repo-setup

Automate GitHub repository setup with GitFlow, branch protection, templates, and CI.

1|1|Updated Jan 21, 2026
One-click install
npx skills add https://github.com/kenkenmain/ken-cc-plugins --skill gh-repo-setup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gh-repo-setup
Source: https://github.com/kenkenmain/ken-cc-plugins/tree/main/plugins/kenken/skills/gh-repo-setup
Command: npx skills add https://github.com/kenkenmain/ken-cc-plugins --skill gh-repo-setup

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automating the setup of a GitHub repository with GitFlow, branch protections, templates, and CI reduces manual setup time and prevents misconfigurations.

Core Features & Use Cases

  • GitFlow bootstrap: ensures main and develop branches exist with standard protections and naming conventions.
  • Templates and workflows: adds issue/PR templates, CI workflow, Dependabot configuration, and consistency across projects.
  • Branch protection and merge rules: applies required reviews, squash merges, and automated branch cleanup on merge.
  • Onboarding support: creates symlinks and scaffolding (.agents, CLAUDE.md, AGENTS.md) to support Claude Code and other agents.

Quick Start

Provide a repo name (or use --existing) and run the skill to create or configure a GitHub repository with GitFlow, protections, templates, and CI.

Frequently Asked Questions about gh-repo-setup

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

FAQPage Schema
How do I automate GitHub repository setup with GitFlow and CI?

Automate GitHub repository setup by running a skill that bootstraps GitFlow branches, enforces branch protection rules, adds issue and PR templates, and configures CI workflows. It relies on the gh CLI and git to apply these standard configurations automatically.

Can I apply branch protection and CI templates to an existing GitHub repository?

Yes, you can apply branch protection and CI templates to an existing GitHub repository. The skill supports existing projects by using the gh CLI and GitHub API to enforce protections, add templates, and define workflows without starting from scratch.

What is the best way to configure GitFlow branches and merge rules in GitHub?

The best way to configure GitFlow branches and merge rules is using an automation skill that creates main and develop branches, applies required reviews, sets squash merges, and enables automated branch cleanup upon merge via the GitHub API.

Do I need the gh CLI to enforce branch protection rules and add Dependabot configurations?

Yes, you need the gh CLI to enforce branch protection rules and add Dependabot configurations. The skill relies on the gh CLI for repository operations and GitHub API calls to enforce protections and define workflows.

How does GitFlow bootstrap handle issue and PR templates for consistency across projects?

GitFlow bootstrap handles consistency by automatically adding standard issue and PR templates, CI workflows, and Dependabot configuration to your GitHub repository, ensuring all projects follow the same development conventions.

What scaffolding does the GitHub repo setup skill create to support Claude Code?

To support Claude Code and other agents, the GitHub repo setup skill creates symlinks and scaffolding files including .agents, CLAUDE.md, and AGENTS.md, facilitating onboarding and agent integration.