MichaelVessia

gh-comment

Comment on a GitHub PR or issue on Michael's behalf, clearly attributed as AI-generated. Use when asked to leave a comment, reply, or respond on GitHub.

MichaelVessia 2 Updated 3mo ago
GitHub

Install

npx skillscat add michaelvessia/nixos-config/gh-comment

Install via the SkillsCat registry.

SKILL.md

Your task

Leave a comment on a GitHub PR or issue on Michael's behalf. The comment must
be clearly attributed as AI-generated.

Arguments

The user will provide:

  1. A PR/issue number or URL
  2. What they want the comment to say

Comment format

Wrap the user's message with this template:

> This comment was left by Michael's AI agent on his behalf.

{user's message}

Steps

  1. Determine whether the target is a PR or issue. If a number is given without
    context, check gh pr view first, fall back to gh issue view.
  2. Construct the comment body using the template above.
  3. Post using gh pr comment <target> --body "..." or
    gh issue comment <target> --body "...".
  4. Output the URL of the comment or confirm it was posted.

You MUST do this in a single message. Do not ask follow-up questions.