Gh issue reply

From yofine/Mexus · View interactive version

Gh issue reply is an AI agent skill from the GitHub repository yofine/Mexus. Post a reply comment to a GitHub issue. Use when the user wants to respond to an issue, acknowledge a bug report, or share a fix reference with the reporter.

How to use this skill

Skill file

/gh-issue-reply — Reply to a GitHub Issue

Draft and post a reply to the specified issue. Arguments passed: $ARGUMENTS.


Resolve target

Parse $ARGUMENTS to find:

If the issue number cannot be determined, ask the user.

Steps

  1. Fetch context: gh issue view <N> --repo <owner/repo> --json title,body,author,state,labels,comments. Read the body and recent comments so the reply is grounded in what was actually reported.
  1. Correlate with recent work (only if relevant):
  1. Draft the reply in the requested language. Keep it focused:
  1. Confirm before posting: show the drafted reply to the user and ask for approval unless they explicitly said "just post it" / "直接发".
  1. Post: gh issue comment <N> --repo <owner/repo> --body "$(cat <<'EOF'\n<body>\nEOF\n)". Use HEREDOC for correct formatting.
  1. Return the comment URL printed by gh.

Safety

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.