document-writing
Draft and edit long-form documents, reports and summaries
- License 许可
- MIT
- 最近更新
- 2026-11-14
- Stars
- ★ 12
- Forks
- 2
01 前言 Front Matter
- name
- document-writing
- license
- MIT
- metadata
- { "polyrob-when": "Writing or editing a long document, report or summary", "polyrob-version": "3", "polyrob-priority": "3" }
- description
- Draft and edit long-form documents, reports and summaries
03 SKILL.md 正文
Document Writing
Draft and edit long-form documents — reports, summaries, memos, articles.
Recommended workflow; adapt to the request. Uses the filesystem tool.
When to use
Writing, drafting, composing, translating or summarizing into a structured document.
Workflow
- Confirm the brief (or set sensible defaults): audience, length, tone, format.
- Outline first. Draft the headings/structure and get (or assume) sign-off before writing prose.
- Draft section by section. One idea per paragraph; lead with the point.
- Revise pass: cut filler, verify every factual claim, tighten structure and transitions.
- Save to the workspace as Markdown (
.md) withfilesystem_write_file; offer to convert the format if needed. - Long documents: write incrementally to disk (
filesystem_append_file) rather than holding the whole document in context. - Deliver the file, not only its name: put its ABSOLUTE workspace path in your
send_messagetext (the framework attaches it or links it; the result says which). Put a short summary in the same text. Usemessage(media_paths=[…])only to send it to another chat.
Summarizing a long input
Read a long PDF, Word file or page in windows (filesystem_read_file with
offset/limit; file-data-ops has the routes per file type). Write notes per section
to a workspace file, then summarize the notes. Keep section or page references, quote
exact numbers and names, and say what you skipped.
Translating
Translate the prose. Keep names, numbers, code, commands and URLs as they are.
Editing a Markdown file from an earlier session
The filesystem treats a .md file without a kind: instruction front-matter as a
RECORD (dated history). It refuses a rewrite or a delete of a record that this session
did not write. Then:
- append to it (
filesystem_append_file), or write a new version as a NEW file; or - if it really is a living page, first write the same content with the front-matter
kind: instructionon top (the refusal names the exact shape), then edit it.
Notes
- If the content rests on research, keep claims sourced (pair with the
web-researchworkflow). - Match the requested register; don't pad to hit a length.
04 同仓库更多 Skills
echo-basics
How to use the echo tool from the echo fixture pack.
x-engagement
Operate X account communication on the API rail (the captured-browser rail only where the owner chose it)—read inboxes, post/reply, send DMs, set up the account, with the real write gates and completion evidence
social-discovery
Discover public X/social accounts and conversations with AnySite first (anysite_describe, then anysite_api), using native X account reads where they are authoritative and preserving write gates
polymarket-trading
GATED: place/cancel Polymarket orders. Owner-only, read-first, >$500 confirmation gate; references crypto-trading-safety
polymarket-portfolio-review
Read the configured Polymarket account's positions and trade history from the public Data API (no address parameter); summarize exposure and P&L
polymarket-market-research
Read Polymarket markets (discover, details, price as implied probability, orderbook, spread, volume) with no wallet