Token导航 LogoToken导航

Agent Skill · 研究检索

documentation-standards(文件标准)

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

documentation-standards 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证为 MIT,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 31,740。

总安装 2,645周安装 107GitHub Stars 38下载 830核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT

安装方式

通过对话安装

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

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

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/terrylica/cc-skills --skill documentation-standards

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

文档标准确保: 所有工作区文档的一致性 通过机器可读格式优化法学硕士 通过中心辐射+单一事实来源实现可维护性 通过正确的 Markdown 格式实现 PDF 兼容性 所有文档均遵循这些标准。

故障排除 问题 原因 解决方案 PDF 中的双节编号 Markdown 中的手动编号 删除手动编号,仅使用 --number-sections PDF 中的损坏链接 相对路径不正确 使用存储库根路径进行跨文档链接 代码块没有语法颜色 缺少语言标识符 打开三重反引号后添加语言 表格渲染效果不佳 列宽太宽 使用较短的标头或管道表格式 Hub 文档太长 中心的细节太多 将详细信息移至分支文档,从中心链接 重复内容 多个文档中的相同信息 识别 SSoT、删除重复项、添加链接 YAML 规范未呈现 文件扩展名错误 使用 OpenAPI 规范的 .yaml 扩展名 索引导航缺失 没有 INDEX.md 或 README.md 在每个目录中创建导航索引 执行后反思 该技能完成后,关闭前检查: 命令成功了吗?

— 如果不是,请修复导致故障的指令或错误表。参数或输出是否改变?— 如果基础工具的界面发生变化,请更新使用示例和参数表以匹配。是否需要解决方法?— 如果您必须即兴创作(不同的标志、额外的步骤),请更新此 SKILL.md,以便下一次调用不需要相同的解决方法。仅当问题真实且可重现时才进行更新,而不是推测性的。

每周安装量 107 存储库 terrylica/cc-skills GitHub 之星 38 第一次看到 3天前 安全审计 Gen Agent Trust Hub 通行证 套接字通行证 斯尼克通行证

来源仓库内路径:skills/documentation-standards

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/terrylica/cc-skills --skill documentation-stan…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

documentation-standards 怎么安装?

在终端执行 npx skills add https://github.com/terrylica/cc-skills --skill documentation-standards。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

documentation-standards 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

documentation-standards 需要什么权限?

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

documentation-standards 是免费的吗?

来源标注的许可证是 MIT。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

documentation-standards 用的人多吗?

公开数据是累计安装 2,645 次,近一周安装 107 次,下载 830 次,GitHub 38 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

documentation-standards 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 3 个目录同时收录,说明这个 Skill 流传比较广。
  • 许可证明确为 MIT,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
documentation-standards

文件标准 · 本页

2,64538需要联网MIT通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Documentation Standards

Self-Evolving Skill: This skill improves through use. If instructions are wrong, parameters drifted, or a workaround was needed — fix this file immediately, don't defer. Only update for real, reproducible issues.

Overview

Standards for writing markdown documentation optimized for both LLM consumption and conversion to professional PDFs using Pandoc. Ensures consistency across all documentation.

When to Use This Skill

Use when:

  • Writing markdown documentation (README, skills, guides, specifications)
  • Creating new skills that include markdown content
  • Authoring content that may be converted to PDF
  • Reviewing documentation for standards compliance

Core Principles

1. LLM-Optimized Documentation Architecture

Machine-Readable Priority: OpenAPI 3.1.0 specs, JSON Schema, YAML specifications take precedence over human documentation.

Why: Structured formats provide unambiguous contracts that both humans and LLMs can consume reliably. Human docs supplement, don't replace, machine-readable specs.

Application:

  • Workflow specifications → OpenAPI 3.1.1 YAML in specifications/
  • Data schemas → JSON Schema with examples
  • Configuration → YAML with validation schemas
  • Human docs → Markdown referencing canonical machine-readable specs

2. Hub-and-Spoke Progressive Disclosure

Pattern: Central hubs (like CLAUDE.md, INDEX.md) link to detailed spokes (skills, docs directories).

Structure:

CLAUDE.md (Hub - Essentials Only)
    ↓ links to
Skills (Spokes - Progressive Disclosure)
    ├── SKILL.md (Overview + Quick Start)
    └── references/ (Detailed Documentation)

Rules:

  • Hubs contain essentials only (what + where to find more)
  • Spokes contain progressive detail (load as needed)
  • Single source of truth per topic (no duplication)

3. Markdown Section Numbering

