github-repo-management

Manage GitHub repositories via gh, Git, and REST API fallbacks.

4|Updated May 18, 2026
One-click install
npx skills add https://github.com/ZardLi1115/zedclaw --skill github-repo-management-zardli1115
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-repo-management
Source: https://github.com/ZardLi1115/zedclaw/tree/main/skills/github/github-repo-management
Command: npx skills add https://github.com/ZardLi1115/zedclaw --skill github-repo-management-zardli1115

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps you avoid slow, error-prone manual setup work when you need to clone, create, fork, and configure GitHub repositories, along with common operational tasks like releases and CI/workflow inspection.

Core Features & Use Cases

  • Repository cloning and forking: Clone repos via gh or git, fork repositories, and add upstream remotes to keep forks in sync.
  • Repo creation and settings management: Create new repositories (including from templates), update descriptions/visibility/topics, and configure branch protection.
  • Operational automation for releases and workflows: Create releases, upload release assets, manage GitHub Actions workflows/runs (including re-run), and set/manage GitHub Actions secrets.

Quick Start

Use the github-repo-management skill to clone or create a GitHub repository, configure key settings like branch protection, and optionally create a release and manage related GitHub Actions runs.

Frequently Asked Questions about github-repo-management

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

FAQPage Schema
How do I clone and fork a GitHub repository while keeping it in sync with upstream?

To clone and fork GitHub repositories, this Skill uses `gh` or `git` to fork the target repo, clone it locally, and configure an `upstream` remote. This setup ensures your fork remains synchronized with the original repository for ongoing maintenance.

How do I configure branch protection rules for a GitHub repository?

Configuring branch protection is handled through REST API requests or `gh` commands. This Skill applies branch protection rules to your GitHub repository, ensuring enforced workflows and restricted push permissions for maintainers.

What's the best way to automate GitHub Actions workflows and manage secrets?

Automating GitHub Actions involves inspecting workflows, re-running failed jobs, and configuring Actions secrets. This Skill manages GitHub Actions workflows and secrets using `gh` and REST API fallbacks for secure, repeatable repository operations.

Do I need a GitHub token to create releases and manage repository settings?

Yes, creating releases and managing repository settings requires an authenticated GitHub context. You must provide a token sourced from environment variables, local `.env` files, or git-credentials to authorize REST API requests.

Can I create a new GitHub repository from a template and update its visibility?

Yes, you can create new repositories from templates and update descriptions, visibility, and topics. This Skill bootstraps new projects by configuring these repository settings automatically via `gh` or REST API requests.