smithery.ai

explain-code

Explain what code does in plain English

First seen Mar 21, 2026

Installation

$ npx skills add https://smithery.ai

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery.ai · top by installs.

npx skills add https://smithery.ai

Browse all from smithery.ai

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Skill metadata

Parsed from SKILL.md frontmatter.

Allowed toolsRead, Grep, Glob
Declared agents claude-code

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 2,026 B
  • docs SUMMARY.md 59 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 4 installs

SKILL.md

Usage: /explain-code PATHORDESCRIPTION

Examples:

  • /explain-code v2/lib/src/components/Button.ts
  • /explain-code the button ripple effect
  • /explain-code design token system

Explain: $ARGUMENTS

Setup:

  1. Read .claude/PROJECT_CONTEXT.md to understand AgnosticUI's architecture

Process:

  1. Locate and read the code:

- Identify if it's a core component, framework implementation, or utility - Read the specified file(s) - Use Grep/Glob to find related files if needed: - If explaining core component, show framework usage examples - If explaining framework story, reference core component - If explaining utility, show where it's used

  1. Understand the context:

- Where does this fit in AgnosticUI's architecture? - Is it framework-agnostic or framework-specific? - Does it use design tokens or CSS custom properties? - Are there related files in other frameworks?

  1. Explain clearly:

- What it does (high level, user-facing behavior) - How it works (key logic, algorithms, patterns) - Why it's structured this way (architectural decisions) - AgnosticUI-specific context: - How it fits the CSS-first approach - Framework-agnostic vs framework-specific aspects - Design token usage - Accessibility considerations - Common usage patterns with examples - Edge cases or gotchas to be aware of

  1. Provide helpful context:

- Show where it's used (examples, stories, playgrounds) - Note framework differences if applicable - Link to related components or utilities - Reference relevant playbooks if they exist

Keep explanations:

  • Clear and jargon-free (or explain jargon)
  • Organized from high-level to details
  • Focused on understanding, not just describing
  • Contextualized within AgnosticUI's multi-framework architecture