agentleFS
DawnMoon1542DawnMoon1542/agents-skills/why/SKILL.md

why

Skill9 starsChanged 4 days agoNo licenceView on GitHub

回答"这段代码为什么这样写"——从引入目标的提交、对应 PR 的描述与讨论、关联 issue 以及之后每次改动中找出作者当时的理由,引用作者原话,把自己的推断明确标为推断,找不到依据时直说找不到;代码只用于定位。仓库没有 GitHub 远端或 gh 不可用时只用 git log、git blame、git log -L,并说明信息来源受限。触发于用户问"为什么这样写"、"为什么当初选了 X"、"这个阈值或常量是怎么定的"、"这个设计的取舍是什么"、"这段逻辑是哪次改动加的、为什么加"、"复盘这个决定",或 "why is this written this way"、"why did we pick X"、"design rationale"、"where does this threshold come from"、"git archaeology" 等场景。不用于运行时报错的原因排查,也不用于解释代码如何运行。

141 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use addskill, apply-firmware and 10 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.
  • ryanportfolioSkill

    addskill

    Create, import, update, or install repo or personal skills: runtime ownership, resources, discovery checks.

    Also in 6 projects that use this

  • ryanportfolioSkill

    apply-firmware

    Bring current folder (plain folder, existing repo, old or partial firmware copy) up to full Harness Firmware in place. Mirror external repo → adopt-repo.

    Also in 6 projects that use this

  • +10 more from ryanportfolio

The file

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.