Input one or more sample articles, extractwriting style profile(structured description), then rewrite any target article in that style.
When to Use
- The user provides sample articles and wants to analyze/extract their writing style
- The user wants to rewrite their own content in the style of someone (a writer, blogger, brand)
- The user says "imitate XX's style," "rewrite in the style of this article"
- The user wants to unify the writing style of a team/brand
Workflow (MANDATORY)
Execute in order; do not skip steps.
Step 1: Collect samples & target
Use AskUserQuestion to confirm:
问题:
1. 样本文章是否已在消息中提供?(若无,提示用户粘贴)
2. 要改写的目标文章是什么?(若无,只做文风分析输出画像)
3. 改写时是否保留原文结构,还是可以自由重组?
If the user has already provided the sample article + target article when invoking, skip the questions and execute directly.
Step 2: Extract the writing style profile
Perform an in-depth analysis of the sample articles and output a structuredwriting style profile (Style Profile)。
The profile must cover the following eight dimensions:
1. Sentence Rhythm
- Average sentence length (short sentences <15 characters / medium sentences 15-30 characters / long sentences >30 characters)
- Alternating pattern of short and long sentences
- Whether pauses such as ellipses, dashes, and exclamation marks are commonly used
2. Paragraph Structure
- Average number of sentences per paragraph
- Common pattern for opening sentences (rhetorical question? narration? punchline?)
- Common pattern for closing sentences (summary? suspense? call to action?)
- Whether there is a habit of "one-sentence paragraphs" (a single sentence forming a paragraph)
3. Vocabulary Palette
- Word choice style (colloquial / formal / academic / mixed)
- High-frequency vocabulary types (verb density, adjective style)
- Whether specialized terminology, mixed English, and numerical quantification are used
- Types of vocabulary avoided
4. Narrative Voice
- Person (first person "I" / second person "you" / third-person observer / mixed)
- Sense of distance from the reader (intimate / professional / authoritative / equal)
- Whether the reader is addressed directly
5. Emotional Register
- Overall emotional tone (calm / enthusiastic / restrained / radical / humorous)
- Whether there is an emotional arc (calm at the beginning → passionate at the end, etc.)
- How the reader's emotions are mobilized
6. Argumentation Style
- How arguments are presented (conclusion first, then evidence / buildup first, then reveal / problem-oriented)
- Whether cases, data, and analogies are used extensively
- Habits in using transition words and progressive words
7. Rhetorical Devices
- Commonly used rhetorical devices (parallelism, antithesis, rhetorical questions, metaphor, repetition)
- Whether there are signature opening/closing sentence patterns
8. Style DNA
- Define this writing style in one sentence (e.g., "a restrained, rational late-night monologue style")
- Which known author/media it most resembles (reference frame)
- Taboo: what would absolutely never appear in this writing style
Output format:
## 文风画像:[样本标题/作者]
**文风基因**:[一句话定义]
**参照系**:[最接近的已知风格]
### 句式节奏
[具体描述 + 典型例句摘录]
### 段落结构
[具体描述]
### 词汇偏好
[具体描述 + 高频词示例]
### 叙事视角
[具体描述]
### 情感温度
[具体描述]
### 论证逻辑
[具体描述]
### 修辞手法
[具体描述 + 典型例句]
### 禁忌清单
- 不用 [具体词汇/句式]
- 不做 [具体行为]
After outputting the profilesave it as a file by default(see Step 4), don't just stop at the conversation.
Step 3: Rewrite the target article
Based on the style profile from Step 2, rewrite the target article.
Rewriting principles:
- Preserve semantics: the core information, arguments, and facts of the original text must be fully preserved
- Replace the shell: sentence patterns, vocabulary, rhythm, paragraph structure, and rhetoric are all replaced with the sample style
- Structural freedom: decide whether to reorganize paragraphs based on the user's choice in Step 1
- Observe taboos: strictly follow the taboo list in the profile
Output after rewriting:
## 改写结果
[改写后全文]
---
## 关键文风调整说明(3-5条)
- 原文 [XXX句式] → 改写为 [YYY句式],因为样本文风偏好...
- ...
Step 4: Archive (executed by default, without asking)
Immediately after completing Step 2, by default write the style profile to a file, without seeking the user's consent. The style profile is a reusable asset, and archiving is the default behavior rather than an option.
Write path:
./output/style-profiles/[作者或标签]-style-profile-[YYYY-MM-DD].md
- Use the
Writetool to create the file directly (create the directory as well if it does not exist). - File content = the complete profile from Step 2 (including frontmatter noting the sample source and date).
- After archiving, inform the user of the saved path in one line at the end of the reply.
- Skip this step only when the user **explicitly says "do not archive / only view in the conversation"**.
Multi-sample handling
If the user provides multiple samples:
- Analyze each one separately, and identifycommon features(those that appear in all samples)
- Recordindividual features(those that appear only in some samples, marked as "occasional")
- The final profile centers on common features, with occasional features listed as "optional"
Notes
- The style profile is descriptive, not judgmental—do not say "good" or "bad"
- If the sample article is copyright-sensitive, do not directly quote long passages; extract only typical example sentences of <20 characters for illustration
- When rewriting a long text (>3000 characters), prioritize rewriting the first 1/3 as a sample for the user to confirm, then continue