Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

fixing-bugs

Skill by medusajs

Fixes bugs in the Medusa monorepo from a GitHub issue, a Linear ticket, or a described issue. It writes a regression test, applies a minimal fix, and emits a result file and PR body for a downstream step to open the PR.

  • Score 87
  • 38k stars
  • NOASSERTION
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install fixing-bugs

Built from the published package, never by AI.

git clone --depth 1 https://github.com/medusajs/medusa /tmp/medusa && mkdir -p ~/.claude/skills && cp -r /tmp/medusa/.claude/skills/fixing-bugs ~/.claude/skills/fixing-bugs

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install fixing-bugs in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

fixing-bugs is an agent skill for the Medusa monorepo. It takes a bug report from a GitHub issue, a Linear ticket, or a described issue and works it from validation to a tested fix. The assistant checks the report against the code, writes a regression test and confirms it fails, then applies a minimal fix.

It then re-runs the tests, adds a patch changeset, and writes fix-result.json and pr-body.md. It does not commit, push, or open a PR; a downstream step does that. The skill is for maintainers and contributors working on Medusa bugs, and it enforces limits on file count, changed lines, and protected paths.

Written from the project's SKILL.md and checked against it.

What it can do

  • Gather the reportReads the issue or ticket text, affected version, repro steps, and expected vs actual behavior.
  • Validate the bugChecks the report against the code path and stops if the bug cannot be confirmed.
  • Write a failing testAdds a regression test next to existing tests and confirms it fails for the reported reason.
  • Apply a minimal fixFixes the root cause in the fewest lines, within set size and path limits.
  • Re-run testsChecks that the new test and the surrounding suite pass after the fix.
  • Add a changesetAdds a patch changeset for each published package that changed.
  • Emit result and PR bodyWrites fix-result.json and pr-body.md for a downstream step to commit and open the PR.

What you need

  • LINEAR_API_KEY for reading Linear tickets
  • Access to the medusajs/medusa repository

Try asking

  • Fix GitHub issue 123 in the Medusa repo
  • Fix Linear ticket DX-3078 and write the PR body
  • Validate and fix this described bug in the Medusa monorepo

Good to know

  • Does not commit, push, or open a PR
  • Limited to 10 files and 500 changed lines, excluding tests and changesets
  • Stops or emits needs-team for protected paths, migrations, and breaking API changes
  • Does not change source if the bug is not confirmed

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .claude/skills/fixing-bugs/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md8 KB
  • reference/fixing.md3 KB
  • reference/output.md4 KB
  • reference/validating.md3 KB
  • reference/writing-tests.md3 KB

Alternatives to fixing-bugs

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

fixing-bugs: common questions

Does fixing-bugs open pull requests itself?

No. It leaves changes uncommitted and writes fix-result.json and pr-body.md, and a downstream step commits, pushes, and opens the PR.

What happens if the fix is too large?

If the fix needs a blocked path, a breaking public API or event change, or exceeds the size limits, the skill reverts its changes and emits needs-team.

Which bug sources does it accept?

It accepts a GitHub issue number or medusajs/medusa issue URL, a Linear ticket ID, or a described issue given as text.

How do I install fixing-bugs?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is fixing-bugs free?

The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.

Is fixing-bugs safe to use?

It scores 87 of 100. Grades: maintenance A, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to fixing-bugs?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

fixing-bugs Install

Add to stack

Loading.