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

configure-docs配置文档

Agent Skill

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

总安装

1,273

周安装

51

GitHub Stars

28

下载量

412
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/laurigates/claude-plugins --skill configure-docs

简介

configure-docs 用于配置文档生成器与写作规范,支持 TSDoc、JSDoc 等多种标准。

  • 适用于技术文档的结构化整理与可读性提升。
  • 可自动生成 MkDocs 或 Sphinx 项目模板。
  • 包含文件写入操作,需确认路径权限与版本控制策略。
  • 建议保留原始事实信息避免错误改写。configure-docs 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

/configure:docs

Check and configure code documentation standards and generators.

When to Use This Skill

Use this skill when...Use another approach when...
Setting up TSDoc, JSDoc, pydoc, or rustdoc standards for a projectWriting actual documentation content for functions or modules
Configuring a documentation generator (TypeDoc, MkDocs, Sphinx, rustdoc)Deploying documentation to GitHub Pages (/configure:github-pages instead)
Auditing documentation coverage and lint complianceReviewing generated documentation for accuracy
Adding documentation enforcement rules to CI/CDEditing ruff or biome configuration for non-doc rules (/configure:linting)
Migrating between documentation conventions (e.g., numpy to google style)Setting up pre-commit hooks only (/configure:pre-commit instead)

Context

  • Project root:!pwd
  • Package files:!find. -maxdepth 1 \(-name 'package.json' -o -name 'pyproject.toml' -o -name 'Cargo.toml' \)
  • Biome config:!find. -maxdepth 1 -name 'biome.json'
  • TSDoc config:!find. -maxdepth 1 \(-name 'tsdoc.json' -o -name 'typedoc.json' \)
  • Python config:!find. -maxdepth 1 \(-name 'pyproject.toml' -o -name 'ruff.toml' -o -name '.ruff.toml' \)
  • Rust config:!find. -maxdepth 1 \(-name 'Cargo.toml' -o -name 'clippy.toml' \)
  • Pre-commit:!find. -maxdepth 1 -name '.pre-commit-config.yaml'
  • Doc generators:!find. -maxdepth 1 \(-name 'mkdocs.yml' -o -name 'docusaurus.config.*' \)
  • Docs directory:!find. -maxdepth 1 -type d -name 'docs'

Parameters

Parse from command arguments:

  • --check-only: Report compliance status without modifications (CI/CD mode)
  • --fix: Apply fixes automatically without prompting
  • --level <minimal|standard|strict>: Documentation enforcement level (default: standard)
  • --type <typescript|javascript|python|rust>: Override language detection
  • --generator <typedoc|sphinx|mkdocs|rustdoc>: Override documentation generator detection

Enforcement Levels:

  • minimal: Syntax validation only (valid doc comments)
  • standard: Public API documentation required (recommended)
  • strict: All items documented, including private

Generator Auto-Detection:

Project TypeDefault Generator
TypeScript/JavaScriptTypeDoc
PythonMkDocs (simpler) or Sphinx
Rustrustdoc
Multi-language/OtherMkDocs

Execution

Execute this documentation standards configuration check:

Step 1: Detect project language

Identify language(s) from file structure:

IndicatorLanguage
package.json + tsconfig.jsonTypeScript
package.json (no tsconfig)JavaScript
pyproject.toml or *.py filesPython
Cargo.tomlRust

For multi-language projects, configure each detected language. Allow --type override to focus on one.

Step 2: Analyze current documentation state

For each detected language, check existing configuration:

TypeScript/JavaScript:

  • tsdoc.json exists (TypeScript)
  • Biome configured with organize imports
  • TypeDoc or API Extractor configured for documentation generation

Python:

  • pyproject.toml has [tool.ruff.lint.pydocstyle] section
  • Convention specified (google, numpy, pep257)
  • D rules enabled in ruff lint select

Rust:

  • Cargo.toml has [lints.rust] section
  • missing_docs lint configured
  • [lints.rustdoc] section for rustdoc-specific lints

Step 3: Generate compliance report

Print a formatted compliance report:

Documentation Standards Compliance Report
=========================================
Project: [name]
Languages: [detected languages]
Enforcement Level: [minimal|standard|strict]

