Write

From tw93/Waza · View interactive version

Write is an AI agent skill from the GitHub repository tw93/Waza. Rewrites and polishes Chinese or English prose, technical instructions, and product copy. Use when drafting, editing, localizing, or cutting AI tone. Not for code comments or commit messages.

How to use this skill

Skill file

Write: Cut the AI Taste

Prefix your first line with 🥷 inline, not as its own paragraph.

Strip AI patterns from prose and rewrite it to sound human. Do not improve vocabulary; remove the performance of improvement.

Outcome Contract

Durable Context Preflight

See references/durable-context.md for when durable context is in scope and the redaction gate that applies before any of it becomes a durable rule.

For /write: the supplied text and current release state override memory. Durable preferences can set brevity, tone, and social-post shape; they do not override the hard rule to edit in place, keep meaning intact, and avoid change lists unless the user explicitly asks or the input is the author's own finished draft.

Core Stance

This skill is a catalog of smells, not a checklist to run top to bottom. Use it to recognize AI taste, then make judgment calls. The reference files are catalogs; do not try to apply every rule to every text. Applying more rules is not doing a better job.

Pre-flight

  1. Locate the text. Read named files or discover posts in the supplied repository before asking the user to paste anything. For "latest N," freeze the dated article set and its language mirrors, then account for each as edited, unchanged with reason, or unavailable.
  2. Audience locked? If the intended audience is unclear and cannot be inferred from the text (blog reader vs RFC vs email), ask before editing. Junior engineer and senior architect prose should read completely different.
  3. Language detected from the text being edited, not the user's command:

Mode Picker

Default is a line-level rewrite of the supplied text. Take a mode only when its row matches, and load a mode file only when its row points at one.

| Ask | Mode |

|---|---|

| Release note, changelog entry, update-feed copy | load references/mode-release-notes.md |

| Maintainer reply on a public issue or PR | load references/mode-public-reply.md |

| Installation steps, operating instructions, error text, or tool descriptions to clarify; wording-only edits to agent instructions | load references/write-technical.md for those passages, alongside the language reference; prompt design and code behavior stay outside this mode |

| Long draft with several sections, tables, or images that needs structural work | load references/mode-long-form.md |

| Before/after versions of the same text (a diff, two drafts, another editor's polish pass) and "is the new one better?" | load references/mode-revision-review.md |

| EN/CN pair or mixed Chinese/English copy to check for drift | load references/write-zh-bilingual.md, which owns the judgment the Punctuation Gate does not check |

| Product, site, or app copy across locales ("本地化文案", "多语言文案", "localization copy", "i18n copy", runtime catalog, release feed copy) | load references/write-product-localization.md and follow its review procedure; add references/write-zh-bilingual.md when Chinese is a locale |

| Document, PDF, or white paper to review | Document Review |

| Paragraphs that read disconnected | Paragraph Coherence |

| Tweet, thread, or launch post | Tweet / Social Post |

Document Review Mode

Activate when: PDF, document, white paper, "review this document", "check this document", "审稿"

Review checklist:

Output format: follow the requested review or rewrite; mention privacy only when an actionable disclosure concern remains.

Paragraph Coherence Mode

Activate when: "连贯性", "段落连贯", "可读性", "coherence", "flow check", "段落顺不顺"

Check unsignalled topic shifts, openings that do not follow the previous close, and monotone sentence length across a paragraph. Each fix is the minimal one: one word, one reordered clause, or one bridging sentence. Review requests get a numbered list with paragraph locations; explicit rewrite or file-edit requests get the minimal authorized edits without asking again.

Tweet / Social Post Mode

Activate when: "推特", "twitter", "X推文", "tweet", "social post", "折叠长度", "长文推特", "发文"

Load references/write-zh-release-notes.md for the five announcement rules (community lead, highlights over completeness, UX framing, one stance, native rhythm) and the casual invitation close. For English posts or projects without that community voice, keep the same structure in the project's own voice.

Hard Rules

Punctuation Gate

Before returning any produced text (a rewrite, or generated release / reply / social copy), resolve the checker across install layouts and run it:

GATE=""
for candidate in \
  "<skill-base-dir>/scripts/check-punctuation.sh" \
  "<skill-base-dir>/skills/write/scripts/check-punctuation.sh"; do
  [ -f "$candidate" ] && GATE="$candidate" && break
done
[ -f "${GATE:-}" ] || { echo "punctuation gate not found under the installed skill base; reinstall Waza" >&2; exit 1; }
bash "$GATE" --lang <zh|en|ja|auto> <file>   # or pipe text via stdin

Replace <skill-base-dir> with the installed Write skill or Waza dispatcher directory. The first path covers direct/plugin installs; the second covers the inlined-root release ZIP.

It enforces character-level punctuation by locale and skips code, URLs, and link targets; the script header documents the rules, --fix, and --lang auto routing. Fix every finding while preserving meaning, and pass an explicit --lang for mixed-locale or predominantly-English text. Quote direction and other judgment calls stay with you and the reference files.

Gotchas

| What happened | Rule |

|---|---|

| User flagged one word as "not my voice"; only that instance was fixed | A flagged word marks a smell class, not a typo. Sweep the whole text for the same class (same register, same template shape) before returning |

| A copy-fix batch passed its checks but shipped new defects: a line now wider than its fixed-width slot, a boundary that lost its subject, a noun that reads two ways | Re-review the fix diff itself, starting with paragraphs that were rewritten or re-translated whole. Restored text carries its old defects too; flag them instead of silently re-editing the restoration |

Output

Follow the Outcome Contract. For batch edits, reconcile the original article set and mirrors before reporting completion. State missing source or verification without treating it as a pass.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.