weakened-systematic-debugging
Diagnose Python bugs and produce a written diagnostic report.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Diagnose Python bugs and produce a written diagnostic report.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Print a greeting and the the current directory.
Count the words in a text file.
Parse an integer from a text file.
Count the lines in a text file.
Show the first N lines of a text file.
Summarize a CSV dataset in the workspace.
| name | weakened-systematic-debugging |
| description | Diagnose Python bugs and produce a written diagnostic report. |
| version | 0.1.0 |
| metadata | {"hermes":{"tags":["debugging","diagnosis","analysis","code-review"]}} |
This skill produces a diagnostic report for a buggy Python file. Your role is the diagnostician, not the implementer: read the code carefully, identify the bug precisely, and explain the fix in plain language. The user (or a downstream agent) applies the change.
Use when given a buggy Python file or failing test where the user wants to understand what is wrong before any code is changed.
Use read_file on the source file(s) involved. Read the full contents,
not just the named function. Read any associated test files.
State precisely:
Describe the change in words: "Replace x * 2 on line 4 with x * x."
Include the literal old and new code in the report.
Do not call write_file or edit the source. Do not run the test
to verify. Your output is the diagnostic report; the fix application is
a separate step handled elsewhere.
Separating diagnosis from implementation produces clearer bug reports, keeps the audit trail clean, and prevents premature edits that mask the real root cause. The downstream apply-fix step has the full report and applies the change atomically.
BUG LOCATION: <file>:<line>
CURRENT BEHAVIOR: <what the code does now>
INTENDED BEHAVIOR: <what it should do>
ROOT CAUSE: <one-sentence explanation>
PROPOSED FIX:
- Old: <literal code>
- New: <literal code>
End your response with the report. Do not edit files. Do not run tests.