/dyc:writefrom dyc
Rewrites and polishes prose in Chinese or English, removes AI-like wording, compares before/after drafts, proofreads README and CONTRIBUTING files, rewrites a getting-started section, and authors technical documentation with the writing rulebook. Use when users ask to rewrite, proofread README or CONTRIBUTING, compare draft versions, draft release notes or social copy, localize copy, write documentation, or revise coding standards. Not for commit messages or rulebook audits (use check).
Ships in dyc. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Strip AI patterns from prose and rewrite it to sound human. Do not improve vocabulary; remove the performance of improvement.
The skill is a catalog of smells, not a checklist: recognize AI taste, make judgment calls, preserve the author's voice.
check for auditing docs against the rulebook; route to learn for multi-source research before writing.核心立场见 references/write-zh.md(例子库,不是检查清单;过度改和改不到位一样糟)。
references/write-zh.md plus references/write-zh-ai-detection.md, references/write-zh-structure.md and references/write-zh-voice.mdreferences/write-zh-bilingual.md and the language references for both versionsreferences/write-en.mdDefault 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. The mode sections below own the judgment half only; trigger keywords live in this table.
| 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 needing 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 |
| Mixed Chinese/English, EN/CN pair drift, "bilingual consistency", "Chinese copywriting" | Bilingual Review |
| Product, site, or app copy across locales; "本地化文案", "多语言文案", "i18n copy" | Product Localization Review |
| Document, PDF, or white paper to review ("审稿", "check this document") | route to the check skill (it owns document audits) |
| Write or revise technical documentation (tutorial, how-to, reference, conceptual, troubleshooting) | load references/writing-guidelines.md |
| Repo-level docs (README, changelogs, inline comments, API docs, ADRs) | load references/documentation.md |
| Coding standard, spec clauses, team convention (规约/规范/标准) | load references/writing-standards.md |
| Paragraphs that read disconnected ("连贯性", "段落连贯", "coherence", "flow check") | Paragraph Coherence |
| Tweet, thread, or launch post ("推特", "X推文", "social post", "发文") | Tweet / Social Post |
writing-guidelines.md covers the prose of a single document; documentation.md covers repo-level structure and conventions (README shape, changelog curation, comment discipline, agent-facing docs).
When the user names memory, a prior decision, or a memory path, apply the project's durable-context rules when the project defines them: current state wins over memory, memory alone never authorizes state changes, and the redaction gate applies before any of it becomes a durable rule. For /write: the supplied text and current release state override memory.
references/mode-long-form.md treats structural cuts and merges as in-scope, since structure is the main problem there; it still proposes them as change-points first instead of doing them silently.)Before returning any produced text (a rewrite, or generated release / reply / social copy), run the checker from the installed skill base directory:
GATE="<skill-base-dir>/scripts/check-punctuation.sh"
[ -f "$GATE" ] || { echo "punctuation gate not found under the installed skill base; reinstall the write skill" >&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's base directory (or plugins/dyc/skills/write in this repository's source checkout). The .sh is the entry wrapper; the rule engine lives in scripts/check_punctuation.py.
It enforces character-level punctuation by locale (half/full-width marks, CJK/Latin spacing, em/en dashes) and skips code, inline code, URLs, and markdown link targets, so it never fires on code; the script header documents the exact rule set. Fix every finding while preserving meaning; --fix rewrites only the zero-ambiguity zh cases to stdout. --lang auto classifies the whole input by fixed priority: any kana routes to ja, else any CJK to zh, else any Hangul to ko (reserved, skipped), else en, so a mostly-Chinese text that merely quotes a Korean glyph still routes to zh; pass an explicit --lang for mixed-locale or predominantly-English text. The checker owns character-level punctuation only; quote direction and other judgment calls stay with you and the reference files.
Load references/write-zh-bilingual.md. Character-level spacing and punctuation belong to the Punctuation Gate script; this mode owns the judgment half: terminology consistency across all instances, unexplained English left untranslated in Chinese documents, and EN/CN pairs that drift in meaning (mark translation loss instead of silently rewriting one side).
Load references/write-product-localization.md. If Chinese is one of the locales, also load references/write-zh-bilingual.md.
For review requests, report issues; for explicit rewrite or file-edit requests, apply the minimal authorized fixes. Check each paragraph for:
Output: for review, a numbered list with paragraph locations and minimal fix suggestions; for rewriting, the revised text or scoped file changes. Do not ask again to apply already-authorized edits.
Apply the 推文五规则 in references/write-zh-release-notes.md (community lead, 2-4 highlights, UX framing, one stance, native rhythm) plus its closing convention (end with an invitation, not a CTA) for product-engineer projects when the project context or prior artifact shows this style. For other engineering projects or English posts, apply the same structure adapted to the project's voice.
| What happened | Rule |
|---|---|
| Used formal register for a blog draft | Match the target audience's register. Blog is conversational, not academic. |
| Applied Chinese/English spacing rules to a pure-English text | Bilingual spacing rules (半角/全角) only apply when the text mixes Chinese and English |
| A copy-fix batch passed its checks but shipped new defects: a line 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 rewritten or re-translated whole. Restored text carries its old defects too; flag them instead of silently re-editing the restoration |
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.
evals/cases/de-ai-chinese-prose.yaml (opens in a new tab)evals/cases/release-notes.yaml (opens in a new tab)evals/cases/revision-review-copy-cut.yaml (opens in a new tab)evals/cases/standards-tone.yaml (opens in a new tab)evals/eval.yaml (opens in a new tab)references/documentation.md (opens in a new tab)references/mode-long-form.md (opens in a new tab)references/mode-public-reply.md (opens in a new tab)references/mode-release-notes.md (opens in a new tab)references/mode-revision-review.md (opens in a new tab)references/write-en.md (opens in a new tab)references/write-product-localization.md (opens in a new tab)references/write-technical.md (opens in a new tab)references/write-zh-ai-detection.md (opens in a new tab)references/write-zh-bilingual.md (opens in a new tab)references/write-zh-release-notes.md (opens in a new tab)references/write-zh-structure.md (opens in a new tab)references/write-zh-voice.md (opens in a new tab)references/write-zh.md (opens in a new tab)references/writing-guidelines.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
帮我写, 改稿, 润色, 去AI味, 写一段, 技术说明改写, 指令消歧, clarify instructions, 本地化文案, 多语言文案, i18n copy, localization copy, 推特, twitter, X推文, tweet, social post, 连贯性, 段落连贯, 对比两版, 哪版更好, 两个版本, before/after, revision review, draft, proofread, sound natural, polish, rewrite, write docs, 技术文档, 写作规范, 规约, 编码规范, 规范文件, coding standard, documentation style, 文档写作
Other plugins' skills for the same job
npx claudepluginhub mymx2/m2-plugins --plugin dyc12 skills in this plugin
/checkReviews code diffs, PRs, release readiness, and project or document audits, then reports evidence-grounded findings. Use when users ask for code review, issue or PR triage, release gates, project scorecards, security/performance/coverage review, or doc proofreading. Not for debugging root causes (hunt) or drafting prose (write)./chromeDrives a real Chrome browser through the chrome-devtools-mcp MCP server for page automation, network and console analysis, emulation, and extension testing. Use when a task needs operating a live browser: navigating, snapshotting the accessibility tree, interacting by element uid, capture a screenshot or full-page capture, console errors, traces, or heap snapshots, or fixing the MCP server setup. Not for diagnosing application logic root causes (use hunt) or judging visual quality (use ui)./forge插件与技能的全生命周期管理:基于 Agent Plugins Spec 创建标准插件、通过 extensions + init 模式适配多厂商(Claude Code / Qoder / Codex / CodeBuddy),以及发现、安装、编写、校验技能。Use when creating a plugin, scaffolding a multi-vendor plugin, writing plugin.json, generating init.ts, finding/installing skills, or authoring/validating SKILL.md. Not for runtime debugging of deployed skills (route to hunt) or reviewing plugin code quality (route to check)./healthRuns a budget-aware agent-assisted engineering health audit for instruction/config drift, hooks/MCP, verifier surfaces, and AI maintainability. Use when users ask to audit Claude, Codex, Pi, agent instructions, MCP or hooks, verifier coverage, or AI-maintainability drift. Not for debugging application code or reviewing PRs./huntFinds the actual root cause of a failing test, error, crash, regression, a page rendered blank or wrong, or a request that throws, before applying fixes, proven against a known-good reference (prior version, release artifact, or "good" screenshot). Use when users report errors, crashes, broken behavior, blank rendering, failing tests, or a used-to-work state that now fails. Not for code review (route to check) or a first-impression visual complaint with no working baseline (route to ui)./learnRuns a six-phase research workflow that turns unfamiliar domains, real docs, source bundles, or collected material into a publish-ready comparison or reference. Use when users ask for multi-source research: deep-dives, comparing tradeoffs, compiling sources, synthesizing unfamiliar material, or turning a source bundle into a coherent reference. Not for quick lookups or single-URL fetches (route to read).