ase-code-explain
SolidExplains code with WHAT, WHY, ANALOGY, DIAGRAM, CRUXES, and GOTCHAS. Use when you want to know how code works or when the user asks "how does this work?"
AI & Automation 52 stars
5 forks Updated today Apache-2.0
Install
Quality Score: 82/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
@${CLAUDE_SKILL_DIR}/../../meta/ase-control.md
@${CLAUDE_SKILL_DIR}/../../meta/ase-skill.md
@${CLAUDE_SKILL_DIR}/../../meta/ase-getopt.md
<purpose name="ase-code-explain">
Explain Source Code
</purpose>
<expand name="getopt" arg1="ase-code-explain">
$ARGUMENTS
</expand>
<objective>
*Analyze* the source code of <getopt-arguments/>, and its directly related source
code, and *explain* it in a *brief*, *standardized*, and *concise* way.
</objective>
<flow>
1. <step id="STEP 1: Investigate Code Base">
Investigate the code. If the code base is large, you *MUST* use
the `Agent` tool (not inline work) to create multiple sub-agents to
split the investigation task into appropriate chunks.
</step>
2. <step id="STEP 2: WHAT and WHY">
**Explain the WHAT and WHY**.
First, explain *WHAT* the code does (*functionality*).
Second, explain *WHY* the code does it (*rationale*).
Keep your explanations *brief* and *concise*.
<if condition="<ase-project-boxing/> is equal `black`">
The project source artifacts are classified as a *black box*, so the
user wants only the *minimal* surface explanation. Output *only* the
*WHAT* block (omit the *WHY* block) with the following <template/>:
<template>
<ase-tpl-bullet-normal/> **WHAT** (You should know what):
- [...]
- [...]
- [...]
</template>
</if>
<else>
Output the result with the following <template/>:
<template>
<ase-tpl-bullet-normal/> **WHA...
Details
- Author
- rse
- Repository
- rse/ase
- Created
- 5 months ago
- Last Updated
- today
- Language
- TypeScript
- License
- Apache-2.0
Similar Skills
Semantically similar based on skill content — not just same category
Code & Development Solid
ase-code-analyze
Analyze the source code for problems in either the logic and semantics and its related control flow, performance and efficiency, or security.
52 Updated today
rse Code & Development Solid
ase-code-insight
Give insights into the source code.
52 Updated today
rse AI & Automation Listed
code-explainer
Use when asked to explain how code works, trace a flow, or onboard to an unfamiliar area of the codebase.
9 Updated today
babarmuhammad