跳到正文
Skillpedia
写作48k · #4485

documentation

它能做什么

这个工具可以帮你编写各种类型的软件项目文档,比如使用手册、代码说明和使用指南。它会梳理编写流程,确保内容清晰、完整。

适用场景

  • ✓需要为新项目编写文档时。
  • ✓需要描述 API 的工作方式时。
  • ✓想要解释代码内部运行原理时。

技能链接

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/documentation/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/documentation/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“为我的项目创建完整的文档,包括 README、API 指南和代码注释。”

每周 5 个新技能,1 分钟读完。

工作原理

这个工具会把任务拆分成若干步骤,比如规划结构、编写 API 文档、解释代码以及编写手册。每个具体任务都会调用其他更小的工具来完成。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Documentation Workflow Bundle

Overview

Comprehensive documentation workflow for generating API documentation, architecture documentation, README files, code comments, and technical content from codebases.

When to Use This Workflow

Use this workflow when:

  • Creating project documentation
  • Generating API documentation
  • Writing architecture docs
  • Documenting code
  • Creating user guides
  • Maintaining wikis

Scope

Select only the phases needed for the request; this bundle does not authorize every referenced skill or external publication. Verify each ID and local prerequisites before invocation. Preserve existing docs, distinguish proposed from accepted decisions, keep private data out of public examples, and run the project's actual documentation checks.

Workflow Phases

Phase 1: Documentation Planning

Skills to Invoke

  • docs-architect - Documentation architecture
  • documentation-templates - Documentation templates

Actions

  1. Identify documentation needs
  2. Choose documentation tools
  3. Plan documentation structure
  4. Define style guidelines
  5. Set up documentation site

Copy-Paste Prompts

Use @docs-architect to plan documentation structure
Use @documentation-templates to set up documentation

Phase 2: API Documentation

Skills to Invoke

  • api-documenter - API documentation
  • api-documentation-generator - Auto-generation
  • openapi-spec-generation - OpenAPI specs

Actions

  1. Extract API endpoints
  2. Generate OpenAPI specs
  3. Create API reference
  4. Add usage examples
  5. Set up auto-generation

Copy-Paste Prompts

Use @api-documenter to generate API documentation
Use @openapi-spec-generation to create OpenAPI specs

Phase 3: Architecture Documentation

Skills to Invoke

  • c4-architecture-c4-architecture - C4 architecture
  • c4-context - Context diagrams
  • c4-container - Container diagrams
  • c4-component - Component diagrams
  • c4-code - Code diagrams
  • mermaid-expert - Mermaid diagrams

Actions

  1. Create C4 diagrams
  2. Document architecture
  3. Generate sequence diagrams
  4. Document data flows
  5. Create deployment docs

Copy-Paste Prompts

Use @c4-architecture-c4-architecture to create C4 diagrams
Use @mermaid-expert to create architecture diagrams

Phase 4: Code Documentation

Skills to Invoke

  • code-documentation-code-explain - Code explanation
  • code-documentation-doc-generate - Doc generation
  • documentation-generation-doc-generate - Auto-generation

Actions

  1. Extract code comments
  2. Generate JSDoc/TSDoc
  3. Create type documentation
  4. Document functions
  5. Add usage examples

Copy-Paste Prompts

Use @code-documentation-code-explain to explain code
Use @code-documentation-doc-generate to generate docs

Phase 5: README and Getting Started

Skills to Invoke

  • readme - README generation
  • environment-setup-guide - Setup guides
  • tutorial-engineer - Tutorial creation

Actions

  1. Create README
  2. Write getting started guide
  3. Document installation
  4. Add usage examples
  5. Create troubleshooting guide

Copy-Paste Prompts

Use @readme to create project README
Use @tutorial-engineer to create tutorials

Phase 6: Wiki and Knowledge Base

Skills to Invoke

  • wiki-architect - Wiki architecture
  • wiki-page-writer - Wiki pages
  • wiki-onboarding - Onboarding docs
  • wiki-qa - Wiki Q&A
  • wiki-researcher - Wiki research
  • wiki-vitepress - VitePress wiki

Actions

  1. Design wiki structure
  2. Create wiki pages
  3. Write onboarding guides
  4. Document processes
  5. Set up wiki site

Copy-Paste Prompts

Use @wiki-architect to design wiki structure
Use @wiki-page-writer to create wiki pages
Use @wiki-onboarding to create onboarding docs

Phase 7: Changelog and Release Notes

Skills to Invoke

  • changelog-automation - Changelog generation
  • wiki-changelog - Changelog from git

Actions

  1. Extract commit history
  2. Categorize changes
  3. Generate changelog
  4. Create release notes
  5. Prepare updates; publish only to the explicitly authorized destination

Copy-Paste Prompts

Use @changelog-automation to generate changelog
Use @wiki-changelog to create release notes

Phase 8: Documentation Maintenance

Skills to Invoke

  • doc-coauthoring - Collaborative writing
  • reference-builder - Reference docs

Actions

…

常见问题

什么是“技能”?

技能就像 AI 用来完成特定任务的工具或小程序,比如生成文档或解释代码。

什么是“工作流套件”?

它是一组有条理的指令和工具,用来完成更大的任务,比如为一个项目创建全部文档。

使用这个工具需要会编程吗?

不需要。它的设计思路是,你不必了解编程的技术细节,也可以直接请求生成文档。

详情

作者的原始描述

Documentation generation workflow covering API docs, architecture docs, README files, code comments, and technical writing.

repo: sickn33/agentic-awesome-skills

热度

GitHub 星标
48k
排名
#4485
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能