code-explain

v2026.09.24

Explain complex code in plain English

GitHub
安装命令
npx skhub add sundial-org/code-explain
Markdown
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

发现
标签

此技能尚未发布标签。

版本
最新版本元数据

版本

v2026.09.24

发布时间

Sep 24, 2026

分类

未分类

许可证

未指定

源路径

skills/code-explain

默认分支

main

最新提交

b80cde2

Tree SHA

fc3a971