doc-coauthoring
它能做什么
这项技能引导你和 AI 一步步共同撰写一份较长的文档。适合撰写提案、技术规格、决策文档或 RFC,供他人阅读的人。
适用场景
- ✓当你想撰写提案、技术规格、RFC 或决策文档时。
- ✓当你需要在 AI 帮助下起草产品需求或设计文档时。
- ✓当你想在分享前请一位新读者测试草稿的时候。
技能链接
https://github.com/Galaxy-Dawn/claude-scholar/blob/main/skills/doc-coauthoring/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请帮我共同撰写一份新计费系统的技术规格,先从背景问题开始。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会先询问背景信息,然后通过来回修改逐节撰写内容,最后请一位没有背景的新读者测试草稿,在他人看到之前找出漏洞。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Doc Co-Authoring Workflow
This skill provides a structured workflow for guiding users through collaborative document creation. Act as an active guide, walking users through three stages: Context Gathering, Refinement & Structure, and Reader Testing.
Runtime contract
Use references/RUNTIME-MATRIX.md to decide what is available in the current environment before offering connectors, artifacts, or reader-test subagents.
If no artifact-like surface is available, default to a normal markdown file in a user-specified path or an explicitly named working file. Do not assume artifacts are available.
When to Offer This Workflow
Trigger conditions:
- User mentions writing documentation: "write a doc", "draft a proposal", "create a spec", "write up"
- User mentions specific doc types: "PRD", "design doc", "decision doc", "RFC"
- User seems to be starting a substantial writing task
Initial offer: Offer the user a structured workflow for co-authoring the document. Explain the three stages:
- Context Gathering: User provides all relevant context while Claude asks clarifying questions
- Refinement & Structure: Iteratively build each section through brainstorming and editing
- Reader Testing: Test the doc with a fresh Claude (no context) to catch blind spots before others read it
Explain that this approach helps ensure the doc works well when others read it (including when they paste it into Claude). Ask if they want to try this workflow or prefer to work freeform.
If user declines, work freeform. If user accepts, proceed to Stage 1.
Stage 1: Context Gathering
Goal: Close the gap between what the user knows and what Claude knows, enabling smart guidance later.
Initial Questions
Start by asking the user for meta-context about the document:
- What type of document is this? (e.g., technical spec, decision doc, proposal)
- Who's the primary audience?
- What's the desired impact when someone reads this?
- Is there a template or specific format to follow?
- Any other constraints or context to know?
Inform them they can answer in shorthand or dump information however works best for them.
If user provides a template or mentions a doc type:
- Ask if they have a template document to share
- If they provide a link to a shared document, use the appropriate integration to fetch it
- If they provide a file, read it
If user mentions editing an existing shared document:
- Use the appropriate integration to read the current state
- Check for images without alt-text
- If images exist without alt-text, explain that when others use Claude to understand the doc, Claude won't be able to see them. Ask if they want alt-text generated. If so, request they paste each image into chat for descriptive alt-text generation.
Info Dumping
Once initial questions are answered, encourage the user to dump all the context they have. Request information such as:
- Background on the project/problem
- Related team discussions or shared documents
- Why alternative solutions aren't being used
- Organizational context (team dynamics, past incidents, politics)
- Timeline pressures or constraints
- Technical architecture or dependencies
- Stakeholder concerns
Advise them not to worry about organizing it - just get it all out. Offer multiple ways to provide context:
- Info dump stream-of-consciousness
- Point to team channels or threads to read
- Link to shared documents
If integrations are available (e.g., Slack, Teams, Google Drive, SharePoint, or other MCP servers), mention that these can be used to pull in context directly.
If no integrations are detected and in Claude.ai or Claude app: Suggest they can enable connectors in their Claude settings to allow pulling context from messaging apps and document storage directly.
Inform them clarifying questions will be asked once they've done their initial dump.
During context gathering:
If user mentions team channels or shared documents:
- If integrations available: Inform them the content will be read now, then use the appropriate integration
- If integrations not available: Explain lack of access. Suggest they enable connectors in Claude settings, or paste the relevant content directly.
If user mentions entities/projects that are unknown:
- Ask if connected tools should be searched to learn more
- Wait for user confirmation before searching
As user provides context, track what's being learned and what's still unclear
常见问题
三个阶段分别是什么?
收集背景、逐节完善结构,以及请一位没有背景的读者测试文档。
文档保存在哪里?
除非有可用的文档工具或连接器,否则会以普通 Markdown 文件的形式保存在你选择的路径下。
需要专门的文档工具吗?
不需要。如果没有其他工具可用,它可以使用普通的 Markdown 文件工作。
详情
作者的原始描述
This skill should be used when the user asks to co-author documentation, draft a proposal, write a technical spec, create a decision doc or RFC, or structure a substantial document through iterative collaboration and reader testing.
热度
- GitHub 星标
- 6.0k
- 排名
- #14485
- 许可证
- MIT
- 更新时间
- 2026/10/19
评论
- …
同一仓库的更多技能
agent-identifier
6.0k教你的智能体创建 Claude Code 智能体,正确编写其名称、触发描述、系统提示词和设置。
architecture-design
6.0k教你的智能体掌握机器学习项目代码的标准结构,在添加可注册组件时使用工厂和注册表模式。
bug-detective
6.0k帮你的智能体用清晰的方法找出并修复代码错误:先理解问题,收集证据,验证想法,再确认修复结果。
citation-verification
6.0k教你的智能体对照可信的学术来源检查论文中的每条引用,找出虚假或错误的参考文献。