Command Palette

Search for a command to run...

UnylyUnyly
Back to skills

github

FreeRuns bundled scriptsNot checked

Comprehensive GitHub repository management toolkit. Provides file editing, issue/PR management, GitFlow workflow, release management, commit investigation…

MassLab-SIIby MassLab-SII★ 134 GitHub stars23 installs in other catalogs

About this skill

GitHub Skill

This skill provides complete GitHub repository management capabilities using MCP GitHub tools.

Core Concepts

  1. Skill: Meaningful combinations of multiple tool calls, encapsulated as independent Python scripts
  2. Basic Tools: Single function calls for atomic operations via run_github_ops.py

I. Strategy: Skills vs Tools (Read First)

1. Skill-First Strategy

Always prioritize Skill Scripts over atomic tools. Skills encapsulate best practices and error handling.

Goal Recommended Skill Why?
Multi-file Edits file_editor.py batch Atomic commit; prevents partial updates
Content Investigation github_detective.py Unified interface for all investigation tasks
GitFlow Operations gitflow_manager.py Enforces naming conventions and correct workflow
PR + Label Management pr_manager.py update Handles labels atomically with PR updates
Issue + Label issue_manager.py update Handles labels atomically with issue updates
CI/CD Setup workflow_builder.py Full automated pipeline (branch → PR → merge)
Release Preparation release_manager.py Automates version bump, changelog, and merge
Project Config config_generator.py Standardized templates and configurations

2. When to Use Basic Tools

Only use run_github_ops.py when:

  1. Unique Filtering: Need specific API filters not exposed by skills
  2. One-off Read: Quick check of file SHA or content
  3. Custom Operations: Operations not covered by any skill

3. GitHub Domain Coverage

This skill covers the following GitHub task categories:

Category Covered By
File CRUD file_editor.py, basic file tools
Issue Management issue_manager.py
PR Management pr_manager.py
Label Management issue_manager.py, pr_manager.py (integrated)
Branch Management gitflow_manager.py, basic branch tools
Commit Investigation github_detective.py
PR Investigation github_detective.py
Repository Exploration github_detective.py
CI/CD Workflows workflow_builder.py
Release Management release_manager.py
Config Generation config_generator.py

4. Command Line Safety

[!WARNING] Shell Escaping: When passing complex strings (JSON, Python code, multi-line text) in command line arguments, be extremely careful with shell escaping. Ensure quotes are matched and special characters (like $) are handled correctly to prevent execution errors.


II. Skills (High-Level Scripts)

1. File Editing

File: file_editor.py

Use Cases:

  • Create new files in a repository
  • Edit/overwrite existing files
  • Apply search-and-replace fixes to a single file
  • Push multiple files in a single commit (atomic batch operations)

Typical Task Examples:

  • Create a README.md file
  • Update configuration files
  • Fix a typo or bug in a specific file

[!Note] Check Default Branch: Before editing or creating files, ALWAYS check the default branch name (e.g., using github_detective.py explore or list_branches) unless you are explicitly targeting a specific feature branch.

Usage:

# Usage:
#   python file_editor.py <command> <owner> <repo> [options]
# Commands:
#   batch       Push multiple files in a single commit
#
# edit options:
#   --path <filepath>         File path (required)
#   --content <text>          Content string
#   --content-file <path>     Content from local file
#   --content-base64 <b64>    Content (base64 encoded)
#   --message <text>          Commit message (required)
#   --branch <name>           Target branch
# apply_fix options:
#   --path <filepath>         File path (required)
#   --pattern <text>          Text pattern to find (required)
#   --replacement <text>      Replacement text (required)
#   --message <text>          Commit message (required)
#   --branch <name>           Target branch
#
# batch options:
#   --files <json>            JSON array string
#   --files-file <path>       Path to JSON file containing files array
#   --files-base64 <b64>      Base64 encoded JSON array
#   --message <text>          Commit message (required)
#   --branch <name>           Target branch
#
# Exa
Full SKILL.md on GitHub

Install github in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

Bundled files

scripts/comment_manager.pyscripts/config_generator.pyscripts/file_editor.pyscripts/gitflow_manager.pyscripts/github_detective.pyscripts/github_tools.jsonscripts/issue_manager.pyscripts/pr_manager.pyscripts/release_manager.pyscripts/run_github_ops.pyscripts/test_utils.pyscripts/utils.pyscripts/workflow_builder.py

FAQ

What does the github skill do?

Comprehensive GitHub repository management toolkit. Provides file editing, issue/PR management, GitFlow workflow, release management, commit investigation, CI/CD workflow creation, and configuration file generation via MCP GitHub tools.

How do I install the github skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the github skill run scripts?

Yes, this skill bundles executable scripts. Review the source before installing.

Related skills

Compare github with