Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

github

БесплатноЗапускает вложенные скриптыНе проверен

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

MassLab-SIIот MassLab-SII★ 134 звезды на GitHub23 установки в других каталогах

Об этом скилле

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
Полный SKILL.md на GitHub

Установить github в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

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

Что делает скилл github?

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.

Как установить скилл github?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл github запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить github с