Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计通过

repo-explainer回购解释器

Agent Skill

repo-explainer 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

364

周安装

15

GitHub Stars

公开资料未说明

下载量

119
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:repo-explainer(回购解释器)
来源仓库:https://github.com/tonicmuroq/skills
仓库路径:skills/repo-explainer
安装命令:
npx skills add https://github.com/tonicmuroq/skills --skill repo-explainer
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/tonicmuroq/skills --skill repo-explainer

简介

repo-explainer 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。

  • 它通过分析仓库结构和内容,帮助 Agent 理解项目上下文并提取关键信息。
  • 可通过 npx skills add 命令从指定 GitHub 仓库安装,具体用法请参考原始 README。
  • 安装前建议确认权限范围和维护状态,注意是否触发联网或文件读写操作。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Repo Architecture Explainer

Objective

Read the current repository and produce an evidence-based architecture report with three required sections and two conditional sections:

  1. What the repo does
  2. Design ideas and implementation approach
  3. Notable implementation/design decisions worth learning
  4. ASCII flow diagram for request flow and data flow (conditional)
  5. Minimal usable example (conditional)

Match the selected output language and keep claims grounded in repository files.

Invocation Parameters

This skill uses text parameters in the invocation string. No separate typed argument system is required.

  • /repo-explainer or $repo-explainer: output in English by default.
  • /repo-explainer chinese or $repo-explainer chinese: output in Chinese.
  • Also accept aliases:

- Chinese: chinese, zh, zh-cn, 中文 - English: english, en, 英文

  • If the user explicitly asks for a language in the request body, that explicit request overrides invocation defaults.

Workflow

1) Discover scope and entry points

  • Confirm analysis scope as the current repository root.
  • Build a fast inventory with rg --files.
  • Prioritize these files first when present:

- README*, docs/** - dependency and build manifests such as package.json, pyproject.toml, go.mod, Cargo.toml, pom.xml - primary entry points such as main.*, index.*, app.*, framework boot files - public API surfaces for libraries, such as src/index.*, exported modules, __init__.py - examples/tests that reveal expected usage

2) Infer architecture from code

  • Identify major runtime roles: client, API, worker, background jobs, storage, and external services.
  • Trace request flow end-to-end: entry -> handlers/services -> storage/external dependencies -> response.
  • Trace data flow: source -> validation/transform -> persistence/cache -> output.
  • Anchor every major conclusion to concrete files.

3) Evaluate notable decisions

  • Select 2-5 strong implementation/design decisions with concrete evidence.
  • Prefer decisions such as:

- clear module boundaries or layering - robust error handling and retries - typed interfaces/contracts - test strategy and coverage focus - configuration/secrets separation - migration/versioning strategy

  • Explain why each selected decision is worth learning.

4) Decide whether the repo is a reusable library

  • Treat the repo as a library only when most signals exist:

- explicit exported API - usage instructions for consumers - versioning/release intent - examples that show external consumption

  • If signals are weak, state that it is application-oriented and skip library example output.

5) Decide whether a flow diagram is meaningful

  • Add section 4 only when non-trivial flow exists, such as:

- network request lifecycle (client/server/API) - multi-step domain/data pipeline - async jobs, queues, cache, or storage boundaries

  • Skip section 4 for trivial repositories where a diagram adds no explanatory value.
  • For trivial libraries (for example a single pure function such as return a + b), prefer a one-line note: No meaningful request/data flow to diagram.

6) Produce final output

  • Follow references/report-template.md by default.
  • Keep the report concise but concrete.
  • Include file paths as evidence in each section.
  • Mark assumptions clearly when information is missing.
  • Avoid inventing functionality not visible in repo files.
  • Keep sections 1-3 always present.
  • Include sections 4-5 only when they provide practical value; otherwise explicitly mark them Skipped with a short reason.

Output quality rules

  • Label key claims as Confirmed or Likely.
  • Use plain ASCII only for diagrams.
  • Include at least one request path and one data path when a diagram is included.
  • Keep direction explicit with arrows such as ->.
  • If runnable examples are incomplete, provide a minimal skeleton and call out missing pieces.
  • Do not force low-value artifacts. Prefer omission with reason over filler output.

Reference files

  • references/report-template.md for report structure and formatting

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

38.71%
按下载量换算46

Claude

26.68%
按下载量换算32

Cursor

17.66%
按下载量换算21

Gemini CLI

10.05%
按下载量换算12

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills