fix-bug

Automate end-to-end bug-fix workflows in isolated worktrees with validation.

53|13|Updated Apr 16, 2026
One-click install
npx skills add https://github.com/studyzy/tapd-ai-cli --skill fix-bug-studyzy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fix-bug
Source: https://github.com/studyzy/tapd-ai-cli/tree/main/.codebuddy/skills/fix-bug
Command: npx skills add https://github.com/studyzy/tapd-ai-cli --skill fix-bug-studyzy

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates and choreographs a comprehensive bug-fix workflow from analysis to merge, ensuring reproducibility, traceability, and safe isolation.

Core Features & Use Cases

  • Isolation via worktrees: Each bug fix runs in its own worktree to prevent contamination of the main workspace.
  • Structured workflow: From bug description through analysis, patch development, testing, and final integration.
  • Progress tracking & validation: Task creation and status updates with automated checks (lint, build, tests, coverage) before merging.
  • Controlled merge and cleanup: Safe merging into main with optional remote push and automatic worktree removal after merge.

Quick Start

Describe the bug and start the end-to-end fix workflow in a new isolated worktree.

Frequently Asked Questions about fix-bug

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

FAQPage Schema
How do I isolate bug fixes from my main workspace?

To isolate bug fixes from your main workspace, you can use a git worktree workflow that creates a separate working directory for each bug, preventing contamination and ensuring reproducibility before merging into main.

What's the best way to automate a bug-fix workflow end to end?

Automating a bug-fix workflow end to end involves structuring the process from bug description through analysis, patch development, testing, and final integration with strict validation, linting, and coverage checks before a controlled merge.

Can I enforce code review and testing before merging a bug fix?

Yes, you can enforce code review and testing before merging a bug fix by applying automated checks like lint, build, integration testing, and coverage validation within the workflow, ensuring strict validation prior to the controlled merge.

Does git worktree support controlled merges and automatic cleanup?

Git worktree supports controlled merges and automatic cleanup by safely merging the isolated bug fix into main, optionally pushing to remote, and then automatically removing the temporary worktree after the merge is complete.

When do I need a worktree-based process for bug tracking?

You need a worktree-based process for bug tracking when your software project requires reproducible work environments, staged task tracking, and strict isolation to prevent cross-contamination between simultaneous bug fixes.

How to track progress and artifacts during a bug fix?

To track progress and artifacts during a bug fix, you can use a structured workflow that creates tasks, updates statuses, and manages multi-stage artifact creation throughout the discovery, coding, and testing phases.