Token导航 LogoToken导航TokenDH.com
研究检索操作浏览器clawhub未标认证来源可访问clear审计通过

github-repo-guide-pdfGitHub repo 指南 PDF

Agent Skill

用于围绕 GitHub 仓库、Issue、Pull Request、分支、提交和代码协作流程提供辅助能力。它适合让 Agent 查询项目状态、整理变更、辅助创建或检查协作事项,并把仓库中的信息转成可执行的下一步。使用时需要区分只读查询和写入操作;涉及创建 PR、修改 Issue、推送分支或访问私有仓库时,应确认 token 权限、目标仓库范围和用户授权。

总安装

3,912

周安装

163

GitHub Stars

公开资料未说明

下载量

1,304
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:github-repo-guide-pdf(GitHub repo 指南 PDF)
来源仓库:https://github.com/smile618/github-repo-guide-pdf
安装命令:
openclaw skills install github-repo-guide-pdf
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

ClawHubOpenClaw
openclaw skills install github-repo-guide-pdf

简介

将 GitHub 项目转化为中文用户使用指南,侧重用法而非实现细节。

  • 适合需要快速上手第三方工具的产品经理或终端用户。
  • 通过 clawhub 安装,支持 URL 或 OWNER/REPO 格式输入生成 Markdown 指南。
  • 输出为文档而非代码修改,无需额外权限即可运行。
  • github-repo-guide-pdf 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

name
github-repo-guide-pdf
description
Analyze a GitHub repository URL or OWNER/REPO and produce a Chinese user guide focused on how to use the project, not how it is implemented. Build a Markdown guide plus a PDF and send it back with MEDIA lines. Use when the user gives a GitHub repo and asks for usage, introduction, quick start, complete guide, tutorial, learn how to use it, or asks to turn the repo into a PDF/manual.

Github Repo Guide Pdf

Turn a GitHub repository into a usage-first Chinese guide and PDF.

Inputs

  • Accept a GitHub repo URL or OWNER/REPO.
  • Default audience: user/operator, not maintainer or contributor.
  • If the repo is a monorepo, has several products, or mixes SDK plus server plus docs, ask one scoping question before continuing.

Workflow

  1. Normalize the repo identifier.
  2. Use gh first for repo metadata. Fall back to browser only if gh is blocked or missing needed details.
  3. Clone the repo into a temporary directory with shallow depth when possible.
  4. Inspect user-facing docs and entry points.
  5. Write a Chinese Markdown guide that teaches usage, not internals.
  6. Build a PDF with scripts/build_pdf.py.
  7. Reply with one short status line plus MEDIA: lines for the generated files.

Collection Rules

Prefer these sources, in this order:

  1. README* and localized README files
  2. docs/ and obvious user-guide files
  3. command reference and configuration docs
  4. package.json, pyproject.toml, Cargo.toml, go.mod, or equivalent manifest files for install/runtime hints
  5. examples, templates, or sample config files
  6. GitHub repo metadata from gh repo view

Use rg --files to find files quickly. Favor user-facing docs over architecture or internal implementation notes.

Analysis Rules

Focus on what a real user needs to learn:

  • what the project is
  • who it is for
  • prerequisites and install
  • quick start
  • main commands or workflows
  • important config options
  • when to use which mode or command
  • troubleshooting and common pitfalls
  • minimal cheat sheet

Avoid deep implementation detail unless it is required to explain usage.

If docs are weak, infer carefully from manifests, command docs, examples, and CLI entry points. State uncertainty briefly instead of pretending.

Preferred GitHub Retrieval

Use gh first.

Examples:

gh repo view OWNER/REPO --json name,description,url,defaultBranchRef,licenseInfo,stargazerCount,forkCount,updatedAt
gh repo clone OWNER/REPO /tmp/repo -- --depth=1

If gh is insufficient, use browser to inspect the GitHub page or linked docs site.

Recommended File Discovery

rg --files . | rg '(^README|^readme|^docs/|guide|manual|command|config|example|package\.json$|pyproject\.toml$|Cargo\.toml$|go\.mod$)'

Read only the files needed to build the guide. Do not dump the whole repo into context.

Output Structure

Use this structure unless the repo clearly needs a different shape:

  1. What it is
  2. Who it is for
  3. Installation and prerequisites
  4. Quick start
  5. Core workflows or commands
  6. Configuration and modes
  7. Recommended usage paths by scenario
  8. Troubleshooting and common mistakes
  9. One-page cheat sheet
  10. Sources used

Output Paths

Write outputs under the workspace media directory so they can be sent directly:

  • Markdown: media/<slug>-user-guide-zh-YYYYMMDD-HHMMSS.md
  • PDF: media/<slug>-user-guide-zh-YYYYMMDD-HHMMSS.pdf

Use a short slug derived from the repo name.

PDF Build

After the Markdown guide is ready, run:

python3 skills/github-repo-guide-pdf/scripts/build_pdf.py \
  --markdown /absolute/path/to/guide.md \
  --output /absolute/path/to/guide.pdf \
  --title "<title>" \
  --source-url "https://github.com/OWNER/REPO"

If font selection fails, rerun with:

--mainfont "Hiragino Sans GB"

Final Reply

After success, reply with:

  1. one short sentence saying the guide is ready
  2. one MEDIA: line for the Markdown file
  3. one MEDIA: line for the PDF file

Example:

Done. I turned the repo into a Chinese usage guide and PDF.
MEDIA:media/example-user-guide-zh-20260328-150500.md
MEDIA:media/example-user-guide-zh-20260328-150500.pdf

Validation Checklist

Before replying, verify all of the following:

  • the repo URL or OWNER/REPO was normalized correctly
  • the guide is usage-first, not implementation-first
  • the Markdown file exists and is non-empty
  • the PDF exists and is non-empty
  • both files live under the workspace media directory
  • the MEDIA: paths match the actual files

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

补充不同宿主或平台的使用分布数据

能力 5

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

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

平台分布

OpenClaw

94.24%
按下载量换算1,229

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

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

来源信息

继续浏览同类 Skills