Skip to content
Skill

Explain Code

by allierays

AI Summary

A skill booster that teaches developers to understand code by breaking it down line-by-line with context about purpose, problem-solving, and reasoning. Useful for learners, code reviewers, and anyone onboarding to unfamiliar codebases.

Install

Copy this and paste it into Claude Code, Cursor, or any AI assistant:

I want to install the "Explain Code" skill in my project.

Please run this command in my terminal:
# Install skill into the correct directory (15 files)
mkdir -p .claude/skills/commands && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/commands/SKILL.md "https://raw.githubusercontent.com/allierays/agentic-loop/main/.claude/commands/explain.md" && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/commands/api.md "https://raw.githubusercontent.com/allierays/agentic-loop/main/.claude/commands/api.md" && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/commands/aws.md "https://raw.githubusercontent.com/allierays/agentic-loop/main/.claude/commands/aws.md" && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/commands/color.md "https://raw.githubusercontent.com/allierays/agentic-loop/main/.claude/commands/color.md" && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/commands/lesson.md "https://raw.githubusercontent.com/allierays/agentic-loop/main/.claude/commands/lesson.md" && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/commands/my-dna.md "https://raw.githubusercontent.com/allierays/agentic-loop/main/.claude/commands/my-dna.md" && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/commands/prd.md "https://raw.githubusercontent.com/allierays/agentic-loop/main/.claude/commands/prd.md" && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/commands/review.md "https://raw.githubusercontent.com/allierays/agentic-loop/main/.claude/commands/review.md" && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/commands/setup-review.md "https://raw.githubusercontent.com/allierays/agentic-loop/main/.claude/commands/setup-review.md" && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/commands/styleguide.md "https://raw.githubusercontent.com/allierays/agentic-loop/main/.claude/commands/styleguide.md" && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/commands/tab-rename.md "https://raw.githubusercontent.com/allierays/agentic-loop/main/.claude/commands/tab-rename.md" && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/commands/tour.md "https://raw.githubusercontent.com/allierays/agentic-loop/main/.claude/commands/tour.md" && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/commands/vibe-check.md "https://raw.githubusercontent.com/allierays/agentic-loop/main/.claude/commands/vibe-check.md" && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/commands/vibe-help.md "https://raw.githubusercontent.com/allierays/agentic-loop/main/.claude/commands/vibe-help.md" && curl --retry 3 --retry-delay 2 --retry-all-errors -o .claude/skills/commands/vibe-list.md "https://raw.githubusercontent.com/allierays/agentic-loop/main/.claude/commands/vibe-list.md"

Then restart Claude Code (or reload the window in Cursor) so the skill is picked up.

Description

Explain what code does line by line so you can understand and learn from it.

Step 2: Provide Overview

Start with a high-level summary: • What is the purpose of this code? • What problem does it solve? • How does it fit into the larger application?

Overview

This is a React custom hook that manages authentication state. It handles login, logout, and automatic token refresh.

Explain Code

Explain what code does, line by line, so you can understand and learn from it.

Instructions

When the user asks you to explain code:

Discussion

0/2000
Loading comments...

Health Signals

MaintenanceCommitted 1mo ago
Active
AdoptionUnder 100 stars
25 ★ · Niche
DocsMissing or thin
Undocumented

GitHub Signals

Stars25
Forks1
Issues0
Updated1mo ago
View on GitHub
MIT License

My Fox Den

Community Rating

Sign in to rate this booster

Works With

Claude Code