fix-bug

Automate Ktor bug fixes from GitHub and YouTrack issues to pull requests.

14.5k|1.3k|Updated Aug 3, 2015
One-click install
npx skills add https://github.com/ktorio/ktor --skill fix-bug-ktorio
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fix-bug
Source: https://github.com/ktorio/ktor/tree/main/.claude/skills/fix-bug
Command: npx skills add https://github.com/ktorio/ktor --skill fix-bug-ktorio

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the entire process of fixing bugs reported in Ktor's issue trackers, from understanding the problem to opening a pull request.

Core Features & Use Cases

  • Issue Triage: Parses GitHub and YouTrack issues to gather all necessary context.
  • Automated Reproduction: Creates failing tests to precisely pinpoint the bug.
  • Code Fix & Validation: Implements and verifies the fix against the reproducer and full test suites.
  • PR Generation: Creates a well-formatted pull request with all relevant details.
  • Use Case: When a user reports a bug like "KTOR-9352: NullPointerException when handling empty request body", this Skill will automatically create a branch, write a test that fails due to the NPE, fix the code, and open a PR.

Quick Start

Use the fix-bug skill to address GitHub issue #123.

Frequently Asked Questions about fix-bug

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate bug fixing from YouTrack or GitHub issues to a pull request?

To automate bug fixing from YouTrack or GitHub issues, this skill parses the issue context, generates a failing test, modifies the code, validates the fix, and opens a pull request. It manages the end-to-end workflow specifically for the Ktor project.

Can I automatically generate failing tests to reproduce Ktor bugs?

You can automatically generate failing tests to reproduce Ktor bugs. The skill parses issue details and creates a test case that precisely pinpoints the reported defect before implementing and validating the code fix.

Do I need GitHub CLI and Git installed to automate pull request creation?

Yes, you need GitHub CLI and Git installed to automate pull request creation. The skill requires Git, GitHub CLI, and YouTrack MCP tools to fully function across branch creation, code validation, and PR generation.

What is the best way to fix a NullPointerException reported in a Ktor issue?

The best way to fix a NullPointerException reported in a Ktor issue is to use an automated end-to-end workflow. The skill parses the issue, creates a branch, writes a failing test for the NPE, fixes the code, and opens a PR.

Does the automated bug fix workflow run the full test suite to validate code changes?

Yes, the automated bug fix workflow runs the full test suite to validate code changes. After implementing the fix, the skill verifies the code against both the reproducer test and the full test suites before generating a pull request.

When should I not use an automated tool to fix Ktor bugs?

You should not use an automated tool to fix Ktor bugs when the issue lacks clear reproduction context or when missing required environment dependencies. The skill needs Git, GitHub CLI, and YouTrack MCP tools to parse issues, modify code, and validate fixes properly.