Skip to content
cccskills
FreePublished on GitHub

explain-code

Explain what code does in plain English

The English summary is being prepared. Showing the original description.

See how to install

Files included (1)

  • SKILL.md2.0 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

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

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Review component for accessibility issues

The English summary is being prepared. Showing the original description.

AgnosticUI/agnosticui828Updated Oct 12, 2026

Fix a GitHub issue by number. Use when asked to fix GitHub issues.

The English summary is being prepared. Showing the original description.

AgnosticUI/agnosticui828Updated Oct 12, 2026

Implement a playbook from its PROMPT specification files. Supports both single-framework (PROMPT-REACT.md, etc.) and 3-framework (PROMPT-3-FRAMEWORKS.md) modes.

The English summary is being prepared. Showing the original description.

AgnosticUI/agnosticui828Updated Oct 12, 2026

Design and implement a new feature or component from a GitHub issue. Use for net-new functionality, not bug fixes.

The English summary is being prepared. Showing the original description.

AgnosticUI/agnosticui828Updated Oct 12, 2026

Update component documentation when code changes

The English summary is being prepared. Showing the original description.

AgnosticUI/agnosticui828Updated Oct 12, 2026

See all skills by AgnosticUI

Report a problem with this skill