Claude Marketplaces
SkillsMCP serversMarketplacesDigestTools
Submit

This week in Claude

Every Monday: Claude Code, Agent SDK, MCP, and the Anthropic platform moves worth your time.

Skills by category
Frontend DevelopmentBackend & APIsTesting & QASecurityDevOps & CI/CDGit & Pull RequestsDocumentationCode Review & QualityAI & Agent BuildingSkill Development
MCP servers by category
Sales & MarketingWeb & Browser AutomationDatabasesAI & LLM ToolsCloud & InfrastructureCommunication & MessagingDeveloper ToolsDesign & CreativeDocuments & KnowledgeSearch & Web Crawling
Marketplaces by category
AI Agents & OrchestrationLLM IntegrationDevelopment ToolsFrontend & UIBackend & APIsDatabasesTesting & Code QualityDevOps & CloudSecurity & ComplianceGit & Version Control
Claude Marketplaces

An independent directory of skills, plugins and MCP servers for Claude Code. Not affiliated with Anthropic.

Browse

  • Skills
  • MCP servers
  • Marketplaces
  • Weekly digest
  • Skill index
  • MCP index
  • Marketplace index

Site

  • About
  • Tools
  • Submit
  • Feedback
  • Privacy
  • llms.txt
  • Plugins reference

Maker

  • Snug
  • Agent Caffeine
  • knobs
  • Wax
  • Vectoys
  • mertduzgun.com
Crafted at
Skills/Git & Pull Requests
github avatar

Add Educational Comments

github/awesome-copilotOfficial

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.

installs
9.2K
GitHub stars
40.5K
last updated
Aug 21, 2026
View on GitHubSave

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

  1. Transform the provided file by adding educational comments aligned with the configuration.
  2. Maintain the file's structure, encoding, and build correctness.
  3. Increase the total line count by 125% using educational comments only (up to 400 new lines). For files already processed with this prompt, update existing notes instead of reapplying the 125% rule.

Line Count Guidance

  • Default: add lines so the file reaches 125% of its original length.
  • Hard limit: never add more than 400 educational comment lines.
  • Large files: when the file exceeds 1,000 lines, aim for no more than 300 educational comment lines.
  • Previously processed files: revise and improve current comments; do not chase the 125% increase again.

Educational Commenting Rules

Encoding and Formatting

  • Determine the file's encoding before editing and keep it unchanged.
  • Use only characters available on a standard QWERTY keyboard.
  • Do not insert emojis or other special symbols.
  • Preserve the original end-of-line style (LF or CRLF).
  • Keep single-line comments on a single line.
  • Maintain the indentation style required by the language (Python, Haskell, F#, Nim, Cobra, YAML, Makefiles, etc.).
  • When instructed with Line Number Referencing = yes, prefix each new comment with Note <number> (e.g., Note 1).

Content Expectations

  • Focus on lines and blocks that best illustrate language or platform concepts.
  • Explain the "why" behind syntax, idioms, and design choices.
  • Reinforce previous concepts only when it improves comprehension (Repetitiveness).
  • Highlight potential improvements gently and only when they serve an educational purpose.
  • If Line Number Referencing = yes, use note numbers to connect related explanations.

Safety and Compliance

  • Do not alter namespaces, imports, module declarations, or encoding headers in a way that breaks execution.
  • Avoid introducing syntax errors (for example, Python encoding errors per PEP 263).
  • Input data as if typed on the user's keyboard.

Workflow

  1. 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.

Configuration Reference

Properties

  • Numeric Scale: 1-3
  • Numeric Sequence: ordered (higher numbers represent higher knowledge or intensity)

Parameters

  • File Name (required): Target file(s) for commenting.
  • Comment Detail (1-3): Depth of each explanation (default 2).
  • Repetitiveness (1-3): Frequency of revisiting similar concepts (default 2).
  • Educational Nature: Domain focus (default Computer Science).
  • User Knowledge (1-3): General CS/SE familiarity (default 2).
  • Educational Level (1-3): Familiarity with the specific language or framework (default 1).
  • Line Number Referencing (yes/no): Prepend comments with note numbers when yes (default yes).
  • Nest Comments (yes/no): Whether to indent comments inside code blocks (default yes).
  • Fetch List: Optional URLs for authoritative references.

If a configurable element is missing, use the default value. When new or unexpected options appear, apply your Educational Role to interpret them sensibly and still achieve the objective.

Default Configuration

  • File Name
  • Comment Detail = 2
  • Repetitiveness = 2
  • Educational Nature = Computer Science
  • User Knowledge = 2
  • Educational Level = 1
  • Line Number Referencing = yes
  • Nest Comments = yes
  • Fetch List:
    • https://peps.python.org/pep-0263/

Examples

Missing File

[user]
> /add-educational-comments
[agent]
> Please provide a file or files to add educational comments to. Preferably as chat variable or attached context.

Custom Configuration

[user]
> /add-educational-comments #file:output_name.py Comment Detail = 1, Repetitiveness = 1, Line Numer = no

Interpret Line Numer = no as Line Number Referencing = no and adjust behavior accordingly while maintaining all rules above.

Final Checklist

  • Ensure the transformed file satisfies the 125% rule without exceeding limits.
  • Keep encoding, end-of-line style, and indentation unchanged.
  • Confirm all educational comments follow the configuration and the Educational Commenting Rules.
  • Provide clarifying suggestions only when they aid learning.
  • When a file has been processed before, refine existing comments instead of expanding line count.
SKILL.md on GitHub

Sponsors

SnugThe clipboard manager you and your agent can use, safelyAgent CaffeineClose your lid, come back to finished workWaxBlock anything with supervision, without erasing your iPhoneOpen StepsSponsoredFree and open-source skills that make AI coding agents easier to understand, verify, and control.

Details

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

More from github/awesome-copilot

All 318
  • Breakdown Feature Implementation9.2K
  • Dataverse Python Advanced Patterns9.2K
  • Update Specification9.2K
  • Debian Linux Triage9.2K
  • Rust Mcp Server Generator9.2K
  • Aspnet Minimal Api Openapi9.2K
  • Go Mcp Server Generator9.2K
  • Create Llms9.2K
  • Finnish Humanizer9.2K
  • Power Bi Dax Optimization9.1K
  • Arch Linux Triage9.1K
  • Breakdown Epic Pm9.1K
  • Quasi Coder9.1K
  • Technology Stack Blueprint Generator9K
  • Microsoft Skill Creator9K
  • Snowflake Semanticview9K
  • Vscode Ext Commands9K
  • Fluentui Blazor9K
  • Create Technical Spike9K
  • Aspire9K
  • Finalize Agent Prompt9K
  • Power Bi Model Design Review9K
  • Breakdown Epic Arch9K
  • Csharp Nunit9K

Recommended

More Git & Pull Requests
1github avatarbreakdown-feature-implementationgithub/awesome-copilotPrompt for creating detailed feature implementation plans, following Epoch monorepo structure.9.2Kinstalls
2github avatardataverse-python-advanced-patternsgithub/awesome-copilotGenerate production code for Dataverse SDK using advanced patterns, error handling, and optimization techniques.9.2Kinstalls
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.2Kinstalls
4github avatardebian-linux-triagegithub/awesome-copilotTriage and resolve Debian Linux issues with apt, systemd, and AppArmor-aware guidance.9.2Kinstalls
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.2Kinstalls
6github avataraspnet-minimal-api-openapigithub/awesome-copilotCreate ASP.NET Minimal API endpoints with proper OpenAPI documentation9.2Kinstalls