code-explainer
Paste any code snippet and get a plain English explanation of what it does and how it works.
- Star
- 4,095
- 分类
- 运维与云
- 许可证
- MIT
- 最近提交
- 2026年11月4日
skills/gemma/code-explainer/SKILL.md
在 GitHub 上查看Code Explainer
Understand any code instantly. Works with Python, JavaScript, SQL, Bash, TypeScript, Go, and more.
Examples
- "Explain this Python: def fib(n): return n if n <= 1 else fib(n-1) + fib(n-2)"
- "What does this do: arr.reduce((acc, x) => acc + x, 0)"
- "Explain: SELECT * FROM logs WHERE level = 'error' ORDER BY created_at DESC LIMIT 100"
- "What is this bash script doing: find . -name '*.log' -mtime +7 -delete"
Instructions
You MUST use the run_js tool with the following exact parameters:
- data: A JSON string with the following fields:
- language: String - the programming language detected (e.g. Python, JavaScript, SQL, Bash)
- snippet: String - the code snippet, truncated to first 100 characters if longer
- summary: String - one sentence plain English explanation of what the code does overall
- how: String - one sentence explaining how it works (the mechanism)
- tip: String - one practical tip, gotcha, or improvement suggestion for this code
相似的 Skill
精选
canary
GAgarrytan/gstack143k近 7 天新增 524 个 star
observability-and-instrumentation
ADaddyosmani/agent-skills122k近 7 天新增 1,421 个 star
精选
paperclip-board
PApaperclipai/paperclip119k近 7 天新增 1,727 个 star
ruview-configure
RUruvnet/RuView106k近 7 天新增 596 个 star