code-explain

Explain code logic, triage incoming changes, or map the project architecture.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "code-explain" with this command: npx skills add sirn/dotfiles/sirn-dotfiles-code-explain

Explain code logic, triage incoming changes, or map the project architecture.

Process

Identify context:

  • If code changes are involved: run jj diff -s first to see changed files

  • If the user specified specific files or paths, focus on those

Determine goal:

  • Explain: User wants to understand existing code

  • Triage: User wants to understand/assess a diff

  • Map: User wants a high-level overview of the project structure

Execute based on goal:

Explain:

  • Read the relevant files to understand the code

  • Lookup documentation for libraries/frameworks used (use WebSearch/WebFetch)

  • Identify patterns and data flow

  • Synthesize: Purpose, How it works, Patterns, Dependencies, Gotchas

Triage:

  • Skim relevant diffs

  • Identify: Areas touched, Risk hotspots, Review order

Map:

  • Analyze the directory structure and imports

  • Create a high-level dependency graph and module breakdown

  • Identify: Key Entry Points, Core Domain Logic, Infrastructure/Adapters

Output

For Explanation:

  • Purpose & Mechanics

  • Patterns & Dependencies

  • Gotchas

For Triage:

  • Change Summary

  • Risk Hotspots

  • Suggested Review Order

For Map:

  • High-Level Diagram (Mermaid or Text tree)

  • Key Modules & Responsibilities

  • Data Flow Overview

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

code-quality

No summary provided by upstream source.

Repository SourceNeeds Review
-16
sirn
Coding

code-config-ci

No summary provided by upstream source.

Repository SourceNeeds Review
-16
sirn
Coding

code-plan

No summary provided by upstream source.

Repository SourceNeeds Review
-16
sirn