OpenParable
Skip to content
← Back to skills

Github Assistant

Apps & Automation
github-assistant

Github Assistant is an Agent Skill for apps & automation published in the khaphanspace/gonhanh.org repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

GitHub workflow automation using `gh` CLI. Use when creating PRs, reviewing code, managing issues, auto-replying to fixed issues, adding comments, assigning users, managing labels, merging PRs, or checking CI status. Includes auto-reply script and Vietnamese templates.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/khaphanspace/gonhanh.org/blob/HEAD/.claude/skills/github-assistant/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/github-assistant, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

GitHub Assistant

Automate GitHub PR/Issue workflows using gh CLI + auto-reply + Vietnamese templates.

Prerequisites

Ensure gh CLI authenticated: gh auth status

Auto-Reply Fixed Issues

Automatically find and reply to issues fixed since last release:

# Preview (dry-run)
python scripts/auto-reply-fixed-issues.py --dry-run

# Post comments
python scripts/auto-reply-fixed-issues.py

# Specific repo
python scripts/auto-reply-fixed-issues.py --repo owner/repo

How it works:

  1. Gets latest release tag
  2. Finds commits since release referencing issues (#123, fixes #123)
  3. Matches with open issues
  4. Auto-generates reply with commit links + file changes
  5. Posts comments

Quick Reference

PR Operations

TaskCommand
Create PRgh pr create --title "Title" --body "Desc" --base main
Review PRgh pr review 123 --approve --body "LGTM"
Merge PRgh pr merge 123 --squash --delete-branch
Check statusgh pr checks 123 --watch

Issue Operations

TaskCommand
List issuesgh issue list or gh issue list --label "bug"
Add commentgh issue comment 123 --body "Comment"
Close issuegh issue close 123 --comment "Fixed in v1.0"
Edit labelsgh issue edit 123 --add-label "bug"

Reply Templates (Vietnamese)

TemplateUse When
templates/fix-confirmed.mdBug fixed and released
templates/need-info.mdNeed more info from reporter
templates/progress-update.mdStatus update
templates/known-limitation.mdKnown limitation
templates/multi-report.mdMultiple reports
templates/feature-dev.mdFeature in dev/beta

References

  • references/pr-management.md - PR workflows
  • references/issue-management.md - Issue workflows

Special Values

@me current user | --state all|open|closed filter | --json fields JSON output | --web browser