add-educational-comments
π―Skillfrom github/awesome-copilot
Add educational comments to the file specified, or prompt asking for file to comment if one is not provided.
Overview
This skill adds educational comments to code files, transforming them into effective learning resources. It acts as an expert educator adapting tone and detail to beginner, intermediate, and advanced knowledge levels, increasing the file's line count by approximately 125% through educational annotations while preserving the code's structure, encoding, and build correctness.
Key Features
- Adaptive Knowledge Levels - Provides foundational explanations for beginners, practical insights and best practices for intermediate users, and deeper architectural and performance context for advanced practitioners
- 125% Line Expansion - Targets a 125% increase in total line count through educational comments only (up to 400 new lines), with intelligent limits for large files exceeding 1,000 lines
- Encoding & Format Preservation - Detects and maintains the original file encoding, uses only standard QWERTY keyboard characters, and preserves all existing formatting and structure
- Logic-Focused Explanations - Focuses comments on reasoning, decision-making, and conceptual understanding rather than restating what code syntax does
- Incremental Updates - For previously processed files, revises and improves existing comments rather than reapplying the expansion rule, preventing comment bloat over time
Who is this for?
Educators, mentors, and team leads who want to turn production code into learning material for junior developers. Ideal for onboarding new team members, creating teaching examples from real-world code, or building annotated code libraries that help developers at all levels understand not just what the code does, but why it was written that way.
Same repository
github/awesome-copilot(224 items)
Installation
npx vibeindex add github/awesome-copilot --skill add-educational-commentsnpx skills add github/awesome-copilot --skill add-educational-comments~/.claude/skills/add-educational-comments/SKILL.mdSKILL.md
More from this repository10
A community-curated collection of custom agents, prompts, instructions, and skills to enhance GitHub Copilot across different domains, languages, and use cases.
A community-curated collection of custom agents, prompts, instructions, and skills to enhance GitHub Copilot across different domains, languages, and use cases.
Generates comprehensive Product Requirements Documents (PRDs) by systematically analyzing requirements and crafting detailed technical specifications
A community-curated collection of custom agents, prompts, instructions, and skills to enhance GitHub Copilot across different domains, languages, and use cases.
Generates Excalidraw diagrams from natural language descriptions, creating visual representations of processes, systems, relationships, and ideas.
Expert technical writer guided by the Diataxis framework, creating tutorials, how-to guides, reference docs, and explanation pages for software documentation.
Automates browser interactions, debugging, and performance analysis using Chrome DevTools for comprehensive web page inspection and control.
Provides Spring Boot best practices covering project setup, dependency injection, REST API design, data access with JPA, security configuration, and testing strategies.
A community-curated collection of custom agents, prompts, instructions, and skills to enhance GitHub Copilot across different domains, languages, and use cases.
Manages GitHub Issues through the GitHub API, enabling creation, searching, labeling, and triaging of issues directly from the coding environment.