Critical Rule: Never manually number markdown headings.

❌ Wrong:

## 1. Introduction

### 1.1 Background

### 1.2 Objectives

## 2. Implementation

✅ Correct:

## Introduction

### Background

### Objectives

## Implementation

Rationale:

  • Pandoc's --number-sections flag auto-numbers all sections when generating PDFs
  • Manual numbering creates duplication: "1. 1. Introduction" in rendered output
  • Auto-numbering is consistent, updates automatically when sections reorganize
  • Applies to ALL markdown: documentation, skills, project files, README files

Rule: If markdown might ever convert to PDF, never manually number headings. Use semantic heading levels (##, ###) and let tools handle numbering.

Standards Checklist

Use this checklist when creating or reviewing documentation:

Structure

  • Follows hub-and-spoke pattern (essentials in main doc, details in references)
  • Links to deeper documentation for progressive disclosure
  • Single source of truth (no duplicate content across docs)

Markdown Formatting

  • No manual section numbering in headings
  • Semantic heading levels (##, ###, ####) used correctly
  • Code blocks have language identifiers for syntax highlighting
  • Links use markdown format [text](url), not bare URLs

Machine-Readable Content

  • Workflows documented as OpenAPI 3.1.1 specs (when applicable)
  • Data structures use JSON Schema (when applicable)
  • Configuration uses YAML with validation (when applicable)
  • Human docs reference canonical machine-readable specs

File Organization

  • Documentation lives in appropriate location:

- Global standards → docs/standards/ - Skill documentation → skills/{skill-name}/references/ - Project documentation → {project}/.claude/ or {project}/docs/

  • Index files provide navigation (INDEX.md, README.md)

Related Resources

  • ASCII Diagram Validation: ascii-diagram-validator - Validate ASCII diagrams in markdown
  • Skill Architecture: See skill-architecture plugin for creating effective skills

Examples

Good Hub-and-Spoke Structure

Hub (CLAUDE.md):

## PDF Generation from Markdown

**Quick Start**: Use pandoc-pdf-generation skill

**Critical Rules**:

1. Never write ad-hoc pandoc commands
2. Always verify PDFs before presenting
3. See skill for detailed principles

Spoke (skill/SKILL.md):

  • Quick start with examples
  • Link to references/ for detailed documentation
  • Progressive disclosure as needed

Good Machine-Readable Documentation

Workflow Specification (specifications/hook-prompt-capture.yaml):

openapi: 3.1.1
info:
  title: Hook Prompt Capture Workflow
  version: 1.0.0
paths:
  /capture-prompt:
    post:
      summary: Capture user prompt from hook
      # ... detailed spec

Human Documentation (README.md):

## Workflow

See [hook-prompt-capture.yaml](./specifications/hook-prompt-capture.yaml)
for complete workflow specification.

Quick overview: ...

Summary

Documentation standards ensure:

  • Consistency across all workspace documentation
  • LLM optimization through machine-readable formats
  • Maintainability via hub-and-spoke + single source of truth
  • PDF compatibility through proper markdown formatting

Follow these standards for all documentation.


Troubleshooting

IssueCauseSolution
Double section numbers in PDFManual numbering in markdownRemove manual numbers, use --number-sections only
Broken links in PDFRelative paths incorrectUse repo-root paths for cross-document links
Code block no syntax colorMissing language identifierAdd language after opening triple backticks
Tables render poorlyColumn widths too wideUse shorter headers or pipe-table format
Hub doc too longToo much detail in hubMove details to spoke documents, link from hub
Duplicate contentSame info in multiple docsIdentify SSoT, remove duplicates, add links
YAML spec not renderingWrong file extensionUse.yaml extension for OpenAPI specs
Index navigation missingNo INDEX.md or README.mdCreate navigation index in each directory

Post-Execution Reflection

After this skill completes, check before closing:

  1. Did the command succeed? — If not, fix the instruction or error table that caused the failure.
  2. Did parameters or output change? — If the underlying tool's interface drifted, update Usage examples and Parameters table to match.
  3. Was a workaround needed? — If you had to improvise (different flags, extra steps), update this SKILL.md so the next invocation doesn't need the same workaround.

Only update if the issue is real and reproducible — not speculative.

平台分布

Claude Code

28.36%
按下载量换算235

OpenCode

21.15%
按下载量换算176

Antigravity

17.44%
按下载量换算145

Gemini CLI

11.27%
按下载量换算94

windsurf

7.97%
按下载量换算66

trae

3.33%
按下载量换算28

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

继续浏览同类 Skills