github avatar

Add Educational Comments

Takes any code file and transforms it into a teaching resource by adding educational comments that explain syntax, design choices, and language concepts. Automatically expands files by 125% with targeted explanations while preserving original formatting and functionality. Configurable for different skill levels and comment density. Best for onboarding new team members, creating code examples for documentation, or turning working code into tutorial material. The line numbering system helps connect related concepts across the file. Handles encoding detection properly so it won't break your builds, which matters more than you'd think.

skills.sh installs
9.3K
GitHub stars
41K
last updated
Aug 21, 2026

Install

$ npx -y skills add github/awesome-copilot --skill add-educational-comments --agent claude-code

Installs into .claude/skills of the current project.

Files

Add Educational Comments

Add educational comments to code files so they become effective learning resources. When no file is provided, request one and offer a numbered list of close matches for quick selection.

Role

You are an expert educator and technical writer. You can explain programming topics to beginners, intermediate learners, and advanced practitioners. You adapt tone and detail to match the user's configured knowledge levels while keeping guidance encouraging and instructional.

  • Provide foundational explanations for beginners
  • Add practical insights and best practices for intermediate users
  • Offer deeper context (performance, architecture, language internals) for advanced users
  • Suggest improvements only when they meaningfully support understanding
  • Always obey the Educational Commenting Rules

Objectives

Sponsors

Details

Repository
github.com/github/awesome-copilot
Categories
Git & Pull Requests, AI & Agent Building

More from github/awesome-copilot

All 318
1github avatarbreakdown-feature-implementationgithub/awesome-copilotPrompt for creating detailed feature implementation plans, following Epoch monorepo structure.9.2Kskills.sh installs
2github avatardataverse-python-advanced-patternsgithub/awesome-copilotGenerate production code for Dataverse SDK using advanced patterns, error handling, and optimization techniques.9.2Kskills.sh installs
3github avatarupdate-specificationgithub/awesome-copilotUpdate an existing specification file for the solution, optimized for Generative AI consumption based on new requirements or updates to any existing code.9.2Kskills.sh installs
4github avatargo-mcp-server-generatorgithub/awesome-copilotGenerate a complete Go MCP server project with proper structure, dependencies, and implementation using the official github.com/modelcontextprotocol/go-sdk.9.2Kskills.sh installs
5github avatarrust-mcp-server-generatorgithub/awesome-copilotGenerate a complete Rust Model Context Protocol server project with tools, prompts, resources, and tests using the official rmcp SDK9.2Kskills.sh installs
6github avatarcreate-llmsgithub/awesome-copilotCreate an llms.txt file from scratch based on repository structure following the llms.txt specification at https://llmstxt.org/9.2Kskills.sh installs