/cook-en:explain-code runs instead · from cook-en
Explains code behavior in detail, covering logic, flow, design patterns, and potential issues. Useful for understanding unfamiliar code or reviewing for performance and security.
This skill never runs in Claude Code
It ships in cook-en at skills/, but /cook-en:explain-code (a command, or a skill Claude Code finds first) has the same name: typing it, or Claude choosing it, runs that one instead.
Explains how code works in detail.
# Show a file and ask for explanation
cat <file>
"Explain how this code works"
# Understand Rust ownership
cat main.rs
"Explain the ownership and lifetimes in this Rust code"
# Explain an algorithm
grep -A 50 "quicksort" sort.rs
"How does this sorting work? What's its time complexity?"
# Explain design patterns
cat factory.rs
"What design pattern is this? What are the benefits?"
# Beginner-friendly explanation
cat complex_function.py
"Explain this code line by line for someone new to programming"
# Performance check
cat algorithm.rs
"Find performance problems and how to fix them"
# Visual explanation
cat state_machine.js
"Show me the flow with ASCII diagrams"
# Security check
cat auth_handler.go
"What security issues do you see?"
# Complex logic breakdown
cat recursive_parser.rs
"Break down this recursive parser:
1. How does it flow?
2. What does each function do?
3. How are edge cases handled?
4. What could be better?"
# Async code explanation
cat async_handler.ts
"Explain this async code:
1. How do the Promises flow?
2. How are errors handled?
3. What runs in parallel?
4. Could this deadlock?"
# Architecture overview
ls -la src/ && cat src/main.rs src/lib.rs
"Explain how this project is structured"
Not just what the code does, but also:
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
code-explanation, code-review, learning, debugging, documentation
39 skills in this plugin
/analyze-dependenciesAnalyze project dependencies and evaluate architectural healthAnalyze project dependencies and evaluate architectural health. Trigger with "analyze dependencies", "detect circular dependencies", "architecture issues?", "check module coupling", "find layer violations". Generates dependency matrix, fan-in/fan-out analysis, and prioritized improvement suggestions./analyze-performancePerformance analysis based on Core Web VitalsPerformance analysis based on Core Web Vitals with UX scoring. Trigger with "analyze performance", "improve speed", "check Core Web Vitals", "page speed", "improve LCP", "identify performance issues"./check-factVerify information accuracy against codebase and docsVerify information accuracy against codebase and documentation. Trigger with "is this correct?", "fact check", "verify this", "is this accurate?"./check-promptEvaluate and improve AI prompt qualityEvaluate and improve AI prompt quality. Trigger with "check this prompt", "evaluate prompt quality", "improve this prompt"./commit-messageGenerate commit messages from staged changesGenerate commit messages from staged changes. Trigger with "suggest commit message", "generate commit message", "what should the commit say?", "write commit message"./context7Search technical documentation via Context7 MCPSearch technical documentation via Context7 MCP. Trigger with "check the docs", "look up documentation", "how to use this library?", "API reference".npx claudepluginhub wasabeef/claude-code-cookbook --plugin cook-en2 plugins ship this exact skill · first indexed Jul 16, 2026
Other plugins' skills for the same job