github-repo-management

Manage GitHub repository lifecycles via CLI or REST API.

247|22|Updated Dec 11, 2024
One-click install
npx skills add https://github.com/graniet/kheish --skill github-repo-management-graniet
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-repo-management
Source: https://github.com/graniet/kheish/tree/main/skills/github/github-repo-management
Command: npx skills add https://github.com/graniet/kheish --skill github-repo-management-graniet

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Manually managing GitHub repositories via CLI or raw REST API is tedious, error-prone, and requires memorizing dozens of commands and endpoint details, slowing down development and DevOps workflows.

Core Features & Use Cases

  • Full Repository Lifecycle Management: Clone, create, fork, and configure GitHub repositories, including setting visibility, topics, default branches, and wiki/issue toggles.
  • CI/CD and Release Automation: Manage GitHub Actions workflows, trigger manual runs, re-run failed jobs, and create/publish releases with attached assets.
  • Secrets and Governance: Securely manage GitHub Actions secrets, configure branch protection rules, and audit repository activity. A development team can use this skill to quickly provision a new feature repository, set required branch protection and CI secrets, and trigger the initial deployment workflow without switching between multiple tools or documentation.

Quick Start

Use the github-repo-management skill to create a new private repository named 'project-alpha' under your GitHub account, initialize it with a MIT license, and clone it to your local working directory.

Frequently Asked Questions about github-repo-management

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

FAQPage Schema
How do I automate GitHub repository management without memorizing CLI commands?

You can automate GitHub repository management by orchestrating the full lifecycle of repos, including creation, cloning, and forking, without manually executing disparate CLI commands or constructing raw REST API requests.

How do I manage GitHub Actions secrets and branch protection rules for a new project?

You can manage GitHub Actions secrets and configure branch protection rules by applying governance settings directly to the repository configuration. This securely handles CI/CD secrets and enforces required branch protection policies.

Can I trigger GitHub Actions workflows and re-run failed jobs programmatically?

Yes, you can trigger manual GitHub Actions workflow runs and re-run failed jobs programmatically. This CI/CD automation capability allows you to orchestrate workflows and manage deployments without manual intervention.

Do I need the GitHub CLI installed to manage repositories and create releases?

No, you do not need the GitHub CLI installed if you have a valid GitHub authentication token. The system supports the official GitHub CLI for simplified operations but includes a fallback implementation using git and curl with the GitHub REST API.

What is the best way to provision a new private GitHub repository with CI/CD and release automation?

The best way to provision a new private repository is to automate the full lifecycle setup, configuring visibility, topics, and default branches, while simultaneously setting CI secrets and triggering the initial release publishing workflow.

Are there limitations when using git and curl as a fallback for GitHub REST API operations?

When using git and curl as a fallback for GitHub REST API operations, limitations include relying on raw REST API endpoint construction instead of simplified CLI commands, which requires a valid GitHub authentication token to execute repository operations.