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

ring%3adocumentation-structurering%3a 文档结构

Agent Skill

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

总安装

838

周安装

36

GitHub Stars

180

下载量

294
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/lerianstudio/ring --skill ring:documentation-structure

简介

用于辅助文档、README 和 Markdown 内容的整理与改写,适合规划章节结构与层级。

  • 支持将零散材料组织成清晰可读的文档格式。
  • 需保留项目原有命令与路径信息,不添加未确认内容。
  • 通过 GitHub 仓库获取技能定义,需结合原始 README 确认具体用法。
  • ring%3adocumentation-structure 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Documentation Structure

Good structure helps users find what they need quickly. Organize content by user tasks and mental models, not by internal system organization.

Content Hierarchy

Documentation/
├── Welcome/              # Entry point, product overview
├── Getting Started/      # First steps, quick wins
├── Guides/              # Task-oriented documentation
│   ├── Understanding X   # Conceptual
│   ├── Use Cases        # Real-world scenarios
│   └── Best Practices   # Recommendations
├── API Reference/       # Technical reference
│   ├── Introduction     # API overview
│   └── Endpoints/       # Per-resource documentation
└── Updates/             # Changelog, versioning

Page Structure Patterns

Page TypeStructure
OverviewBrief description → "In this section you will find:" → Linked list of child pages
ConceptualLead paragraph → Key characteristics (bullets) → How it works → Subtopics with --- dividers → Related concepts
Task-OrientedBrief context → Prerequisites → Numbered steps → Verification → Next steps

Section Dividers

Use --- between major sections for visual separation.

When to use:

  • Between major topic changes
  • Before "Related" or "Next steps" sections
  • After introductory content
  • Before prerequisites in guides

Don't overuse: Not every heading needs a divider.


Navigation Patterns

PatternUsage
BreadcrumbShow hierarchy: Guides > Core Entities > Accounts
Prev/NextConnect sequential content: `[Previous: Assets] \[Next: Portfolios]`
On-this-pageFor long pages, show section links at top

Information Density

Scannable content:

  1. Lead with key point in each section
  2. Use bullet points for 3+ items
  3. Use tables for comparing options
  4. Use headings every 2-3 paragraphs
  5. Bold key terms on first use

Progressive disclosure:

  • Essential info (80% of users need) first
  • Advanced configuration in separate section
  • Edge cases and rare scenarios last

Tables vs Lists

Use tables when: Comparing items across same attributes, showing structured data (API fields), displaying options with consistent properties

Use lists when: Items don't have comparable attributes, sequence matters (steps), items have varying detail levels


Code Examples Placement

TypeWhen
Inline codeShort references: "Set the assetCode field..."
Code blocksComplete, runnable examples

Rules:

  1. Show example immediately after explaining it
  2. Keep examples minimal but complete
  3. Use realistic data (not "foo", "bar")
  4. Show both request and response for API docs

Cross-Linking Strategy

  • Link first mention of a concept in each section
  • Don't over-link – once per section is enough
  • Link destinations: Concept → conceptual docs, API action → endpoint, "Learn more" → deeper dive

Page Length Guidelines

Page TypeTargetReasoning
Overview1-2 screensQuick orientation
Concept2-4 screensThorough explanation
How-to1-3 screensTask completion
API endpoint2-3 screensComplete reference
Best practices3-5 screensMultiple recommendations

If >5 screens, consider splitting.


Quality Checklist

  • Content organized by user task, not system structure
  • Overview pages link to all child content
  • Section dividers separate major topics
  • Headings create scannable structure
  • Tables used for comparable items
  • Code examples follow explanations
  • Cross-links connect related content
  • Page length appropriate for type
  • Navigation connects sequential content

Standards Loading (MANDATORY)

Before planning documentation structure:

  1. Understand content types - What documents will exist (conceptual, how-to, API reference)
  2. Load writing skills - ring:writing-functional-docs and ring:writing-api-docs
  3. Review existing structure - Understand current documentation hierarchy

HARD GATE: CANNOT reorganize documentation without understanding content and audience.


Blocker Criteria - STOP and Report

ConditionDecisionAction
Content inventory incompleteSTOPReport: "Need complete list of documentation topics"
User tasks undefinedSTOPReport: "Need user task list to organize around"
Information architecture undefinedSTOPReport: "Need IA decisions before structuring"
Navigation requirements unclearSTOPReport: "Need navigation pattern decisions"

Cannot Be Overridden

These requirements are NON-NEGOTIABLE:

  • MUST organize by user tasks (not system structure)
  • MUST include overview pages that link to children
  • MUST use section dividers (---) between major topics
  • MUST keep page length appropriate for document type
  • CANNOT nest deeper than H3 without good reason
  • CANNOT create orphan pages (must be linked)

Severity Calibration

SeverityCriteriaExamples
CRITICALCompletely disorganized, no navigationNo hierarchy, orphan pages everywhere
HIGHOrganized by system, not user tasks"Database tables" instead of "Managing accounts"
MEDIUMMissing links, poor scannabilityNo cross-links, walls of text
LOWStructure works but could be optimizedCould improve navigation, add dividers

Pressure Resistance

User SaysYour Response
"Organize by our system components""MUST organize by user tasks. System structure ≠ mental model. I'll structure around what users do."
"One long page is fine""Long pages overwhelm users. MUST split by document type guidelines. I'll organize appropriately."
"Skip the overview pages""Overview pages are REQUIRED for navigation. I'll create overview pages linking to children."
"Cross-links are extra work""Cross-links enable discovery. MUST connect related content. I'll add appropriate links."
"Flat structure is simpler""Flat structure makes finding content harder. MUST use appropriate hierarchy."

Anti-Rationalization Table

RationalizationWhy It's WRONGRequired Action
"Mirrors our codebase structure"Users don't know your codebaseMUST organize by user tasks
"Everything on one page is convenient"Convenience for whom? Not usersSplit per page length guidelines
"Deep nesting shows thoroughness"Deep nesting hides contentKeep hierarchy shallow (H3 max)
"Users will search anyway"Search supplements, not replaces structureMUST provide clear navigation
"Links can be added later"Orphan pages are lost pagesAdd links during creation
"Structure is aesthetic, not functional"Structure IS functionalityStructure enables findability

When This Skill is Not Needed

Signs that documentation structure is already correct:

  • Content organized around user tasks and goals
  • Clear hierarchy with appropriate depth
  • Overview pages link to all child content
  • Section dividers separate major topics
  • Navigation connects sequential content
  • Cross-links connect related topics
  • Page lengths appropriate for document type
  • No orphan pages

If all above are true: Structure is correct, no reorganization needed.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

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

平台分布

Codex

34.75%
按下载量换算102

Claude

32.34%
按下载量换算95

Cursor

18.89%
按下载量换算56

Gemini CLI

8.78%
按下载量换算26

安全审计

暂无安全审计结果可展示。

权限和风险

需要联网

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

安装前确认

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

来源信息

继续浏览同类 Skills