add-educational-comments

Annotate code files with educational comments explaining syntax and design choices.

Updated Mar 19, 2026
One-click install
npx skills add https://github.com/shysssthanhtri/AI-tools --skill add-educational-comments-shysssthanhtri
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: add-educational-comments
Source: https://github.com/shysssthanhtri/AI-tools/tree/main/skills/add-educational-comments
Command: npx skills add https://github.com/shysssthanhtri/AI-tools --skill add-educational-comments-shysssthanhtri

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Add educational comments to code files so learners can understand syntax, intent, and best practices without changing program behavior, encoding, or build correctness.

Core Features & Use Cases

  • Adaptive Explanations: Generate beginner, intermediate, or advanced level notes tailored to the user's configured knowledge scale.
  • Preserve Build Correctness: Maintain encoding, indentation, imports, and end-of-line style while inserting comments that do not introduce syntax errors.
  • Controlled Expansion & Validation: Increase file length by 125% up to hard limits, avoid reapplying growth to previously processed files, and validate formatting and language-specific constraints.
  • Use Case: Annotate a library module to create onboarding materials or classroom examples that explain design choices, common pitfalls, and optimization considerations.

Quick Start

Add educational comments to the attached file main.py using default configuration and numbered notes.

Frequently Asked Questions about add-educational-comments

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add educational comments to code for onboarding and classroom materials?

Add educational comments to code by generating beginner, intermediate, or advanced level notes that explain syntax, intent, and best practices without changing program behavior. This creates learning-focused annotated source material for onboarding or classroom use.

Does adding code annotations preserve build correctness and original formatting?

Adding code annotations preserves build correctness by maintaining original encoding, indentation, imports, and end-of-line style. It inserts comments safely without introducing syntax errors, ensuring the program behavior remains completely unchanged.

Can I control the detail level and line count when generating code explanations?

You can control code explanation detail levels using configurable settings and numbered note prefixes. The process increases file length by 125% up to specified hard limits and avoids reapplying growth to previously processed files.

What is the best way to explain code design choices and common pitfalls to new developers?

The best way to explain design choices and common pitfalls is to generate adaptive educational comments tailored to the learner's knowledge scale. This turns existing library modules into annotated learning materials explaining optimization considerations.