github-repo-management

Automate GitHub repository management via gh CLI with git and REST API fallbacks.

27|2|Updated Jan 15, 2024
One-click install
npx skills add https://github.com/erfanzar/Xerxes-Agents --skill github-repo-management-erfanzar
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-repo-management
Source: https://github.com/erfanzar/Xerxes-Agents/tree/main/src/python/xerxes/skills/github/github-repo-management
Command: npx skills add https://github.com/erfanzar/Xerxes-Agents --skill github-repo-management-erfanzar

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Clone, fork, configure and manage GitHub repositories, including secrets, releases, and workflows, with gh CLI or git + curl fallbacks.

Core Features & Use Cases

  • Cloning and forking repositories with gh or git plus REST API fallback.
  • Creating new repositories under a user or organization, including template-based generation.
  • Managing secrets, releases, topics, and GitHub Actions workflows.

Quick Start

Clone a repository and set up a secret and a workflow using gh CLI.

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 for cloning and forking?

Automate GitHub repository management by using gh CLI as the primary tool to clone and fork repositories, with git and curl REST API fallbacks. This supports user and organization repos, including template-based generation.

Can I manage GitHub secrets and workflows without manual web interface configuration?

Yes, you can manage GitHub secrets and workflows without manual configuration. The automation handles secrets, releases, topics, and GitHub Actions workflows directly via gh CLI or REST API fallback.

What's the best way to create new repositories under an organization programmatically?

The best way to create new repositories under an organization programmatically is using this automation, which handles user and org repo creation, including template-based generation, via gh CLI or REST API fallback.

Do I need gh CLI installed to automate repository configuration and releases?

Yes, gh CLI is required as the primary tool to operate this automation for repository configuration and releases. However, a git and curl fallback mechanism supports workflows if gh is unavailable.

How does the REST API fallback work for git operations when gh CLI fails?

The REST API fallback uses git and curl to execute repository operations when gh CLI fails. It handles authentication, cloning, forking, and updating repo settings via GitHub REST API endpoints.

Why automate GitHub Actions workflows instead of using the standard web interface?

Automating GitHub Actions workflows streamlines repository setup for developers and teams. It handles authentication, secrets, releases, and workflow configuration programmatically, reducing manual web interface steps.