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

managing-docs管理文档

Agent Skill

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

总安装

220

周安装

9

GitHub Stars

3

下载量

71
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/c0ntr0lledcha0s/claude-code-plugin-automations --skill managing-docs

简介

用于辅助文档、README 和 Markdown 内容整理与改写。

  • 适合提炼结构、补齐章节或统一术语风格。
  • 使用时需保留项目已有事实和路径信息。managing-docs 属于研究检索类 Skill,可作为该场景下的辅助能力补充。
  • 涉及对外文案时应控制语气,避免过度营销或夸大能力。
  • 建议不要将未确认信息写成确定结论,保持客观准确。

SKILL.md

Managing Documentation Skill

You are an expert at organizing, structuring, and managing documentation across software projects.

When This Skill Activates

This skill auto-invokes when:

  • User asks about documentation structure or organization
  • User wants to set up documentation for a project
  • User needs to configure documentation tools (Sphinx, MkDocs, etc.)
  • User asks about documentation best practices for organization
  • User wants to restructure existing documentation

Documentation Architecture Patterns

Pattern 1: Simple Project (README-Centric)

Best for: Small projects, libraries, single-purpose tools

project/
├── README.md           # Main documentation
├── CONTRIBUTING.md     # Contribution guidelines
├── CHANGELOG.md        # Version history
├── LICENSE             # License file
└── docs/
    └── api.md          # API reference (if needed)

Pattern 2: Standard Project (Docs Directory)

Best for: Medium projects, applications with multiple features

project/
├── README.md           # Overview and quick start
├── CONTRIBUTING.md
├── CHANGELOG.md
├── LICENSE
└── docs/
    ├── index.md        # Documentation home
    ├── getting-started.md
    ├── installation.md
    ├── configuration.md
    ├── usage/
    │   ├── basic.md
    │   └── advanced.md
    ├── api/
    │   ├── index.md
    │   └── [module].md
    ├── guides/
    │   └── [topic].md
    └── troubleshooting.md

Pattern 3: Large Project (Full Documentation Site)

Best for: Large projects, frameworks, platforms

project/
├── README.md
├── CONTRIBUTING.md
├── CHANGELOG.md
├── LICENSE
└── docs/
    ├── mkdocs.yml          # Doc site config
    ├── index.md
    ├── getting-started/
    │   ├── index.md
    │   ├── installation.md
    │   ├── quick-start.md
    │   └── first-project.md
    ├── guides/
    │   ├── index.md
    │   └── [topic]/
    │       └── index.md
    ├── reference/
    │   ├── index.md
    │   ├── api/
    │   ├── cli/
    │   └── configuration/
    ├── tutorials/
    │   └── [tutorial]/
    ├── concepts/
    │   └── [concept].md
    ├── examples/
    │   └── [example]/
    └── contributing/
        ├── index.md
        ├── development.md
        └── style-guide.md

Pattern 4: Monorepo Documentation

Best for: Monorepos with multiple packages

monorepo/
├── README.md               # Monorepo overview
├── docs/
│   ├── index.md           # Overall documentation
│   ├── architecture.md
│   └── packages.md
└── packages/
    ├── package-a/
    │   ├── README.md      # Package-specific docs
    │   └── docs/
    └── package-b/
        ├── README.md
        └── docs/

Documentation Types

1. Reference Documentation

  • API documentation
  • Configuration options
  • CLI commands
  • Data types and schemas

Characteristics:

  • Comprehensive and exhaustive
  • Organized alphabetically or by module
  • Auto-generated when possible
  • Linked from tutorials and guides

2. Conceptual Documentation

  • Architecture overviews
  • Design decisions
  • How things work internally
  • Theoretical background

Characteristics:

  • Explains the "why"
  • Provides context
  • Uses diagrams when helpful
  • Links to reference docs

3. Procedural Documentation (How-To Guides)

  • Step-by-step instructions
  • Task-oriented content
  • Specific goals in mind
  • Common workflows

Characteristics:

  • Numbered steps
  • Clear prerequisites
  • Expected outcomes
  • Troubleshooting tips

4. Tutorial Documentation

  • Learning-oriented content
  • Hands-on exercises
  • Progressive complexity
  • Complete examples

Characteristics:

  • Beginner-friendly
  • Self-contained
  • Working code included
  • Builds on previous steps

Documentation Tools Setup

MkDocs (Python Projects)

Installation:

pip install mkdocs mkdocs-material

Basic mkdocs.yml:

site_name: Project Name
theme:
  name: material
  features:
    - navigation.tabs
    - navigation.sections
    - search.highlight

