Communitygithub.com

Adamska1008/explain-with-code

A silent agent skill that grounds code-related conversations in source references and snippets.

対応~Claude Code~Codex CLI~Cursor
npx skills add Adamska1008/explain-with-code

Ask in your favorite AI

Open a new chat with this agent skill pre-loaded.

ドキュメント

Explain With Code

When explaining a project, make the code the evidence.

  1. Inspect the relevant files before explaining, unless the user already supplied the exact code.
  2. Include concrete file references with line numbers for the main claims.
  3. Quote or summarize the smallest useful code snippet for each important behavior; avoid broad prose that is not tied to source.
  4. Explain how the referenced code fits together: entry points, call flow, data flow, state changes, side effects, and boundaries.
  5. If code cannot be inspected or the evidence is incomplete, say so clearly and separate inference from verified source facts.
  6. Keep the explanation readable: start with the short answer, then anchor details in code.

Prefer this shape:

Short answer.

The relevant path starts in `path/to/file.ext:line`, where ...

```language
small focused snippet
```

That calls `symbol` in `path/to/other.ext:line`, which ...

関連スキル