github-repo-management

Manage GitHub repositories via gh CLI, git, and REST API.

Updated Mar 25, 2026
One-click install
npx skills add https://github.com/afel6/scal-ai-pipeline --skill github-repo-management-afel6
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-repo-management
Source: https://github.com/afel6/scal-ai-pipeline/tree/main/hermes_skills_library/github/github-repo-management
Command: npx skills add https://github.com/afel6/scal-ai-pipeline --skill github-repo-management-afel6

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill consolidates common GitHub repository operations into clear, repeatable workflows so developers and maintainers can create, clone, configure, and publish repositories without manual API exploration or fragmented commands.

Core Features & Use Cases

  • Repository lifecycle: Create, clone, fork, and push repositories using gh or git plus REST fallbacks.
  • Configuration & governance: Edit settings, manage topics, enforce branch protection, and configure repository-level policies.
  • Secrets, CI, and releases: Set encrypted Action secrets, inspect and rerun workflows, create releases, and upload release assets.
  • Use Case: Initialize a local project, create the remote repository under a user or organization, apply branch protection, set Action secrets, and publish a release with assets using a single guided procedure.

Quick Start

Use the github-repo-management skill to create a new repository named my-new-project, add branch protection and an Action secret, and push your local code to it.

Frequently Asked Questions about github-repo-management

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

FAQPage Schema
How do I manage GitHub repository secrets via the REST API or gh CLI?

Manage GitHub repository secrets by using the gh CLI or falling back to git and curl calls for REST endpoints, which includes performing the required encryption steps for Action secrets before setting them.

What's the best way to create a GitHub repository and enforce branch protection?

Create a repository and enforce branch protection by applying repository-level policies through guided workflows, using either gh CLI commands or direct REST API configuration for governance.

How do I publish a GitHub release and upload release assets using gh CLI?

Publish a GitHub release and upload assets by utilizing the gh CLI or REST API fallbacks, enabling release publishing and asset uploads within a single guided repository lifecycle procedure.

Can I configure GitHub Actions workflows and CI secrets without the gh CLI installed?

You can configure Actions workflows and CI secrets without the gh CLI by falling back to git and curl calls that interact directly with GitHub REST API endpoints.

Does GitHub repo management support cloning and forking repositories under an organization?

Yes, GitHub repo management supports the full repository lifecycle, allowing you to clone, fork, and push repositories under a user or organization account using gh or git.

Why do I need authenticated GitHub tokens for repository lifecycle tasks?

Authenticated access via GitHub tokens or gh auth is required to perform repository lifecycle tasks, branch protection, workflow control, and secret management securely.