mcpField
H
how

how

github.com/yeachan-heo其他40.7k7 次安装今天更新
代码仓库

关于 how

逐步讲解子系统的工作原理——快速探索者绘制全貌,讲解者撰写分层指南。适用于“X 是如何工作的”、熟悉陌生代码,或在修改尚无法解释的子系统之前。

安装

复制下面的命令,在终端中运行。

$npx skills add https://github.com/yeachan-heo/oh-my-claudecode --skill how

安装后在 Claude Code 中输入/how确认已加载。

附带文件references/explainer-prompt.mdreferences/explorer-prompt.md

README 原文English

来自项目 README

README 暂无中文译文,以下为英文原文;中文介绍见上方。

How

Explain how a subsystem works, layered so each layer stands alone. Two roles, two passes:

  1. Explore (read-only, fast): dispatch oh-my-claudecode:explore to map the subsystem — entry points, main flows, data shapes, state, external calls, and the files that own each. Explorer returns a map with file:line citations, not prose.
  2. Explain (lead): write the walkthrough from the map, reading the cited code yourself where the claim is load-bearing.

Output shape

  • One paragraph: what the subsystem does and for whom, no jargon.
  • Walkthrough: the main path end to end, step by step, each step citing file:line. Diverge into how errors and retries are handled at the point they occur.
  • Edge cases and invariants: what must stay true for the walkthrough to hold, and what happens when it does not.
  • Boundaries: what this subsystem deliberately does not do.

Rules

  • Every behavioral claim cites code you or the explorer read this session; an uncited claim is labeled a guess.
  • The walkthrough explains the code as it is, not as it should be; design critique belongs to why and review.
  • Size the depth to the ask: a routing question gets one paragraph plus the relevant slice, not the full walkthrough.

评论

支持 Markdown