Ctx explain

From ActiveMemory/ctx · View interactive version

Ctx explain is an AI agent skill from the GitHub repository ActiveMemory/ctx. Explain code for someone new to the project. Use when the user asks 'what does this do', 'explain this', or wants to understand unfamiliar code.

How to use this skill

Skill file

Explain the specified code for someone new to the project. Tailor

depth to the user's expertise if known from context.

When to Use

When NOT to Use

debugging-aware skill (the GitNexus suite ships

/gitnexus-debugging), invoke it; otherwise proceed with

built-in reasoning

flow-tracing skill (the GitNexus suite ships

/gitnexus-exploring), invoke it; otherwise reason from

the source

Explanation Structure

Cover each dimension in order. Skip any that don't apply.

  1. What it does: Describe the purpose and behavior in plain

language.

  1. Why it exists: What problem does it solve? What would break

without it?

  1. How it connects: Which modules call it, and which modules

does it depend on?

  1. Key design decisions: Why was this approach chosen over

alternatives?

  1. Non-obvious details: Anything surprising, subtle, or easy

to misunderstand.

Execution

  1. Read the target code
  2. Read .context/ARCHITECTURE.md for system-level context
  3. Trace callers and callees if connections matter
  4. Present the explanation following the structure above

Keep it concise. Lead with the "what": the reader wants to orient

before diving into "why" and "how."

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.