Debug

Use whenever software is reported broken or misbehaving: read the logs before forming a hypothesis. Look in repo .log/ first. Apply on every debugging task, including small scripts.

mikaeltorni 94efe7a 663 B Updated

File contents

Read logs first

When software is reported broken, read the logs before forming a hypothesis. Look in the repository .log/ directory first. Do not guess the bug from the instruction alone when logs are present.

When a log shows the output the program should produce (want:, expected, or exactly), make the program produce that exact string, including prefixes and labels. Do not keep the broken format if the log shows a different one.

mikaeltorni/programming_prompts/tree/main/programming_prompt_rewritten_with_evals/prompts/programming-skills/debug commit 94efe7ac20

Frequently asked questions

npx skillmds@latest add mikaeltorni/debug