github

Read, patch, and manage GitHub repositories via the REST API.

Updated Apr 27, 2026
One-click install
npx skills add https://github.com/uriva/p2b-skills --skill github-uriva
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: github
Source: https://github.com/uriva/p2b-skills/tree/main/github
Command: npx skills add https://github.com/uriva/p2b-skills --skill github-uriva

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill eliminates the need for manual repository management and context switching by allowing you to read, edit, and manage GitHub projects directly through your AI agent.

Core Features & Use Cases

  • Repository Intelligence: Automatically fetches project conventions and instructions from files like .cursorrules or AGENTS.md to ensure high-quality code changes.
  • Automated Workflows: Perform precise file patches, create issues, and open pull requests without leaving your chat interface.
  • Use Case: Use this skill to scan a new repository for its coding standards, apply a bug fix via a targeted patch, and open a pull request for review in one continuous session.

Quick Start

Use the github skill to fetch the instruction files for the repository and then apply a patch to the main readme file.

Frequently Asked Questions about github

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

FAQPage Schema
How do I automate GitHub repository management and issue tracking?

You can automate GitHub repository management by using this skill to programmatically read, patch, and manage project lifecycle tasks. It facilitates automated code maintenance, issue tracking, and pull request generation directly through your AI agent.

Can I create pull requests and apply code patches without leaving my chat interface?

Yes, you can create pull requests and apply precise file patches without leaving your chat interface. The skill performs these automated workflows directly against the GitHub REST API to handle code changes efficiently.

Do I need a GITHUB_TOKEN to manage repositories programmatically?

Yes, you need a valid GITHUB_TOKEN to authenticate requests against the GitHub REST API. This token is required to read files, apply patches, and manage issues or pull requests across your development environments.

How does automated code review handle repository-specific coding conventions?

Automated code review handles repository-specific coding conventions by automatically fetching project instructions from files like .cursorrules or AGENTS.md. This ensures high-quality code changes that adhere to your project's established standards.

What is the best way to scan a new repository for its coding standards and apply a bug fix?

The best way to scan a new repository for coding standards and apply a bug fix is a continuous session using this skill. Fetch instruction files first, then apply a targeted patch and open a pull request for review.

Are there limitations when patching files across diverse development environments via the GitHub API?

When patching files across diverse environments via the GitHub API, operations are constrained by your GITHUB_TOKEN permissions and repository-specific instruction files. You must ensure proper authentication and adhere to existing project conventions.