code-explainer

Explains and documents code snippets with language detection and line-by-line walkthroughs.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/Ravikumarchavva/agent-framework --skill code-explainer-ravikumarchavva
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-explainer
Source: https://github.com/Ravikumarchavva/agent-framework/tree/main/skills/code-explainer
Command: npx skills add https://github.com/Ravikumarchavva/agent-framework --skill code-explainer-ravikumarchavva

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Code understanding and documentation can be time-consuming; this skill helps users quickly derive clear explanations and structured documentation for code snippets and files.

Core Features & Use Cases

  • Identify language and context from syntax and imports.
  • Provide a high-level summary and a line-by-line walkthrough for small snippets.
  • Flag potential issues, anti-patterns, and security concerns; generate a symbol table of major components.
  • Use Case: Onboard new team members by generating concise documentation for a codebase or snippet.

Quick Start

Paste a code sample or share a file path, and ask me to explain and document it.

Frequently Asked Questions about code-explainer

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

FAQPage Schema
How do I explain and document code snippets for a code review?

To explain code snippets during a code review, paste the sample or share a file path to generate language detection, line-by-line walkthroughs, issue flagging, and an output symbol table of major components.

What is the best way to generate onboarding documentation for a codebase?

Generating onboarding documentation for a codebase involves providing a high-level summary and identifying major components to help new team members quickly understand architecture and syntax across different programming languages.

How does line-by-line code walkthrough and issue flagging work?

Line-by-line walkthroughs work by analyzing syntax and imports to explain small sections, while issue flagging identifies security concerns and anti-patterns to ensure code quality and maintainability.

Can I use this to analyze long code blocks across different programming languages?

Yes, you can analyze long code blocks across different programming languages. The process applies to both short and long sections across various architectures by detecting language from syntax and imports.

Does this approach work for creating a knowledge-base from existing code?

Yes, this approach works for creating a knowledge-base from existing code by generating structured documentation, providing summaries, and outputting a symbol table of major components for future reference.