askill
code-explain

code-explainSafety 85Repository

Explain complex code in plain English

27 stars
1.2k downloads
Updated 2/8/2026

Package Files

Loading files...
SKILL.md

Code Explainer

Paste confusing code, get a clear explanation. Works with any language.

Quick Start

npx ai-explain ./src/utils/crypto.ts

What It Does

  • Explains what code does line by line
  • Identifies patterns and algorithms
  • Explains why code is written that way
  • Suggests improvements

Usage Examples

# Explain a file
npx ai-explain ./src/auth/jwt.ts

# Explain from stdin
cat weird-regex.js | npx ai-explain

# Explain with context
npx ai-explain ./src/api.ts --context "This handles payments"

# Different detail levels
npx ai-explain ./src/algo.ts --detail high

Output Includes

  • High-level summary
  • Step-by-step breakdown
  • Key concepts explained
  • Potential issues flagged

Great For

  • Understanding inherited code
  • Learning new patterns
  • Code review prep
  • Onboarding new devs

Requirements

Node.js 18+. OPENAI_API_KEY required.

License

MIT. Free forever.


Built by LXGIC Studios

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

75/100Analyzed 2/18/2026

Well-structured skill document for a code explanation tool. Provides clear usage examples, multiple invocation methods, and practical use cases. Includes required metadata, tags, and external links. Minor gaps in troubleshooting and advanced options, but covers the core functionality comprehensively. Located in dedicated skills folder which is a good practice.

85
80
75
70
80

Metadata

Licenseunknown
Version-
Updated2/8/2026
Publisherariffazil

Tags

apigithubsecurity