Index of every page on this site: llms.txt
All skills
mia-cx avatar

/doc-coauthoring

@7acdf71
by mia.cxmia-cx/skills4 stars
Run it yourself

Use when the user wants to write or co-author a doc — a proposal, technical spec, decision doc, or RFC.

Use this Skill: https://skilld.dev/gh/mia-cx/skills/doc-coauthoring

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈31 tokens for metadata: the name and description. ≈899 when used: this file.

Description uses 1.5% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈121 characters, or 1.5%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Doc Co-Authoring

Guide the user through three stages: context gathering, section-by-section refinement, reader testing. Name the stages up front and ask if they want the workflow; work freeform if they decline. Invoke the talk-normal skill before drafting anything — it governs the doc's prose and tone, not just chat.

Stage 1: Context Gathering

Goal: close the gap between what the user knows and what you know.

Ask for meta-context first: doc type, audience, desired impact on the reader, template or required format, other constraints. Then have them dump everything, unorganized — background, prior discussions, rejected alternatives, org context and politics, timelines, architecture, stakeholder concerns. They can answer in shorthand, paste content, or point at channels and docs to read (fetch via available integrations; ask before searching for entities they haven't named).

If editing an existing shared doc, flag images without alt-text — readers who paste the doc into an AI tool lose them — and offer to generate alt-text.

When the dump slows, ask 5–10 numbered clarifying questions; shorthand answers are fine ("1: yes, 2: see #channel"). Address missing context as it surfaces rather than letting gaps accumulate.

Exit when your questions are about edge cases and trade-offs, not basics. Ask whether to move to drafting.

Stage 2: Refinement & Structure

Agree on the section list (suggest 3–5 sections fitting the doc type if the user doesn't know), then create the doc as a markdown file with placeholder sections. Start with the section holding the most unknowns — the core proposal for decision docs, the technical approach for specs; summaries last.

Per section:

  1. Clarify — 5–10 questions on what belongs here.
  2. Brainstorm — 5–20 numbered candidate points, in chat, never in the doc; offer to generate more.
  3. Curate — the user keeps/removes/combines by number, with brief justifications ("remove 6 — audience knows this"); freeform feedback works too — extract and apply it. Their justifications teach you priorities for later sections.
  4. Gap check — anything important missing from what survived?
  5. Draft — replace the section's placeholder with surgical edits; never reprint the whole doc. On the first section, ask the user to request changes instead of editing directly so you learn their style; if they edit directly anyway, read their diff as style signal.
  6. Refine — iterate until they're satisfied. After 3 iterations with no substantial change, ask what can be removed without losing information.

When 80%+ of sections are done, re-read the entire doc for flow, contradictions, redundancy, and filler — every sentence carries weight.

Stage 3: Reader Testing

Goal: verify the doc works for readers who lack the authors' context.

  1. Predict 5–10 questions real readers would bring to the doc.
  2. Fresh-context test: give a subagent only the doc text and one question each; also probe what's ambiguous, what knowledge the doc assumes, and whether it self-contradicts. Without subagents, hand the user the questions to run in a fresh conversation themselves.
  3. Loop back to Stage 2 for the sections Reader Claude got wrong.

Exit when a fresh reader answers every question correctly and surfaces no new gaps.

Wrap-up

The user does the final read-through themselves — facts, links, and intended impact are their responsibility, and their name is on it. Suggest appendices for depth the main doc shouldn't carry, and updating the doc as real-reader feedback arrives.

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 warning3mo3 checks · Risk SAFE
  • Gen Agent Trust Hub3mo

    This skill provides a structured workflow for co-authoring documents such as technical specs and RFCs. It uses a three-stage process involving context gathering, iterative section drafting, and reader testing via subagents. No malicious code, exfiltration logic, or obfuscation was detected.

  • Socket3mo

    No alerts

  • Snyk3mo

    Risk: MEDIUM · 1 issue

Signed by skilld at 7acdf71. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 3 days ago.

Activeupdated 3 months ago

README badge

README badge for mia-cx/skills/doc-coauthoring