# Explain Code

> Explain what code does in plain English

- **Type:** Skill
- **Install:** `agentstack add skill-agnosticui-agnosticui-explain-code`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [AgnosticUI](https://agentstack.voostack.com/s/agnosticui)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** Apache-2.0
- **Upstream author:** [AgnosticUI](https://github.com/AgnosticUI)
- **Source:** https://github.com/AgnosticUI/agnosticui/tree/master/.claude/skills/explain-code
- **Website:** https://agnosticui.com

## Install

```sh
agentstack add skill-agnosticui-agnosticui-explain-code
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

**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:**

2. **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

3. **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?

4. **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

5. **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

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [AgnosticUI](https://github.com/AgnosticUI)
- **Source:** [AgnosticUI/agnosticui](https://github.com/AgnosticUI/agnosticui)
- **License:** Apache-2.0
- **Homepage:** https://agnosticui.com

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-agnosticui-agnosticui-explain-code
- Seller: https://agentstack.voostack.com/s/agnosticui
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
