documentation-automation

📁 practicalswan/agent-skills 📅 1 day ago
2
总安装量
1
周安装量
#75364
全站排名
安装命令
npx skills add https://github.com/practicalswan/agent-skills --skill documentation-automation

Agent 安装分布

amp 1
cline 1
opencode 1
cursor 1
kimi-cli 1
codex 1

Skill 文档

Documentation Automation

Skill Paths

  • Workspace skills: .github/skills/
  • Global skills: C:/Users/LOQ/.agents/skills/

Activation Conditions

Use this skill when:

  • Setting up automated documentation generation
  • Configuring JSDoc/TSDoc for JS/TS projects
  • Implementing documentation linting
  • Adding pre-commit doc validation
  • Integrating documentation generators

Documentation Generation Tools

See Automated Tools for:

  • JSDoc/TSDoc for JavaScript/TypeScript
  • Sphinx/pdoc for Python
  • Javadoc for Java
  • xmldoc for C#
  • godoc for Go
  • rustdoc for Rust

Documentation Linting

Validate documentation with:

  • Markdown linters: markdownlint, remark-lint
  • Link checkers: markdown-link-check, lychee
  • Spell checkers: cspell, aspell
  • Code example validators

Pre-Commit Hooks

Add pre-commit checks for:

  • Documentation build succeeds
  • No broken links
  • Code examples are valid
  • Changelog entry exists for changes
  • Markdown formatting is clean

Example Configuration

{
  "scripts": {
    "docs:build": "Build documentation",
    "docs:test": "Test code examples in docs",
    "docs:lint": "Lint documentation files",
    "docs:links": "Check for broken links",
    "docs:spell": "Spell check documentation",
    "docs:validate": "Run all documentation checks"
  }
}