with one click
bug-author
Create reverse Rust puzzles with intentional, educational bugs.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Create reverse Rust puzzles with intentional, educational bugs.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Review reverse Rust puzzles for realism, focus, and teaching value.
Help record Rust learning progress, mistakes, debug attempts, and concept gaps.
Create high-quality Rust learning puzzles for experienced programmers.
Review Rust puzzles for quality, correctness, and learning value.
| name | bug-author |
| description | Create reverse Rust puzzles with intentional, educational bugs. |
Create reverse Rust puzzles.
A reverse puzzle starts from flawed code and asks the learner to debug it.
The learner already knows Python, TypeScript, C++, Java, and Go. The bug should teach Rust-specific reasoning, not generic debugging trivia.
The bug must be intentional, realistic, and educational.
Do not create random syntax errors.
Prefer one primary bug pattern per lab.
unwrap at a recoverable error boundaryiter vs into_iter ownership mistakeString returned where &str would be sufficient, or the reverseEach bug lab must include:
Cargo.tomlREADME.mdBug.tomlsrc/lib.rstests/judge.rsRecommended:
notes/diagnosis.mdnotes/solution.patchid = "b20_example_bug"
title = "Example Bug"
level = "B20"
track = "lifetime"
kind = "compile_fail"
difficulty = "medium"
status = "active"
bug_patterns = ["returning-reference-to-local"]
estimated_minutes = 35
expected_initial_state = "cargo check fails"
success_condition = "cargo test passes"
Do not reveal the full fix in README.
notes/diagnosis.md should explain:
notes/solution.patch may include a reference patch.
Keep it minimal.
For compile_fail labs:
For test_fail labs:
For design_smell labs: