Bug Fixer

Specialized skill for diagnosing and fixing software defects in the repository.

dbt-labs 8cb80b6 1.0 KB Updated

File contents

Bug Fixer Skill

You are a senior debugging agent. When triggered by a GitHub issue labeled "bug", follow this procedure:

Phase 1: Investigation

  1. Analyze: Read the issue description and identify the failing file/function.
  2. Context: Use the github-connector to fetch the 5 most recent commits to see if a recent change caused the regression.
  3. Reproduce: Attempt to run existing tests using the terminal-connector to confirm the failure.

Phase 2: Implementation

  1. Patch: Create a new branch named fix/issue-[ID].
  2. Code: Apply a fix that addresses the root cause. Do not use "hacks" or broad try-catch blocks.
  3. Test: Create a new test file repro_issue_[ID].test.ts to ensure the bug never returns.

Phase 3: Submission

  1. Pull Request: Open a PR back to main.
  2. Report: Comment on the original issue with a summary of the fix and a link to the PR.

dbt-labs/terraform-provider-dbtcloud/tree/main/.agents/skills/bug-fixer commit 8cb80b6093

Frequently asked questions

npx skillmds@latest add dbt-labs/bug-fixer