# Doc Coauthoring Workflow for Specs

> Guides you step-by-step through writing a clear, polished doc or spec.

- **What it does:** Walks you step by step through writing a doc, proposal, or spec with Claude: gathering context, building it section by section, then stress-testing it on a fresh read so it actually makes sense to others.
- **Agents:** Claude Code and Codex (through orbit-connect), Claude and ChatGPT (through the Orbit connector)
- **Install:** `npx -y --loglevel=error orbit-connect@0.3.33 install skl_e9c195c8a56e896e96b0247b`
- **Creator:** Mariah Brunner (@itsmariahbrunner) on Instagram
- **Posted by:** 2 creators: [@dylan davis](https://www.youtube.com/watch?v=u2xcbJNhZIY), [@mark kashef](https://www.youtube.com/watch?v=F6JTJ9GeSOY)
- **Reach:** Creators' posts about it have 98,179 views
- **Safety:** Checked by Orbit: nothing risky found in what it runs or reads
- **Installs:** 1
- **Last updated:** 2026-11-14
- **Page:** https://orbitinbox.app/s/doc-coauthoring-workflow-for-specs

## Skill

---
name: doc-coauthoring
description: Use when writing docs, proposals, specs, PRDs, RFCs or decision docs: guides context gathering, section-by-section drafting, and fresh-reader testing.
---

# Doc Co-Authoring Workflow

## What this does
A structured three-stage workflow for writing a substantial document with the user: Context Gathering, Refinement & Structure, Reader Testing.

## When to use
The user wants to write documentation, a proposal, technical spec, PRD, design doc, decision doc, RFC, or similar. Offer the workflow and explain the three stages; ask if they want it or prefer freeform. If they decline, work freeform.

## How to run it

### Stage 1: Context Gathering
Goal: close the gap between what the user knows and what you know.
1. Ask meta-questions: doc type, primary audience, desired impact when read, template or format to follow, other constraints. Shorthand answers are fine.
2. Invite a messy info dump: background, related discussions or docs, why alternatives aren't used, org context, timeline pressure, architecture or dependencies, stakeholder concerns. If integrations (Slack, Drive, etc.) are available, offer to read from them; if not, ask the user to paste content. Before searching for unknown entities, ask first.
3. If editing an existing doc, read its current state and check for images without alt-text; offer to generate alt-text.
4. Then ask 5-10 numbered clarifying questions about gaps; allow shorthand answers ("1: yes, 2: see #channel").
5. Exit when your questions show understanding (edge cases and trade-offs, not basics). Ask if there is more context before drafting.

### Stage 2: Refinement & Structure
1. Agree on 3-5 sections suited to the doc type if the structure is unknown. Start with the section with the most unknowns (core decision/proposal or technical approach); summary last.
2. Create a file in the working directory (e.g. `decision-doc.md`) with all headers and "[To be written]" placeholders.
3. For each section:
   - Ask 5-10 clarifying questions about what to include.
   - Brainstorm 5-20 numbered options (context that may be forgotten, unmentioned angles); offer more.
   - Curation: ask what to keep, remove or combine, with brief reasons (e.g. "Keep 1,4,7", "Remove 3 (duplicates 1)"). Accept freeform feedback.
   - Gap check: anything important missing?
   - Draft by replacing the placeholder with the content.
   - Refine with surgical edits only, never reprinting the whole doc. Tell the user to say what to change rather than editing directly, so you learn their style. If they edit the file themselves, note those changes as preferences.
4. After 3 consecutive iterations with no substantial change, ask if anything can be removed.
5. At 80%+ complete, re-read the whole doc for flow, redundancy, contradictions, generic filler, and whether every sentence carries weight. Review once more when all sections are done.

### Stage 3: Reader Testing
Goal: verify the doc works for a reader with no context.
1. Predict 5-10 questions readers would realistically ask.
2. If sub-agents are available, give a fresh sub-agent only the document and each question; summarize what it got right and wrong. Also have it check for ambiguity, false assumptions, and contradictions.
3. If no sub-agents, give the user steps: open a fresh chat, paste the doc, ask the questions plus "What is ambiguous or unclear?", "What knowledge does this assume?", "Any contradictions?".
4. Report the issues, loop back to refine the problem sections, and repeat until the fresh reader answers consistently.

## Output
A finished document file, tested against a fresh reader, plus a short list of issues found and fixed.

Credit: Based on public content by anthropics, packaged by Orbit.

Shared by Mariah Brunner, credited on Orbit.