nav:
  - Home: index.md
  - Getting Started:
    - Installation: getting-started/installation.md
    - Quick Start: getting-started/quick-start.md
  - Guides:
    - guides/index.md
  - API Reference:
    - reference/index.md

plugins:
  - search
  - autorefs

markdown_extensions:
  - pymdownx.highlight
  - pymdownx.superfences
  - admonition
  - toc:
      permalink: true

Commands:

mkdocs serve      # Local development server
mkdocs build      # Build static site
mkdocs gh-deploy  # Deploy to GitHub Pages

Docusaurus (JavaScript Projects)

Installation:

npx create-docusaurus@latest docs classic

Key Configuration (docusaurus.config.js):

module.exports = {
  title: 'Project Name',
  tagline: 'Project tagline',
  url: 'https://your-domain.com',
  baseUrl: '/',
  themeConfig: {
    navbar: {
      title: 'Project',
      items: [
        { to: '/docs/intro', label: 'Docs', position: 'left' },
        { to: '/blog', label: 'Blog', position: 'left' },
      ],
    },
  },
};

Sphinx (Python API Docs)

Installation:

pip install sphinx sphinx-rtd-theme
sphinx-quickstart docs

conf.py Setup:

extensions = [
    'sphinx.ext.autodoc',
    'sphinx.ext.napoleon',
    'sphinx.ext.viewcode',
]

html_theme = 'sphinx_rtd_theme'

# Napoleon settings for Google-style docstrings
napoleon_google_docstring = True
napoleon_numpy_docstring = False

TypeDoc (TypeScript Projects)

Installation:

npm install typedoc --save-dev

typedoc.json:

{
  "entryPoints": ["src/index.ts"],
  "out": "docs/api",
  "exclude": ["**/*.test.ts"],
  "excludePrivate": true,
  "includeVersion": true
}

Documentation Standards

File Naming Conventions

✓ getting-started.md      # Lowercase with hyphens
✓ api-reference.md        # Clear and descriptive
✓ installation.md         # Single word when possible

✗ GettingStarted.md       # No PascalCase
✗ getting_started.md      # No underscores
✗ GETTING-STARTED.md      # No all caps (except special files)

Special Files

README.md       # Project overview (required)
CONTRIBUTING.md # Contribution guidelines
CHANGELOG.md    # Version history
LICENSE         # License text
CODE_OF_CONDUCT.md # Community standards
SECURITY.md     # Security policy

Documentation Structure Checklist

Project Root:

  • README.md with overview and quick start
  • CONTRIBUTING.md with contribution guidelines
  • CHANGELOG.md with version history
  • LICENSE file

Documentation Directory:

  • Clear navigation structure
  • Getting started guide
  • API/reference documentation
  • Examples directory
  • Search functionality (if using doc site)

Individual Documents:

  • Clear title
  • Table of contents (for long docs)
  • Logical section organization
  • Code examples where relevant
  • Links to related content

Versioned Documentation

For projects with multiple versions:

Strategy 1: Branch-Based

docs/
├── latest/           # Symlink to current version
├── v2.0/
├── v1.5/
└── v1.0/

Strategy 2: Docusaurus Versioning

npm run docusaurus docs:version 1.0

Strategy 3: ReadTheDocs Versioning

Automatic version switching based on git tags.

Migration Strategies

Migrating to Docs Directory

  1. Create docs/ directory structure
  2. Move inline docs to appropriate files
  3. Update links and references
  4. Add navigation configuration
  5. Set up doc site generator (if using)
  6. Redirect old documentation URLs

Consolidating Documentation

  1. Audit all existing documentation
  2. Identify duplicates and conflicts
  3. Create canonical versions
  4. Remove or redirect duplicates
  5. Update all internal links

Automation

GitHub Actions for Docs

name: Deploy Documentation

on:
  push:
    branches: [main]
    paths:
      - 'docs/**'

jobs:
  deploy:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: actions/setup-python@v5
        with:
          python-version: '3.x'
      - run: pip install mkdocs-material
      - run: mkdocs gh-deploy --force

Pre-commit Hooks for Docs

# .pre-commit-config.yaml
repos:
  - repo: https://github.com/igorshubovych/markdownlint-cli
    rev: v0.37.0
    hooks:
      - id: markdownlint
        args: ['--fix']

Integration

This skill works with:

  • analyzing-docs skill for assessing current documentation state
  • writing-docs skill for creating documentation content
  • docs-analyzer agent for comprehensive documentation projects

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

36.83%
按下载量换算26

Claude

30.59%
按下载量换算22

Cursor

18.69%
按下载量换算13

Gemini CLI

9.87%
按下载量换算7

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

通过

权限和风险

需要联网

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

安装前确认

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

来源信息

继续浏览同类 Skills