EX

Provides human-readable explanations of code functionality and architecture.

Install

mkdir -p .claude/skills/explain-code && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/9103" && unzip -o skill.zip -d .claude/skills/explain-code && rm skill.zip

Installs to .claude/skills/explain-code

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Explain what code does in plain English
39 charsno explicit “when” trigger
Intermediate

Key capabilities

  • Locate and read code files
  • Identify core components, framework implementations, or utilities
  • Use Grep/Glob to find related files
  • Explain high-level behavior of code
  • Describe key logic, algorithms, and patterns
  • Provide AgnosticUI-specific context

How it works

The skill reads specified code, identifies its context within AgnosticUI's architecture, and then explains its function, logic, and design choices.

Inputs & outputs

You give it
A file path or description of code (e.g., 'v2/lib/src/components/Button.ts' or 'the button ripple effect')
You get back
Plain English explanation of the code

When to use explain-code

  • Understanding component logic
  • Explaining CSS-first implementations
  • Onboarding to codebases

About this skill

Usage: /explain-code PATH_OR_DESCRIPTION

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
  2. 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?
  3. 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
  4. 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

When not to use it

  • When the explanation should not be jargon-free
  • When the explanation should not be contextualized within AgnosticUI's architecture

Limitations

  • Explanations must be jargon-free or explain jargon
  • Explanations must be contextualized within AgnosticUI's multi-framework architecture

How it compares

This skill provides a structured, context-aware explanation of code within the AgnosticUI framework, unlike a generic code explanation that lacks architectural context.

Compared to similar skills

explain-code side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
explain-code (this skill)26moNo flagsIntermediate
schema-markup106moNo flagsIntermediate
coding-standards72moReviewIntermediate
antfu63moReviewIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

Search skills

Search the agent skills registry