fix-bug
Skill by JetBrains
Automates the bug-fix workflow for the Exposed project, from issue to pull request. It reads a GitHub or YouTrack issue, writes a failing reproducer test, implements an approved fix, and validates it with Gradle and Detekt. It is built for contributors to JetBrains' Exposed repository.
Install fix-bug
Built from the published package, never by AI.
git clone --depth 1 https://github.com/JetBrains/Exposed /tmp/Exposed && mkdir -p ~/.claude/skills && cp -r /tmp/Exposed/.claude/skills/fix-bug ~/.claude/skills/fix-bugRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/JetBrains/Exposed /tmp/Exposed && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/Exposed/.claude/skills/fix-bug ~/.gemini/antigravity-cli/skills/fix-bugAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The fix-bug skill runs the full bug-fix lifecycle for the Exposed project. It accepts a GitHub issue number, a YouTrack issue ID, or a YouTrack URL, and fetches the issue details, including comments. The skill saves the issue as a JSON file, creates a new branch, and writes a reproducer test that must fail on the current codebase before any fix is made.
After the user approves a written plan with the root cause and proposed fix, the skill implements a minimal change. It runs the relevant Gradle test tasks, including H2 and PostgreSQL targets, and runs Detekt. It also updates the public API dump and documentation when the public API changes, then commits in Conventional Commits format. It is intended for maintainers and contributors working on Exposed issues.
Written from the project's SKILL.md and checked against it.
What it can do
- Issue intakeParses #NUMBER, EXPOSED-XXXX, or a YouTrack URL and fetches the issue.
- Reproducer testWrites a failing test that demonstrates the reported bug before fixing it.
- Branch and commitsCreates a claude/ branch and commits the test and fix using Conventional Commits.
- Fix planningPresents root cause and a proposed fix for user review before implementing.
- ValidationRuns Gradle test tasks, Detekt, and apiDump when the public API changes.
- YouTrack status updateAssigns the YouTrack issue to the current user and sets its state to In Progress.
- Documentation updateUpdates Writerside documentation topics when a feature or public API change needs it.
What you need
- GitHub CLI (gh) for GitHub issues
- YouTrack MCP server with a permanent token from JetBrains Hub
- Gradle build environment for the Exposed repository
- git
Try asking
- Fix bug #123 in jetbrains/exposed using the fix-bug workflow
- Fix EXPOSED-1234 and write a failing reproducer test first
- Fix the bug described in https://youtrack.jetbrains.com/issue/EXPOSED-5678
Good to know
- Built for the Exposed repository and its flattened Gradle structure.
- Waits for user approval of the plan before implementing the fix.
- YouTrack status updates do not block the workflow if the MCP server is not set up.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .claude/skills/fix-bug/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md15 KB
Alternatives to fix-bug
All alternatives →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.
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.
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.
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.
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.
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.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
fix-bug: common questions
Which issue formats does the fix-bug skill accept?
It accepts GitHub issues as #NUMBER, YouTrack IDs as EXPOSED-NUMBER, and YouTrack issue URLs. The source says it fetches each one from its tracker.
Does the skill fix the bug without asking first?
No. It presents the root cause and proposed fix, and waits for user approval before implementing anything.
Which test modules does the skill use?
It mainly uses exposed-tests and exposed-r2dbc-tests. Bugs in extension modules get tests in those modules, and R2DBC DAO bugs go in exposed-dao-r2dbc-tests.
How do I install fix-bug?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is fix-bug free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is fix-bug safe to use?
It scores 86 of 100. Grades: maintenance A, licence A, 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 fix-bug?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
