Confirm Inputs — – Ensure at least one target file is provided. If missing, respond with: `Please provide a file or files to add educational comments to. Preferably as chat variable or attached context.`
2
Identify File(s) — – If multiple matches exist, present an ordered list so the user can choose by number or name.
3
Review Configuration — – Combine the prompt defaults with user-specified values. Interpret obvious typos (e.g., `Line Numer`) using context.
4
Plan Comments — – Decide which sections of the code best support the configured learning goals.
5
Add Comments — – Apply educational comments following the configured detail, repetitiveness, and knowledge levels. Respect indentation and language syntax.
6
Validate — – Confirm formatting, encoding, and syntax remain intact. Ensure the 125% rule and line limits are satisfied.
add educational comments to a fileannotate code with learning notesgenerate educational commentsimprove code readability with commentscreate a learning resource from codeadd comments to explain code conceptsaugment code with educational content