code-explain

Explain code logic, triage changes, or map project structure.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/sirn/dotfiles --skill code-explain-sirn
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-explain
Source: https://github.com/sirn/dotfiles/tree/main/var/agents/skills/code-explain
Command: npx skills add https://github.com/sirn/dotfiles --skill code-explain-sirn

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Explain code logic, triage incoming changes, or map project structure.

Core Features & Use Cases

  • Identify context and goals for code analysis (Explain, Triage, Map)
  • Spawn code-researcher and code-architect agents to synthesize purpose, patterns, and data flows
  • Generate structured outputs detailing purpose, patterns, dependencies, and gotchas

Quick Start

Analyze the target files and return an explanation or a project map.

Frequently Asked Questions about code-explain

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I explain code logic and understand an unfamiliar codebase?

Map project structure by analyzing directories to identify patterns, dependencies, and architecture. This generates a structured overview detailing purpose, data flows, and gotchas to help developers navigate complex configurations across languages.

How do I triage code changes and assess risks in incoming diffs?

Yes, code analysis supports codebases across languages and configurations. It identifies patterns, dependencies, and data flows universally, requiring no specific framework or platform prerequisites to explain logic or map structure.

What is the best way to map project structure and architecture across different languages?

The best way to map project structure is to analyze target files and synthesize purpose, patterns, and data flows. This generates a structured overview detailing architecture, dependencies, and gotchas for quick assessment across configurations.

Does code analysis work with any programming language or do I need specific dependencies?

Code analysis identifies gotchas, dependencies, and architectural risks by synthesizing patterns and data flows. It produces structured descriptions with actionable next steps, helping developers anticipate edge cases and limitations during code review.