agentleFS
lightpointventureslightpointventures/claude-code-starter/skills/explain/SKILL.md

explain

Skill36 starsChanged 8 months agoMITView on GitHub

当用户看不懂代码、想理解某段逻辑、需要解释某个文件或函数时使用 — 用大白话解释代码逻辑

58 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use rubber-duck, translate and 4 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • ElliotJLTSkill

    rubber-duck

    When a user is stuck, frustrated, or describing a problem vaguely, do NOT immediately suggest solutions. First, force structured problem articulation through targeted questions: What did you expect? What happened instead? What have you tried? Only after the problem is clearly defined, propose solutions.

    Also in 3 projects that use this

  • clearsmogSkill

    translate

    Multi-format document translation. Supports Typst ↔ Quarto. For Beamer translations, configure at project level.

    Also in 3 projects that use this

  • Hugging FaceSkill

    self-review

    Use before opening a PR, or whenever asked to self-review a diffusers contribution. Applies the same rubric as the `@claude` CI (checks the diff against references/review-rules.md, traces call paths for dead code). Reports findings grouped by severity, flagging what to fix before submitting (blocking issues + dead code) vs what to leave for the actual review. Report-only — does not edit files.

    Also in 3 projects that use this

  • Microsoft AzureSkill

    build

    Build the TypeSpec Rust emitter from source. Run this after cloning the repo, after pulling changes, or when TypeScript source files have been modified.

    Also in 6 projects that use this

  • renatorozasSkill

    grill

    Adversarial code review. Don't let me ship until the changes pass your scrutiny.

    Also in 4 projects that use this

  • AnthropicSkill

    standup

    Generate a standup update from recent activity. Use when preparing for daily standup, summarizing yesterday's commits and PRs and ticket moves, formatting work into yesterday/today/blockers, or structuring a few rough notes into a shareable update.

    Also in 3 projects that use this

The file

Files
SKILL.md

代码解释

用最简单的语言解释代码,让用户真正理解它在做什么。

步骤

1. 确定要解释的代码

如果用户指定了文件或函数,直接读取对应代码。

如果用户没有指定,问:

你想让我解释哪段代码?可以告诉我文件名、函数名,或者直接贴代码。

2. 阅读并理解代码

读取完整的代码上下文,包括:

  • 这段代码所在的文件
  • 它被谁调用、它调用了谁
  • 相关的类型定义或数据结构

3. 分层解释

用中文输出解释,按以下结构:

一句话总结

这段代码的作用是:xxx

逐步拆解 用编号列表,按执行顺序解释每个关键步骤。每一步用一句大白话说清楚在做什么。

  • 不要逐行翻译代码,而是解释逻辑意图
  • 用类比帮助理解(比如"就像一个过滤器,只留下符合条件的数据")
  • 遇到专业术语,先用大白话解释,再括号标注术语

关键细节 如果有容易忽略的重要细节(边界处理、错误处理、性能考虑),单独指出。

4. 回答追问

解释完后,告诉用户:

有哪里不清楚的吗?可以继续问。

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.