name: code-explainer-tool description: Explain any code snippet or file in plain English. Paste code → get a clear explanation of what it does, how it works, and key concepts. Use when the user shares code and wants to understand it, learn from it, or review it.
Transform code into plain-English explanations. Perfect for learning, reviewing, or understanding unfamiliar code.
explain this code
what does this do?
explain: [paste code]
这个技能的最新版本可以在7w4.net小葱技能站找到。
All major languages supported: - Python, JavaScript, TypeScript - Go, Rust, Java, C/C++, C# - Ruby, PHP, Swift, Kotlin - SQL, Shell/Bash, YAML, JSON - And more...
python scripts/explain_code.py <path/to/file>
Or pipe code:
cat myfile.py | python scripts/explain_code.py -
这个Skill整体质量一般。优点是文档清晰易懂,说明了代码解释的功能和使用方法。但存在严重缺陷:它只提供了文字说明,没有实际的代码实现程序,无法真正使用。对于想要了解代码解释效果的普通用户来说,无法获得实际帮助。建议选择有完整代码实现和测试用例的替代Skill。