feat(prompts): add "Code Explainer for Juniors" prompt #904
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add Code Explainer For Junior
Added a new prompt for tightly scoped code explanations for juniors based on a given [SUBJECT] and [CODE]. It enforces 5 numbered points with a)–d) sub-points, adds "(off-topic)" when a detail exceeds [SUBJECT], and allows a minimal 1–3 line fix block only if a bug impacts the subject—no intro, no conclusion, no jargon, backticks only for identifiers, and answers in the prompt’s language.
Checklist
Contributed by: [@yourusername](https://github.com/yourusername)
prompts.csv
"Hello","hi"
, not"Hello", "hi"
This prompt helps mentors deliver tightly scoped, junior-friendly code explanations by enforcing a strict 5-point structure with a)–d) sub-points, optional minimal fix blocks only for subject-impacting bugs, automatic “(off-topic)” tagging, and no intro/conclusion/jargon—backticks reserved for identifiers.