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

documentation文档

Agent Skill

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

总安装

16,573

周安装

677

GitHub Stars

1,817

下载量

5,308
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/mcollina/skills --skill documentation

简介

将技术文档分为四种不同的类型:教程、操作指南、参考和解释,每种类型都满足不同的用户需求。

  • 通过学习上下文应用 Diátaxis 框架来构建文档:为初学者边做边学的教程、解决特定问题的操作指南、技术事实参考以及概念理解解释
  • 提供特定于类型的模式,包括标题约定、结构模板和验证检查,以确保每个文档为其目标受众提供服务
  • 包括决策清单和快速决策树,以帮助确定哪种文档类型符合用户意图
  • 强调关注点分离——使每个文档保持单一类型,同时在类型之间进行交叉链接以进行导航

SKILL.md

When to use

Use this skill when you need to create, review, or improve technical documentation following the Diátaxis framework. Examples include:

  • Creating user guides
  • API documentation
  • Tutorial content
  • Restructuring existing documentation to better serve different user needs and contexts

Instructions

Organize documentation into four distinct types — tutorials, how-to guides, reference material, and explanations — each serving different user needs and contexts.

Always ask clarifying questions about the user's context, audience, and goals before creating documentation.


Step 1 — Identify the documentation type

Use the following decision checklist based on user signals:

User signalDocumentation type
"I'm new to X and want to learn it" / "walk me through"Tutorial
"How do I…?" / "I need to accomplish X"How-to guide
"What are the parameters/options/syntax for X?"Reference
"Why does X work this way?" / "Help me understand X"Explanation

Quick decision tree:

  • Is the user learning by doing for the first time? → Tutorial
  • Do they need to solve a specific problem they already understand? → How-to guide
  • Do they need technical facts to look up? → Reference
  • Do they want conceptual background? → Explanation

Step 2 — Apply type-specific patterns

Tutorials (learning-oriented)

  • Title pattern: Start with a verb — *"Build your first X"*, *"Create a Y from scratch"*
  • Structure: Goal → Prerequisites → Numbered steps → Immediate verifiable result at each step → Final outcome
  • Minimise explanation; maximise doing
  • Every step must produce a visible, testable result
  • Validation: A beginner must be able to complete the tutorial without external help

Example intro:

*"In this tutorial, you will build a simple REST API using Express. By the end, you will have a running server that responds to GET requests. No prior Express experience is needed."*

How-to guides (problem-oriented)

  • Title pattern: Frame as a task — *"How to configure X"*, *"How to deploy Y to Z"*
  • Structure: Goal statement → Assumptions/prerequisites → Numbered steps → Expected result
  • Assume baseline knowledge; skip conceptual explanations
  • Allow for variation; note alternatives where they exist
  • Validation: An experienced user can complete the task without confusion or backtracking

Example intro:

*"This guide shows how to add JWT authentication to an existing Express app. It assumes you have a working Express server and basic familiarity with middleware."*

Reference (information-oriented)

  • Title pattern: Name the thing — *"Configuration options"*, *"API endpoints"*, *"CLI flags"*
  • Structure: Consistent repeatable format per entry (name → type → default → description → example)
  • State facts; avoid instruction beyond minimal usage examples
  • Keep current; version-stamp if needed
  • Validation: A user can look up a specific fact in under 30 seconds without reading surrounding content

Example entry:

timeout *(integer, default: 5000)* Maximum time in milliseconds to wait for a response before the request fails. *Example:* {timeout: 3000}

Explanations (understanding-oriented)

  • Title pattern: Frame as a concept — *"How X works"*, *"Understanding Y"*, *"Why Z is designed this way"*
  • Structure: Context → Core concept → Alternatives/trade-offs → Higher-level perspective
  • Avoid step-by-step instruction or technical specification
  • Validation: After reading, the user can explain the concept in their own words and understands the rationale behind design decisions

Example intro:

*"Authentication and authorisation are often confused. This page explains the distinction, why both matter, and how common patterns (sessions, tokens, OAuth) approach each concern differently."*

Step 3 — Maintain separation and integration

  • Keep each document a single type — don't mix tutorial steps with reference tables or conceptual digressions
  • Cross-link between types: a tutorial can link to the relevant reference page; a how-to guide can link to an explanation for background
  • Use consistent headings and terminology across all types so users can navigate the full documentation system

Step 4 — Validate before delivering

TypeValidation check
TutorialCan a beginner complete it end-to-end without external help?
How-to guideDoes it solve the stated problem for an experienced user?
ReferenceCan the user find a specific fact in under 30 seconds?
ExplanationDoes the user understand the *why*, not just the *what*?

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

34.79%
按下载量换算1,847

Claude

28.39%
按下载量换算1,507

Cursor

18.6%
按下载量换算987

Gemini CLI

8.85%
按下载量换算470

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

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

安装前确认

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

来源信息

继续浏览同类 Skills