agentleFS
mauroepcemauroepce/claude-workspace/skills/issue/SKILL.md

issue

Skill1 starsChanged 3 months agoMITView on GitHub

Pull a GitHub issue by number, structure its context, and hand off to the spec → generate → review framework (/work). Use to start work that was filed as an issue.

50 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use branch, commit and 9 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • MindgamesSkill

    branch

    Use when a user asks to create a new local git branch and start issue work (for example, "create branch" or "start working on issue XYZ"). Use this for issue-based branch naming in the `type/scope-short-description` pattern and for always syncing local `main` from `origin/main` before creating the new branch, creating the local tracking `main` branch first when needed.

    Also in 3 projects that use this

  • SentrySkill

    commit

    Create commit messages following Sentry conventions. Use when committing code changes, writing commit messages, or formatting git history. Follows conventional commits with Sentry-specific issue references.

    Also in 19 projects that use this

  • vertz-devSkill

    backlog

    Manages deferred/blocked work items as GitHub Issues with labels and blocker tracking

    Also in 3 projects that use this

  • CodeWithBehnamSkill

    browse

    Fast headless browser for QA testing and site dogfooding. Navigate any URL, interact with elements, verify page state, diff before/after actions, take annotated screenshots, check responsive layouts, test forms and uploads, handle dialogs, and assert element states. ~100ms per command. Use when you need to test a feature, verify a deployment, dogfood a user flow, or file a bug with evidence.

    Also in 3 projects that use this

  • Microsoft AzureSkill

    test

    Also in 7 projects that use this

  • Microsoft AzureSkill

    lint

    Run all linting and spell checking for TypeScript and Rust code. Run this before committing to catch style issues, clippy warnings, and misspellings.

    Also in 4 projects that use this

  • +1 more from Azure

The file

We split this skill into the rules it gives an agent

8 rules. 0 are common, 6 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 48 edited versions we read keep these.

  • 6

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    If this fails because gh is not authenticated, tell the user to run gh auth login and try again.

    line 19
  2. Distinctive:

    Wait for the answer. Append to a notes section.

    line 57
  3. Distinctive:

    Use a kebab-case slug from the title (max 5 words).

    line 71
  4. Very specific:

    Write .claude/specs/issue-<number>.md containing the Phase 2 structured summary plus the Phase 3 notes, with Status: intake at the top.

    line 81
  5. Distinctive:

    Don't start implementing. This command is intake only.

    line 89
  6. Distinctive:

    Don't trust the issue body uncritically.

    line 90
  7. Distinctive:

    Don't auto-create the branch unless the user agrees.

    line 91
  8. Distinctive:

    Don't comment on the GitHub issue from this command.

    line 92

“Common” is measured: kept by at least 6 in 10 of the 48 edited versions of this file we could read. “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

/issue — GitHub issue intake

You are Claude. The user invoked /issue $ARGUMENTS to start work from a GitHub issue. Your job is to fetch the issue, surface what matters, and hand off to the structured workflow.

Argument required: issue number (e.g., 47). If $ARGUMENTS is empty, ask: "Issue number?"

Phase 1 — Fetch

Run, in order:

gh issue view $ARGUMENTS --json title,body,labels,state,assignees,comments,url

If this fails because gh is not authenticated, tell the user to run gh auth login and try again. Don't proceed with partial info.

Phase 2 — Structure

From the JSON, present a structured summary in this exact format:

ISSUE #<number> — <title>
Status: <open / closed>
Labels: <labels or "none">
URL: <url>

PROBLEM (the body, summarized to 3-5 lines max):
<your summary>

EXPLICIT REQUIREMENTS (extracted from the body — lists, checkboxes, code blocks):
- <req 1>
- <req 2>
- ...

OPEN QUESTIONS RAISED IN COMMENTS:
- <comment author> (<date>): <key point>
- ...

WHAT'S NOT DEFINED YET (your reading of the gaps):
- <gap 1>
- <gap 2>
- ...

The "What's not defined yet" section is critical. Read between the lines and surface ambiguity that the framework will need to resolve.

Phase 3 — Additional context (this is the user's job)

Ask:

"Anything you know that's not in the issue? E.g., a teammate told you X, you saw Y in a related PR, you know the customer's actual use case is Z."

Wait for the answer. Append to a notes section.

Phase 4 — Branch setup (optional, ask)

Ask:

"Want me to create a branch for this issue? Suggested name: issue-<number>-<slug-of-title>. Or are you working on an existing branch?"

If yes, run:

git checkout -b issue-$ARGUMENTS-<slug>

Use a kebab-case slug from the title (max 5 words).

Phase 5 — Hand off to /work

Save the structured issue summary + the user's additional notes to a file so it survives the session:

mkdir -p .claude/specs

Write .claude/specs/issue-<number>.md containing the Phase 2 structured summary plus the Phase 3 notes, with Status: intake at the top. When /work runs next, its Phase 1 spec replaces Status: intake with the full spec in the same file (or a new file that references this one).

Then output:

"Issue context saved to .claude/specs/issue-<number>.md. Invoke /work now and use it as your input to Phase 1."

What NOT to do

  • Don't start implementing. This command is intake only.
  • Don't trust the issue body uncritically. The "what's not defined" section is where your judgment adds value.
  • Don't auto-create the branch unless the user agrees.
  • Don't comment on the GitHub issue from this command. That happens later when the work is shipped.

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.