doc-coauthoring
What it does
It breaks document writing into stages: gather the context, agree on an outline, then draft and test the result. It is for people who need a readable document for a team.
When to use it
- âWhen you need to turn messy notes into a clear proposal or design doc.
- âWhen you want to write a product requirements doc, RFC, or decision record that others can follow.
- âWhen you want a document checked for gaps that a new reader would run into.
Skill link
https://github.com/shareAI-lab/Kode-CLI/blob/main/packages/builtin-skills/skills/doc-coauthoring/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentâs skills folder.
Example of what to ask your AI
âHelp me turn my notes on the new onboarding idea into a proposal my team can read.â
5 new skills a week. 1 minute to read.
How it works
The agent asks a few focused questions, drafts an outline for you to approve, then writes the full document section by section. It then tests the draft by reading it as someone without your context.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Doc Co-Authoring
Turn partial context into a clear document by following a staged workflow. Keep the user in control of decisions, and optimize for a doc that works for readers who do not share the authorâs context.
Triggers
Use this workflow when the user asks to:
- write or refine documentation, proposals, RFCs, PRDs, decision docs, specs
- âsummarize our discussion into a docâ
- âmake this readable for othersâ / âshare with the teamâ
- create a template or standard for recurring documents
If the user explicitly wants freeform writing, keep the workflow lightweight (ask fewer questions; draft faster).
The Workflow (3 stages)
Stage 1 â Context Capture (close the gap)
Goal: collect the minimum context required to write a doc that is correct, scoped, and actionable.
Ask for:
- Doc type + goal: what is this document for, and what decision/action should it unlock?
- Audience: who will read it, and what do they already know?
- Constraints: deadlines, non-goals, dependencies, security/compliance, platform limits.
- Current state: what exists today? whatâs broken? whatâs missing?
- Options considered: at least 1â2 alternatives and why they may/ may not work.
- Success criteria: how we know it worked (metrics, user outcomes, acceptance tests).
- Open questions: unknowns that block writing certain sections.
Output of Stage 1:
- a short âcontext snapshotâ
- a list of open questions (ranked by importance)
- a proposed doc outline (1 screen)
Stage 2 â Outline-First Drafting (iterate by section)
Goal: draft a document in layers without losing coherence.
Rules:
- Outline before prose. Do not write full paragraphs until the outline is agreed.
- One section at a time. Draft â review â revise, then move on.
- Maintain a decision log (small bullet list) so changes are explicit.
- Keep unknowns visible: unresolved items stay in an âOpen Questions / Risksâ section, not hidden.
Recommended iteration loop per section:
- Write a 3â7 bullet âsection intentâ (what this section must answer).
- Draft the section (short, concrete).
- Ask the user for a quick pass: âWhatâs wrong / missing / too detailed?â
- Revise and update the decision log.
Stage 3 â Reader Testing (catch blind spots)
Goal: validate readability and completeness for a reader without the authorâs context.
Method:
- Prepare a clean-context review prompt: âYou are a reviewer with no prior context. Read this doc and identify: missing context, unclear terms, ambiguous decisions, hidden assumptions, and where youâd ask questions.â
- If sub-agents are available, run the review in a fresh agent session. Otherwise, run the review yourself by explicitly pretending you have no access to prior conversation.
Output of Stage 3:
- a short list of fixes (highest leverage first)
- revised doc with clarified assumptions, terms, and decisions
Default Section Templates
Load references/templates.md and pick the closest template:
- Decision record (ADR-lite)
- Product requirements (PRD-lite)
- Technical design / RFC
- Proposal / pitch
Quality Bar (what to optimize for)
The doc should make it easy for a reader to answer:
- What problem are we solving, for whom, and why now?
- What are we proposing, and what are we not doing?
- What options did we consider, and what tradeoffs drive the choice?
- What are the risks, unknowns, and mitigations?
- What are the next steps and owners?
FAQ
What does the agent ask first?
It asks what the document is for, who will read it, the constraints, and which options were considered.
Do I have to approve the outline?
Yes. The skill keeps you in charge of decisions and drafts the outline first.
Can it help with documents I write often?
Yes. The skill also covers creating a standard template for recurring documents.
Details
Original description by the author
A structured workflow for co-authoring high-signal docs (PRD, RFC, design docs, proposals, decision records). Use when the user needs to turn messy context into a readable artifact with clear goals, tradeoffs, and next steps. Emphasizes context capture, outline-first drafting, and context-free reader testing to catch blind spots.
repo: shareAI-lab/Kode-CLI
Popularity
- GitHub stars
- 5.2k
- Ranking position
- #15020
- License
- Apache-2.0
- Updated
- 11/2/2026
Comments
- âŠ
More skills from this repository
capabilities-manage
5.2kHelps your agent turn Kode CLI features such as language servers, the status line, and plugins on, off, or into working order from a plain request.
lsp-maintain
5.2kHelps your agent find out why code suggestions are missing in Kode and set up the plugin that provides the language server.
mcp-builder
5.2kGuides your agent in building an MCP server that gives an AI clear, well-named actions for an outside service, in TypeScript or Python.
permissions-debug
5.2kHelps your agent find out why Kode keeps blocking or prompting for a tool, and fix the permission settings in a safe, small way.
Similar skills
obsidian-vault-maintainer
394kHelps your agent keep an Obsidian-friendly memory vault tidy, with working wiki links, consistent properties, and safe generated sections.
wiki-maintainer
394kHelps your agent maintain an OpenClaw memory wiki with repeatable pages, safe managed blocks, and checks for contradictions or gaps.
obsidian
394kLets your agent read, search, create, and edit Obsidian notes, tasks, links, and properties using the official Obsidian command line.