github-repo-management

Manage GitHub repositories via local git commands and GitHub MCP.

Updated Feb 2, 2026
One-click install
npx skills add https://github.com/fanthus/agent-skills --skill github-repo-management-fanthus
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github-repo-management
Source: https://github.com/fanthus/agent-skills/tree/main/github-repo-management
Command: npx skills add https://github.com/fanthus/agent-skills --skill github-repo-management-fanthus

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill simplifies end-to-end GitHub repository workflows by enabling creation, configuration, and maintenance of repos using local git commands alongside GitHub MCP, reducing manual steps and context switching.

Core Features & Use Cases

  • Create repositories on GitHub using GitHub MCP.
  • Initialize local repos, set remotes, commit with conventional messages, and push.
  • Manage branches (create, switch, delete) and open/list/merge PRs within GitHub workflows, all via MCP.
  • Enforce Conventional Commits and safe-guard destructive actions.

Quick Start

Create a repository named my-project on GitHub. If starting from an existing project, initialize a local git repository and link it to origin. Commit changes with a conventional message and push to main. Example commands: git init; git add .; git commit -m "feat: initial commit"; git remote add origin https://github.com/owner/my-project.git; git push -u origin main

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 creation and local git initialization?

To automate GitHub repository creation and local git initialization, this Skill uses GitHub MCP to create repos and local git to set remotes and push. It requires a default main branch and enforces conventional commits for all initializations.

How do I manage GitHub branches and pull requests using local git?

Managing GitHub branches and pull requests via local git is handled by GitHub MCP in this Skill. It executes branch creation, switching, deletion, and automates opening, listing, and merging pull requests across your repositories.

Does GitHub MCP enforce conventional commits for local git workflows?

Yes, this Skill enforces conventional commits for local git workflows managed via GitHub MCP. It ensures all local commits follow conventional commit standards before pushing code to the remote main branch.

What are the safety checks for destructive git actions like branch deletion?

Safety checks for destructive git actions like branch deletion require a default main branch and validate operations before execution. This Skill enforces these safeguards via GitHub MCP to prevent accidental data loss.

Can I push code to GitHub and open pull requests without manual context switching?

Yes, you can push code and open pull requests without manual context switching. This Skill automates end-to-end GitHub repository workflows using local git commands and GitHub MCP, reducing manual steps and context switching.