agentleFS
kreighmitchellkreighmitchell/SuperClaude/.claude/skills/sc-explain/SKILL.md

sc-explain

Skill4 starsChanged 8 months agoMITView on GitHub

Provide clear explanations of code, concepts, and system behavior with educational clarity. Use when understanding code, learning concepts, or knowledge transfer.

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Generate: - Create clear explanations with examples

    line 28
  2. Distinctive:

    Validate: - Verify accuracy and educational effectiveness

    line 29

≈ “Common” is an estimate: at least 1 in 5 of the 364,980 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Code & Concept Explanation Skill

Educational explanations with adaptive depth and format.

Quick Start

# Basic code explanation
/sc:explain authentication.js --level basic

# Framework concept
/sc:explain react-hooks --level intermediate --context react

# System architecture
/sc:explain microservices-system --level advanced --format interactive

Behavioral Flow

  1. Analyze - Examine target code or concept
  2. Assess - Determine audience level and depth
  3. Structure - Plan explanation with progressive complexity
  4. Generate - Create clear explanations with examples
  5. Validate - Verify accuracy and educational effectiveness

Flags

FlagTypeDefaultDescription
--levelstringintermediatebasic, intermediate, advanced
--formatstringtexttext, examples, interactive
--contextstring-Domain context (react, security, etc.)

Personas Activated

  • communicator - Learning-optimized explanations
  • architect - System design context
  • guardian - Security practice explanations

MCP Integration

PAL MCP (Multi-Perspective Explanations)

ToolWhen to UsePurpose
mcp__pal__consensusComplex topicsCross-perspective validation
mcp__pal__chatClarificationGet alternative explanations
mcp__pal__thinkdeepDeep conceptsMulti-stage exploration
mcp__pal__apilookupCurrent APIsGet up-to-date documentation
mcp__pal__challengeVerify accuracyChallenge explanation correctness

PAL Usage Patterns

# Multi-perspective explanation for complex topic
mcp__pal__consensus(
    models=[
        {"model": "gpt-5.2", "stance": "neutral"},
        {"model": "gemini-3-pro", "stance": "neutral"}
    ],
    step="Explain: How does React's reconciliation algorithm work?"
)

# Get alternative explanation approach
mcp__pal__chat(
    prompt="Explain React hooks to someone familiar with Vue composition API",
    model="gpt-5.2",
    thinking_mode="medium"
)

# Deep dive into complex concept
mcp__pal__thinkdeep(
    step="Understanding Kubernetes pod scheduling algorithm",
    hypothesis="Priority-based scheduling with resource constraints",
    confidence="medium",
    focus_areas=["scheduling", "resource_management", "affinity"]
)

# Verify explanation accuracy
mcp__pal__challenge(
    prompt="Is my explanation of OAuth2 refresh tokens technically accurate?"
)

# Get current API/framework documentation
mcp__pal__apilookup(
    prompt="Get current React 19 documentation for use hook"
)

Rube MCP (Research & Sharing)

ToolWhen to UsePurpose
mcp__rube__RUBE_SEARCH_TOOLSWeb researchFind tutorials, docs, examples
mcp__rube__RUBE_MULTI_EXECUTE_TOOLShare explanationsPost to Notion, Slack, etc.

Rube Usage Patterns

# Research current best practices
mcp__rube__RUBE_SEARCH_TOOLS(queries=[
    {"use_case": "web search", "known_fields": "query:React 19 new features explained"}
])

# Share explanation with team
mcp__rube__RUBE_MULTI_EXECUTE_TOOL(tools=[
    {"tool_slug": "NOTION_CREATE_PAGE", "arguments": {
        "title": "Understanding: React Concurrent Mode",
        "content": "## Overview\n..."
    }},
    {"tool_slug": "SLACK_SEND_MESSAGE", "arguments": {
        "channel": "#learning",
        "text": "New explainer: React Concurrent Mode fundamentals"
    }}
])

Flags (Extended)

FlagTypeDefaultDescription
--pal-consensusboolfalseUse PAL for multi-perspective validation
--pal-deepboolfalseUse PAL thinkdeep for complex topics
--researchboolfalseUse Rube for web research
--sharestring-Share via Rube (notion, slack, confluence)

Evidence Requirements

This skill does NOT require hard evidence. Focus on:

  • Clear, accurate explanations
  • Appropriate examples
  • Progressive complexity

Explanation Levels

Basic (--level basic)

  • Foundational concepts
  • Simple examples
  • Beginner-friendly language

Intermediate (--level intermediate)

  • Implementation details
  • Common patterns
  • Best practices

Advanced (--level advanced)

  • Deep technical details
  • Edge cases and trade-offs
  • Performance implications

Format Options

Text (--format text)

  • Written explanations
  • Step-by-step breakdowns
  • Conceptual overviews

Examples (--format examples)

  • Code samples
  • Before/after comparisons
  • Real-world applications

Interactive (--format interactive)

  • Progressive disclosure
  • Follow-up suggestions
  • Exploration paths

Examples

Code Explanation

/sc:explain src/auth/jwt.js --level basic
# What the code does, how it works, why it's structured this way

Framework Concept

/sc:explain useEffect --level intermediate --context react
# Hook lifecycle, dependency arrays, cleanup patterns

Architecture Explanation

/sc:explain event-driven-architecture --level advanced
# Patterns, trade-offs, implementation strategies

Security Concept

/sc:explain oauth2-flow --level basic --context security
# Authorization flow, tokens, security considerations

Tool Coordination

  • Read/Grep/Glob - Code analysis
  • TodoWrite - Multi-part explanation tracking
  • Task - Complex explanation delegation

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.