跳到正文
Skillpedia
技术文档11k · #11646

documentation

它能做什么

这项技能为不同读者撰写清晰的技术文档。适合需要真正能用的 README、API 参考、操作手册或入门指南的开发人员和团队。

适用场景

  • ✓当项目需要一份 README,帮助新用户快速完成第一次成功使用时。
  • ✓当你需要一份操作手册,供他人遵循执行某项运维任务时。
  • ✓当新团队成员需要一份涵盖环境设置和关键系统的入门指南的时候。

技能链接

https://github.com/TencentCloud/Octop/blob/main/src/octop/infra/agents/experts/library/engineering/skills/documentation/SKILL.md

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

使用方法

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

可直接粘贴的消息

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

可以这样问 AI

“请为我的开源命令行工具撰写一份 README,包括快速入门和配置说明。”

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

工作原理

智能体会先确定读者和文档的用途,然后把最有用的信息放在前面。它会加入示例和命令,并通过链接指向其他文档,而不是重复内容。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Technical Documentation

Write clear, maintainable technical documentation for different audiences and purposes.

Document Types

README

  • What this is and why it exists
  • Quick start (< 5 minutes to first success)
  • Configuration and usage
  • Contributing guide

API Documentation

  • Endpoint reference with request/response examples
  • Authentication and error codes
  • Rate limits and pagination
  • SDK examples

Runbook

  • When to use this runbook
  • Prerequisites and access needed
  • Step-by-step procedure
  • Rollback steps
  • Escalation path

Architecture Doc

  • Context and goals
  • High-level design with diagrams
  • Key decisions and trade-offs
  • Data flow and integration points

Onboarding Guide

  • Environment setup
  • Key systems and how they connect
  • Common tasks with walkthroughs
  • Who to ask for what

Principles

  1. Write for the reader — Who is reading this and what do they need?
  2. Start with the most useful information — Don't bury the lede
  3. Show, don't tell — Code examples, commands, screenshots
  4. Keep it current — Outdated docs are worse than no docs
  5. Link, don't duplicate — Reference other docs instead of copying
常见问题

它涵盖哪些文档类型?

README 文件、API 文档、操作手册、架构文档和入门指南。

什么样的 README 才算好?

清楚说明项目是什么,提供约五分钟即可完成的快速入门,并附上贡献指南。

为什么建议使用链接而不是复制内容?

该技能建议链接到其他文档,而不是重复撰写,这样内容过时的可能性更小。

详情

作者的原始描述

Write and maintain technical documentation. Trigger with "write docs for", "document this", "create a README", "write a runbook", "onboarding guide", or when the user needs help with any form of technical writing — API docs, architecture docs, or operational runbooks.

repo: TencentCloud/Octop

热度

GitHub 星标
11k
排名
#11646
许可证
MIT
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能