agentleFS
poweruserzpoweruserz/OpenTokenUsage/.claude/skills/close-resolved-issues/SKILL.md

close-resolved-issues

Skill76 starsChanged 8 months agoMITView on GitHub

Find open OpenTokenUsage issues whose fix has merged and close them with thanks and an explanation. Use when asked whether an issue is solved, to clean up or triage issues, after a PR that fixes an issue merges, or after a release.

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read every comment: the reporter's last one often raises a follow-up.

    line 23
  2. Distinctive:

    Not solved, or unclear: report what is missing to the owner and leave it open.

    line 26
  3. Distinctive:

    Write the comment in English to a file in the scratchpad (inline quoting breaks in PowerShell), then:

    line 31
  4. Very specific:

    Never paste tokens, log contents or anything personal from the thread.

    line 43

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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

Close resolved issues

The owner's standing rule (CLAUDE.md, "Issues and outside PRs"): an issue whose fix has merged is closed without asking, with thanks and an explanation. Repo: poweruserz/OpenTokenUsage.

1. Decide whether it is solved

gh issue view <n> -R poweruserz/OpenTokenUsage --comments
gh pr list -R poweruserz/OpenTokenUsage --state merged --search "<n> in:body" --json number,title,mergedAt
gh release list -R poweruserz/OpenTokenUsage --limit 5
  • Solved = a merged PR does what the issue asks. Read the PR diff or the code (plugins/<id>/, docs/providers/<id>.md), not only its title.
  • Which release ships it: the first line of git tag --contains <merge sha> --list 'v*' --sort=v:refname (plain order puts v0.7.10 before v0.7.9). No tag yet = "the next release".
  • Read every comment: the reporter's last one often raises a follow-up. Check each one in the code. If it is a real bug still open, say so to the owner and don't close; if it is expected (documented, or the provider's behaviour), explain it in the closing comment.
  • Not solved, or unclear: report what is missing to the owner and leave it open.
  • A request the owner declined: close as not planned with the reason.

2. Close it

Write the comment in English to a file in the scratchpad (inline quoting breaks in PowerShell), then:

gh issue close <n> -R poweruserz/OpenTokenUsage --reason completed --comment (Get-Content -Raw <file>)

The comment, a few sentences:

  • Thanks, naming what helped (their report, testing, logs).
  • What changed, with the PR link, and the release (v0.9.2) or "the next release".
  • An answer to each point they raised that stays open.
  • "Feel free to reopen if …".

Never paste tokens, log contents or anything personal from the thread. Mention people only by their login in plain text, never a bare @name for a role.

3. Report

Tell the owner which issues were closed (links) and which stayed open and why.

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.