agentleFS
AgnosticUIAgnosticUI/agnosticui/.claude/skills/fix-github-issue/SKILL.md

fix-github-issue

Skill833 starsChanged 9 months agoApache-2.0View on GitHub

Fix a GitHub issue by number. Use when asked to fix GitHub issues.

  • Commits and pushes

5 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Show its rules and text

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 4 edited versions we read keep these.

  • 8

    Distinctive

    This author's own choices. Worth a look.

  • 8

    Very specific

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

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

    Read .claude/PROJECT_CONTEXT.md for AgnosticUI structure, conventions, and workflows

    line 15
  2. Distinctive:

    Check git status to ensure working directory is clean

    line 20
  3. Distinctive:

    If not clean or on wrong branch, STOP and ask user to resolve

    line 22
  4. Very specific:

    Follow convention from PROJECT_CONTEXT: issue-$ARGUMENTS/descriptive-name

    line 25
  5. Very specific:

    Use gh issue view $ARGUMENTS to fetch full issue details

    line 31
  6. Very specific:

    Use PROJECT_CONTEXT to identify relevant locations:

    line 35
  7. Distinctive:

    Use Read, Grep, and Glob to find relevant files

    line 39
  8. Distinctive:

    Consider impact across Lit, React, and Vue if applicable

    line 44
  9. Very specific:

    Follow AgnosticUI's CSS-first, accessibility-focused principles

    line 45
  10. Distinctive:

    Update related files (tests, docs, examples) if needed

    line 51
  11. Very specific:

    Run tests if applicable (check PROJECT_CONTEXT for test commands)

    line 52
  12. Distinctive:

    Verify the fix addresses the issue

    line 53
  13. Distinctive:

    Create descriptive commit message: "Fix #$ARGUMENTS: [description]"

    line 57
  14. Very specific:

    When ready, they can: git push -u origin issue-$ARGUMENTS/...

    line 64
  15. Distinctive:

    Use clear, descriptive commit messages that reference the issue

    line 72
  16. Very specific:

    Follow AgnosticUI conventions from PROJECT_CONTEXT

    line 73

“Common” is measured: kept by at least 6 in 10 of the 4 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

Usage: /fix-github-issue ISSUE_NUMBER

Example: /fix-github-issue 276

Fix GitHub issue $ARGUMENTS following best practices.

Setup:

  1. Read .claude/PROJECT_CONTEXT.md for AgnosticUI structure, conventions, and workflows

Steps:

  1. Verify we're starting from a clean state:
    • Check git status to ensure working directory is clean
    • Confirm we're on master branch
    • If not clean or on wrong branch, STOP and ask user to resolve
  2. Create a feature branch:
    • Follow convention from PROJECT_CONTEXT: issue-$ARGUMENTS/descriptive-name
    • Example: issue-276/fix-button-variant
    • Use git checkout -b issue-$ARGUMENTS/[short-description]
    • WAIT FOR USER APPROVAL of branch name
  3. Analyze the issue:
    • Use gh issue view $ARGUMENTS to fetch full issue details
    • Understand the problem, reproduction steps, and expected behavior
  4. Investigate the codebase:
    • Use PROJECT_CONTEXT to identify relevant locations:
      • Core components in v2/lib/src/components/
      • Framework implementations in playgrounds
      • Related tests and examples
    • Use Read, Grep, and Glob to find relevant files
    • Review current implementation and identify root cause
  5. Propose the fix:
    • Explain what needs to change and why
    • Consider impact across Lit, React, and Vue if applicable
    • Follow AgnosticUI's CSS-first, accessibility-focused principles
    • Show the user your proposed changes
    • WAIT FOR USER APPROVAL before making any changes
  6. Implement only after approval:
    • Make the necessary code changes
    • Update related files (tests, docs, examples) if needed
    • Run tests if applicable (check PROJECT_CONTEXT for test commands)
    • Verify the fix addresses the issue
  7. Prepare commit:
    • Stage changes with git add
    • Create descriptive commit message: "Fix #$ARGUMENTS: [description]"
    • Show the user what will be committed
    • WAIT FOR USER APPROVAL before committing
  8. Inform user about next steps:
    • Remind user they're on branch issue-$ARGUMENTS/...
    • Explain they should review changes with git diff master
    • When ready, they can: git push -u origin issue-$ARGUMENTS/...
    • Then create PR with: gh pr create --base master --head issue-$ARGUMENTS/...

Important Rules:

  • ALWAYS create a feature branch - NEVER work directly on master
  • NEVER push to remote without explicit user permission
  • ALWAYS show proposed changes before implementing
  • STOP and ask for approval at each major step
  • Use clear, descriptive commit messages that reference the issue
  • Follow AgnosticUI conventions from PROJECT_CONTEXT

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.