AgentSkillsCN

doc-coauthoring

引导用户按照结构化的流程共同撰写文档。当用户希望编写文档、提案、技术规范、决策文档,或类似结构化内容时,可选用此技能。该流程能帮助用户高效传递上下文信息,通过反复迭代完善内容,并确保文档真正契合读者的需求。当用户提及“撰写文档”、“制作提案”、“起草规范”或其他类似的文档编写任务时,可触发此流程。

SKILL.md
--- frontmatter
version: 4.1.0-fractal
name: doc-coauthoring
description: Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision docs, or similar structured content. This workflow helps users efficiently transfer context, refine content through iteration, and verify the doc works for readers. Trigger when user mentions writing docs, creating proposals, drafting specs, or similar documentation tasks.

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.

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:

  1. Context Gathering: User provides all relevant context while Claude asks clarifying questions
  2. Refinement & Structure: Iteratively build each section through brainstorming and editing
  3. 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.

🧠 Knowledge Modules (Fractal Skills)

1. Initial Questions

2. Info Dumping

3. Step 1: Clarifying Questions

4. Step 2: Brainstorming

5. Step 3: Curation

6. Step 4: Gap Check

7. Step 5: Drafting

8. Step 6: Iterative Refinement

9. Quality Checking

10. Near Completion

11. Testing Approach

12. Step 1: Predict Reader Questions

13. Step 2: Test with Sub-Agent

14. Step 3: Run Additional Checks

15. Step 4: Report and Fix

16. Step 1: Predict Reader Questions

17. Step 2: Setup Testing

18. Step 3: Additional Checks

19. Step 4: Iterate Based on Results

20. Exit Condition (Both Approaches)