agentleFS
NVIDIAKnown publisherNVIDIA/sphinx-llm/.agents/skills/resolve-issue/SKILL.md

resolve-issue

Skill49 starsChanged 21 days agoApache-2.0View on GitHub

Triggers when you are asked to resolve a specific GitHub issue for the sphinx-llm project. Guides you through a test-driven workflow to resolve the issue, ensuring it is ready for work and following project conventions.

9 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

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

  • 0

    Common

    Most of the 6 edited versions we read keep these.

  • 14

    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. Distinctive:

    When the user asks you to resolve a GitHub issue, follow these steps:

    line 14
  2. Very specific:

    Use an available web browsing or fetching tool to retrieve the issue from https://github.com/NVIDIA/sphinx-llm/issues/<issue-number>

    line 28
  3. Very specific:

    IMPORTANT: Before proceeding with implementation, check if the issue has either the ready or good ai issue label.

    line 34
  4. Distinctive:

    If neither label is present: Stop and inform the user:

    line 39
  5. Distinctive:

    Write new test(s) that verify the desired functionality described in the issue

    line 52
  6. Distinctive:

    Run the tests to confirm they fail as expected:

    line 55
  7. Distinctive:

    Follow the project's architecture patterns (see AGENTS.md)

    line 64
  8. Distinctive:

    Run tests frequently to verify progress:

    line 65
  9. Distinctive:

    Ensure all tests pass before proceeding

    line 71
  10. Distinctive:

    Run pre-commit hooks to ensure code quality:

    line 75
  11. Distinctive:

    After the implementation is complete and tests are passing:

    line 85
  12. Very specific:

    Update relevant documentation in docs/source/

    line 87
  13. Very specific:

    If the feature adds new configuration options, document them in the appropriate .rst files

    line 88
  14. Distinctive:

    If the feature adds new directives or extensions, add examples to the docs

    line 90
  15. Very specific:

    Run gh issue view 42 --repo NVIDIA/sphinx-llm (or use an available web browsing or fetching tool)

    line 103
  16. Very specific:

    Check for a ready or good ai issue label

    line 105
  17. Very specific:

    If either label is present, write tests in src/sphinx_llm/tests/

    line 106
  18. Very specific:

    Update docs in docs/source/

    line 108
  19. Distinctive:

    Run tests and linting

    line 109
  20. Distinctive:

    Follow the existing code style and patterns

    line 113
  21. Distinctive:

    Keep changes focused on the specific issue

    line 114
  22. Distinctive:

    Don't over-engineer - implement only what's needed for the issue

    line 115

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

Resolve GitHub Issue

This skill guides you through resolving a GitHub issue for the sphinx-llm project using a test-driven development workflow.

Instructions

When the user asks you to resolve a GitHub issue, follow these steps:

1. Fetch Issue Information

First, retrieve the issue details:

If gh CLI is available:

gh issue view <issue-number> --repo NVIDIA/sphinx-llm

If the gh CLI is not available:

  • Use an available web browsing or fetching tool to retrieve the issue from https://github.com/NVIDIA/sphinx-llm/issues/<issue-number>
  • Extract the title, body, and labels

2. Check for a Readiness Label

IMPORTANT: Before proceeding with implementation, check if the issue has either the ready or good ai issue label. good ai issue is the project's label for issues that are well-defined enough to pass to a coding agent.

  • If either label is present: Proceed with implementation
  • If neither label is present: Stop and inform the user:

    "This issue does not have a ready or good ai issue label, which indicates it likely requires more discussion before implementation. Please ensure the issue has been discussed and approved by maintainers before proceeding."

3. Test-Driven Development Workflow

Once you've confirmed the issue is ready for implementation, follow this TDD workflow:

Step 3a: Write Tests First

  • Review the existing test structure in src/sphinx_llm/tests/
  • Write new test(s) that verify the desired functionality described in the issue
  • The tests should fail initially (since the feature isn't implemented yet)
  • Run the tests to confirm they fail as expected:

    uv run pytest src/sphinx_llm/tests/ -v

Step 3b: Implement the Feature

  • Implement the minimum code necessary to make the tests pass
  • Follow the project's architecture patterns (see AGENTS.md)
  • Run tests frequently to verify progress:

    uv run pytest src/sphinx_llm/tests/ -v
  • Ensure all tests pass before proceeding

Step 3c: Run Linting and Formatting

  • Run pre-commit hooks to ensure code quality:

    pre-commit run --all-files
  • Fix any issues identified by the linters

4. Update Documentation

After the implementation is complete and tests are passing:

  • Update relevant documentation in docs/source/
  • If the feature adds new configuration options, document them in the appropriate .rst files
  • If the feature adds new directives or extensions, add examples to the docs
  • Build the docs locally to verify changes:

    uv run --dev sphinx-build docs/source docs/build/html

Example Usage

User: "Resolve issue #42"

You should:

  1. Run gh issue view 42 --repo NVIDIA/sphinx-llm (or use an available web browsing or fetching tool)
  2. Check for a ready or good ai issue label
  3. If either label is present, write tests in src/sphinx_llm/tests/
  4. Implement the feature
  5. Update docs in docs/source/
  6. Run tests and linting

Notes

  • Follow the existing code style and patterns
  • Keep changes focused on the specific issue
  • Don't over-engineer - implement only what's needed for the issue

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.