Intermediate
Coding Templates
Debug, explain, refactor, and test — copy-paste prompt starters for the most common coding tasks.
What You Will Learn
- Debug template: language + error + relevant code + what you tried
- Explain template: what does this [code block] do — line by line
- Refactor template: improve [aspect] while preserving [behaviour]
- Test template: write unit tests for [function] using [framework]
- Review template: check for [security/performance/readability] issues
This page is under development. Content is being added progressively. Check back soon for the full article.