code-explain
Explain complex code in plain English
- License 许可
- MIT
- 最近更新
- 2026-08-23
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- code-explain
- description
- Explain complex code in plain English
02 资源文件 1
- 参考文档_meta.json460 B
03 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
- GitHub: github.com/lxgicstudios/ai-explain
- Twitter: @lxgicstudios
04 同仓库更多 Skills
crowd-prompting
A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.
dilemm-ai
Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, or submitting paper reviews via API at http://150.158.152.82:8000.
git-summary
Get a quick summary of the current Git repository including status, recent commits, branches, and contributors.
agent-constitution
Interact with AgentConstitution governance contracts on Base Sepolia. Check compliance, read rules, log actions, query governance state.