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

docs文档

Agent Skill

用于辅助文档、README、Markdown、说明文和内容稿件的整理与改写。它适合让 Agent 提炼结构、补齐章节、统一术语、检查链接或把零散材料整理成可读文档。使用时应保留项目已有事实、命令和路径,不要把未确认的信息写成确定结论;涉及对外文案时,还需要控制语气,避免过度营销或夸大能力。

总安装

346

周安装

14

GitHub Stars

7

下载量

109
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/2ykwang/agent-skills --skill docs

简介

适用于项目文档、内容稿件和说明文的组织与优化,尤其擅长章节梳理与格式规范。

  • 核心能力包括自动提取目录、补全文案段落以及验证代码引用路径的有效性。
  • 使用时需基于已有事实编写,避免虚构信息或夸大表述。
  • 安装后需在 docs/generated/ 目录下管理生成文档, 手动编写文件不可修改。docs 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Input

$ARGUMENTS

Instructions

Document Root

Documents managed by this skill are stored under docs/generated/. They are organized by category subdirectories: docs/generated/<category>/<slug>.md

Documents outside docs/generated/ are considered manually written and must never be modified.

Tool Usage Rules

Always use the tools below for document search and management. Do not open files one by one — search smartly using patterns.

PurposeToolUsage
Find document filesGlobdocs/generated/**/*.md pattern to get full document list
Search frontmatterGrepFilter by title:, category: patterns
Read existing docsReadRead frontmatter + body (only necessary documents)
Verify code referencesGlobCheck if file paths in code_refs exist
Create documentsWriteCreate new document files
Update documentsEditUpdate specific parts of existing documents
Scan INDEXReadRead docs/generated/INDEX.md for category structure and document list

Subcommand Routing

The first word of $ARGUMENTS determines the subcommand.

First wordAction
writeRead and execute references/write-procedure.md
checkRead and execute references/check-procedure.md
(none / help)Print usage below and stop

When run without a subcommand:

## docs

Code documentation agent — systematically records development knowledge.

### Commands

| Command | Description |
|---------|-------------|
| write <topic> [code-path] | Write or update a document on the topic |
| check | Check all document status (stale, broken refs, orphan docs) |

### Features

- Uses `[symbol](file-path)` reference pointers instead of code blocks
- Organized by category folders under `docs/generated/`
- INDEX.md based document indexing

Argument Parsing

Parse the remaining arguments after removing the subcommand keyword (write / check).

write arguments:

  • First argument: topic (required) — title/topic of the document
  • Second argument: code-path (optional) — path to related code (file or directory)

Examples:

  • /docs write "auth flow design" → topic only
  • /docs write "auth flow" src/auth/ → topic + code-path

check arguments: None.

Document Writing Principles

  1. Minimize code blocks: Do not include code snippets directly in documents. Instead, use markdown links in the form [symbol](project-root-relative/file-path) as references.
  2. Focus on design intent: Record "why it was done this way" rather than "what was done".
  3. Protect manual documents: Never modify documents outside docs/generated/.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

34.68%
按下载量换算38

Claude

28.51%
按下载量换算31

Cursor

20.86%
按下载量换算23

Gemini CLI

10.35%
按下载量换算11

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

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

来源信息

继续浏览同类 Skills