agentleFS
MarcusJellinghausMarcusJellinghaus/mcp-workspace/.claude/skills/issue_approve/SKILL.md

issue_approve

Skill48 starsChanged 3 months agoMITView on GitHub

Approve issue to transition to next workflow status

1 other project uses a version of this, 1 of them edited.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

9 rules. About 0 are common, 5 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If no issue number is provided:

    line 22
  2. Very specific:

    Check if the issue number is known from prior /issue_analyse or /issue_create in this conversation

    line 23
  3. Very specific:

    Read .vscodeclaude_status.txt and extract the issue number from the Issue #NNN line

    line 24
  4. Distinctive:

    If still unknown, ask the user

    line 25
  5. Very specific:

    If a --repo owner/repo flag was given, first check whether that repo is a configured reference project — match owner/repo against the url …

    line 29
  6. Very specific:

    Call mcp__mcp-workspace__github_issue_view with the issue number (or with reference_name for a cross-repo issue).

    line 40
  7. Distinctive:

    No blocking questions remain

    line 47
  8. Distinctive:

    If any check fails, stop and report — do not approve.

    line 49
  9. Distinctive:

    If the label has not changed, report the issue as still sitting at its old status.

    line 81

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Approve Issue

Approve the current issue to transition it to the next status in the workflow.

Resolve Issue Number

The user may provide an issue number as the argument (available as $ARGUMENTS). If no issue number is provided:

  1. Check if the issue number is known from prior /issue_analyse or /issue_create in this conversation
  2. Read .vscodeclaude_status.txt and extract the issue number from the Issue #NNN line
  3. If still unknown, ask the user

Cross-Repo Issues

If a --repo owner/repo flag was given, first check whether that repo is a configured reference project — match owner/repo against the url of each entry get_reference_projects() returns. If it is, use the MCP tools with that entry's name as reference_name: mcp__mcp-workspace__github_issue_view and mcp__mcp-workspace__github_issue_comment both reach it. Only when the repo is not a configured reference project, fall back to the gh commands below, appending --repo owner/repo to each.

Instructions

  1. Fetch the issue to confirm it exists: Call mcp__mcp-workspace__github_issue_view with the issue number (or with reference_name for a cross-repo issue).

    Note its current status label — step 5 compares against it.

  2. Validate that the issue is ready for approval:

    • Issue has been analyzed/discussed
    • Requirements are clear
    • No blocking questions remain

    If any check fails, stop and report — do not approve.

  3. Comment /approve on the issue:
mcp__mcp-workspace__github_issue_comment(number=<issue_number>, body="/approve")

For a cross-repo issue (--repo owner/repo) that is a configured reference project, pass its reference_name:

mcp__mcp-workspace__github_issue_comment(number=<issue_number>, body="/approve", reference_name=<name>)

For any other repo, use Bash instead — the MCP tool only reaches the workspace repository and its configured reference projects. MSYS_NO_PATHCONV=1 prevents Windows Git Bash from rewriting the leading / and is needed only for this Bash form:

MSYS_NO_PATHCONV=1 gh issue comment <issue_number> --body "/approve" --repo owner/repo

This triggers the GitHub Action to promote the issue status (e.g., status-01:created → status-02:awaiting-planning).

  1. Wait 5 seconds — call mcp__mcp-tools-py__sleep with sleep_seconds: 5 — to give the GitHub Action time to apply the label transition.
  2. Confirm the transition landed. Re-fetch the issue and compare its status label against what you saw in step 1. The comment in step 3 only requests the transition; the Action performs it, and it can be slow or fail.

    If the label has not changed, report the issue as still sitting at its old status.

  3. Report the issue number, the status transition (from → to, or "unchanged"), and the assignee.

Note: This skill has disable-model-invocation — it can only be run by the user typing /issue_approve. If you need this skill as a follow-up, tell the user: "Please run /issue_approve to proceed."

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.