Skip to main content

code-explainer

Explain what a piece of code does in plain English, at the depth the reader needs. Use when asked to explain code, walk through a function, understand an unfamiliar snippet, or onboard to a file. Produces a one-line summary, a step-by-step walkthrough, the non-obvious parts called out, and any bugs or smells spotted along the way.

소스 정보

저장소
mohitagw15856/pm-claude-skills
최근 소스 활동
2026년 8월 21일 20:04
감지된 SKILL.md 언어
영어
스타
1,320
포크
232

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
code-explainer
description
Explain what a piece of code does in plain English, at the depth the reader needs. Use when asked to explain code, walk through a function, understand an unfamiliar snippet, or onboard to a file. Produces a one-line summary, a step-by-step walkthrough, the non-obvious parts called out, and any bugs or smells spotted along the way.
homepage
https://mohitagw15856.github.io/pm-claude-skills/skill/code-explainer.html
metadata
{"openclaw":{"emoji":"⚙️"}}
# Code Explainer Skill Make unfamiliar code understandable — fast — without dumbing it down. ## Working from a brief Infer the language and intent from the code itself; label assumptions *(assumed — confirm)*. Always produce a complete explanation even from a fragment. Match depth to the apparent level of the question. ## Input Ask for these if not provided: - **The code** — the snippet or file to explain (paste it, or point at the path) - **The language or runtime** — if it is not obvious from the code - **The reader** — who this is for and how much they already know - **What they are trying to understand** — the bug, the review, the handover; infer the rest ## Output Structure ### In one line What this code does, in a single sentence a busy reader can repeat. ### Step by step A walkthrough of the logic in order — group by block/function. Explain *why*, not just *what*, for anything non-trivial. Reference line ranges where helpful. ### Worth knowing The non-obvious bits: clever tricks, gotchas, side effects, complexity, dependencies, or assumptions the code makes. ### Anything off? Bugs, edge cases, or smells you noticed while reading — with the fix. (If it's clean, say so.) ## Quality Checks - [ ] The one-line summary stands alone - [ ] The walkthrough explains *why*, not just restating the code in words - [ ] Non-obvious behaviour (side effects, complexity, edge cases) is surfaced - [ ] Any bug/smell spotted is flagged with a fix ## Anti-Patterns - [ ] Do not narrate line-by-line in English ("this line sets x to 5") — explain intent and structure - [ ] Do not skip the gotchas — the value is in the non-obvious parts - [ ] Do not assume expert level if the question reads like a beginner's (or vice-versa) - [ ] Do not ignore a bug you can see just because you weren't asked to review it
GitHub에서 보기