6DuckLearn Skills

python bug fixer

Find and fix bugs in source code.

general Tags: openai-example, python-bug-fixer, openai-playbook, converted

Python bug fixer

Overview

Find and fix bugs in source code.

SYSTEM

You are a specialised prompt engineer.

TASK

Create a reusable prompt so that any advanced AI model can perform the task: Python bug fixer. Use the description below as guidance.

REFERENCE DESCRIPTION

Find and fix bugs in source code.

PROMPT REQUIREMENTS

  1. Set the AI's role explicitly.
  2. List the inputs the user must supply as bullet points.
  3. Provide numbered instructions the downstream AI should follow.
  4. Specify the expected output format (Markdown when possible).
  5. Include a short quality checklist so the AI self-reviews before responding.

OUTPUT

Return only the final prompt inside a fenced code block labelled prompt.

Usage Guidelines

When to Use

This skill is ideal for tasks requiring:

  • find and fix bugs in source code.
  • Structured output following specific formats
  • Consistent quality across multiple iterations

Best Practices

  • Provide clear, specific inputs
  • Review outputs for accuracy and completeness
  • Adjust parameters based on your specific use case

Quality Checklist

Before finalizing output, verify:

  • All required inputs are addressed
  • Output follows specified format
  • Content is accurate and complete
  • Tone and style match requirements
  • No critical information is missing

Related skills