git-and-github

Manage Git and GitHub operations through the agent-utils CLI.

1|Updated Oct 3, 2023
One-click install
npx skills add https://github.com/mt-krainski/twinkletaps --skill git-and-github-mt-krainski
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-and-github
Source: https://github.com/mt-krainski/twinkletaps/tree/main/.claude/skills/git-and-github
Command: npx skills add https://github.com/mt-krainski/twinkletaps --skill git-and-github-mt-krainski

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill standardizes and simplifies all Git and GitHub operations, preventing common errors and ensuring consistency by enforcing the use of the agent-utils CLI.

Core Features & Use Cases

  • Safe Committing & Pushing: Ensures correct author information and enforces branch naming conventions.
  • Automated PR Management: Simplifies creating, listing, viewing, and replying to pull requests.
  • CI/CD Integration: Provides tools to check CI status and view GitHub Actions run logs.
  • Use Case: After making changes to your code, use this Skill to commit your changes with a standardized message format and then create a pull request for review.

Quick Start

Use the git-and-github skill to commit your staged changes with the message 'Fix: Resolve login bug'.

Frequently Asked Questions about git-and-github

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

FAQPage Schema
How do I automate GitHub pull request management and commit changes safely?

To automate GitHub pull request management and commit changes safely, this Skill uses the `agent-utils` CLI to enforce standardized commit messages, correct author information, and branch naming conventions before pushing code.

Can I check CI status and view GitHub Actions logs for a pull request?

Yes, you can check CI status and view GitHub Actions logs for a pull request. The Skill provides integrated CI/CD tools to retrieve run statuses and view detailed logs directly through the standardized CLI.

What environment variables do I need to configure for Git and GitHub workflows?

You need to configure `GITHUB_OWNER`, `GITHUB_REPO`, and `TASK_BRANCH_PREFIX` environment variables to initialize Git and GitHub workflows. These variables establish the repository context and enforce branch naming rules.

How do I reply to code review comments on a GitHub pull request?

To reply to code review comments on a GitHub pull request, the Skill fetches existing feedback and allows you to reply to comments directly. It abstracts raw GitHub commands to ensure proper formatting and adherence to defined rules.

What is the best way to standardize Git operations across different projects?

The best way to standardize Git operations across different projects is to enforce a centralized CLI tool like `agent-utils`. This Skill prevents common errors by abstracting raw commands for committing, pushing, and PR management with safe defaults.

Are there limitations to using this Skill for complex Git rebasing or merging?

Yes, there are limitations for complex Git rebasing or merging. The Skill focuses on standardized committing, pushing, and pull request management, and does not explicitly support advanced Git operations like interactive rebasing or conflict resolution.