Linting Standards:
  TypeScript/JavaScript:
    tsdoc.json              [PASS | MISSING | N/A]
    TypeDoc configured      [PASS | MISSING | OUTDATED]
    API docs generated      [PASS | DISABLED]

  Python:
    ruff pydocstyle        [PASS | MISSING]
    convention             [google | not set]
    D rules enabled        [PASS | DISABLED]

  Rust:
    missing_docs lint      [PASS | DISABLED]
    rustdoc lints          [PASS | PARTIAL]

Documentation Generator:
  Generator type         [typedoc|mkdocs|sphinx|rustdoc]  [DETECTED | SUGGESTED]
  Config file            [config path]                     [EXISTS | MISSING]
  Build script           [command]                         [EXISTS | MISSING]
  Output directory       [docs/|site/|target/doc/]         [EXISTS | NOT BUILT]

Overall: [X issues found]

Next Steps:
  - Run `[build command]` to generate documentation locally
  - Run `/configure:github-pages` to set up deployment

If --check-only, stop here.

Step 4: Configure documentation standards (if --fix or user confirms)

Apply configuration based on detected language. Use templates from REFERENCE.md:

TypeScript Configuration

  1. Create tsdoc.json with schema reference
  2. Install TypeDoc: npm install --save-dev typedoc
  3. Create typedoc.json with entry points and output directory

Python Configuration

  1. Update pyproject.toml with [tool.ruff.lint.pydocstyle] section
  2. Set convention to google (or numpy for scientific projects)
  3. Configure level-specific rules (minimal: D1 only, standard: D with convention, strict: all D rules)

Rust Configuration

  1. Update Cargo.toml with [lints.rust] section
  2. Set missing_docs = "warn" (standard) or "deny" (strict)
  3. Add [lints.rustdoc] section for broken link detection

Step 5: Configure documentation tests

Create tests to validate documentation compliance:

  1. TypeScript/JavaScript: Add docs:check script running typedoc --emit none
  2. Python: Add test file running ruff check --select D on source
  3. Rust: Add cargo doc --no-deps and cargo clippy -- -W missing_docs to CI

Use test templates from REFERENCE.md.

Step 6: Set up documentation generator

Auto-detect or configure the documentation site generator:

  1. Check for existing generator configs (use existing if found)
  2. If --generator provided, use specified generator
  3. Otherwise, match to detected project type
  4. Create config file and add build scripts

Use generator templates from REFERENCE.md.

Step 7: Add pre-commit integration

If .pre-commit-config.yaml exists, add documentation hooks for the detected language. Use hook templates from REFERENCE.md.

Step 8: Update standards tracking

Update .project-standards.yaml:

standards_version: "2025.1"
project_type: "[detected]"
last_configured: "[timestamp]"
components:
  docs: "2025.1"
  docs_level: "[minimal|standard|strict]"
  docs_languages: ["typescript", "python", "rust"]

For detailed configuration templates, see REFERENCE.md.

Output

Provide:

  1. Compliance report with per-language status
  2. List of changes made (if --fix) or proposed (if interactive)
  3. Instructions for running documentation tests
  4. Next steps for improving coverage

Agentic Optimizations

ContextCommand
Quick compliance check/configure:docs --check-only
Auto-fix all issues/configure:docs --fix
Check TSDoc validity`typedoc --emit none 2>&1
Check Python docstringsruff check --select D --output-format=github
Check Rust doc lints`cargo doc --no-deps 2>&1
Build docs (MkDocs)`mkdocs build --strict 2>&1

See Also

  • /configure:github-pages - Set up GitHub Pages deployment
  • /configure:all - Run all compliance checks
  • /configure:status - Quick compliance overview
  • /configure:pre-commit - Pre-commit hook configuration
  • biome-tooling skill for TypeScript/JavaScript
  • ruff-linting skill for Python
  • rust-development skill for Rust

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

37.47%
按下载量换算154

Claude

28.25%
按下载量换算116

Cursor

18.73%
按下载量换算77

Gemini CLI

10.16%
按下载量换算42

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/laurigates/claude-plugins --skill configure-docs 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

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

来源信息

继续浏览同类 Skills