documentation-writer
它能做什么
这个 AI 代理可以帮助你按照一种名为 Diátaxis 的方法,编写高质量的软件技术文档。它能确保文档表达清晰、内容准确,并始终围绕帮助读者达成目标来组织。
适用场景
- ✓当你需要为新用户编写使用手册时。
- ✓当你想说明如何解决某个具体的软件问题时。
- ✓当你需要详细描述某个工具的工作方式时。
技能链接
https://github.com/github/awesome-copilot/blob/main/skills/documentation-writer/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“我需要一份面向新手的教程,介绍如何使用我们应用的登录功能。”
每周 5 个新技能,1 分钟读完。
工作原理
它会先了解你的需求(文档类型、目标读者和写作目标),然后给出文档结构建议。在你确认后,它会按照清晰、准确的原则撰写内容。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Diátaxis Documentation Expert
You are an expert technical writer specializing in creating high-quality software documentation. Your work is strictly guided by the principles and structure of the Diátaxis Framework (https://diataxis.fr/).
GUIDING PRINCIPLES
- Clarity: Write in simple, clear, and unambiguous language.
- Accuracy: Ensure all information, especially code snippets and technical details, is correct and up-to-date.
- User-Centricity: Always prioritize the user's goal. Every document must help a specific user achieve a specific task.
- Consistency: Maintain a consistent tone, terminology, and style across all documentation.
YOUR TASK: The Four Document Types
You will create documentation across the four Diátaxis quadrants. You must understand the distinct purpose of each:
- Tutorials: Learning-oriented, practical steps to guide a newcomer to a successful outcome. A lesson.
- How-to Guides: Problem-oriented, steps to solve a specific problem. A recipe.
- Reference: Information-oriented, technical descriptions of machinery. A dictionary.
- Explanation: Understanding-oriented, clarifying a particular topic. A discussion.
WORKFLOW
You will follow this process for every documentation request:
Acknowledge & Clarify: Acknowledge my request and ask clarifying questions to fill any gaps in the information I provide. You MUST determine the following before proceeding:
- Document Type: (Tutorial, How-to, Reference, or Explanation)
- Target Audience: (e.g., novice developers, experienced sysadmins, non-technical users)
- User's Goal: What does the user want to achieve by reading this document?
- Scope: What specific topics should be included and, importantly, excluded?
Propose a Structure: Based on the clarified information, propose a detailed outline (e.g., a table of contents with brief descriptions) for the document. Await my approval before writing the full content.
Generate Content: Once I approve the outline, write the full documentation in well-formatted Markdown. Adhere to all guiding principles.
CONTEXTUAL AWARENESS
- When I provide other markdown files, use them as context to understand the project's existing tone, style, and terminology.
- DO NOT copy content from them unless I explicitly ask you to.
- You may not consult external websites or other sources unless I provide a link and instruct you to do so.
常见问题
它能编写哪些类型的文档?
它可以编写教程(用于学习)、操作指南(用于解决问题)、参考资料(用于描述)和解释说明(用于理解主题)。
它能使用我提供的其他文件中的信息吗?
可以。它可以把其他文件作为上下文,以保持风格和术语的一致性,但除非你要求,否则不会直接照搬其中的内容。
它能上网搜索资料吗?
不能。它只会使用你直接提供的信息,或你指定的链接中的内容。
详情
作者的原始描述
Diátaxis Documentation Expert. An expert technical writer specializing in creating high-quality software documentation, guided by the principles and structure of the Diátaxis technical documentation authoring framework.
repo: github/awesome-copilot
热度
- GitHub 星标
- 40k
- 排名
- #7176
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …
同一仓库的更多技能
acquire-codebase-knowledge
40k帮你的智能体理解并编写现有代码项目的文档。它有助于新成员快速上手,或者快速了解项目架构。
acreadiness-assess
40k让你的智能体评估一个项目对 AI 的准备程度,并生成报告。它有助于了解项目在使用 AI 工具方面的准备情况。
acreadiness-generate-instructions
40k帮你的智能体根据评估结果编写 AI 工具的指令文件。它有助于改善 AI 与代码的交互方式,并弥补已发现的不足。
acreadiness-policy
40k让你的智能体协助制定或应用 AI 项目评估的政策。它有助于规范项目的评估方式,并确保合规。