with one click
yuque-personal-style-extract
// Analyze the writing style of Yuque documents and extract style characteristics including structure, tone, vocabulary, and formatting patterns. For personal/individual use — analyzes your own documents.
// Analyze the writing style of Yuque documents and extract style characteristics including structure, tone, vocabulary, and formatting patterns. For personal/individual use — analyzes your own documents.
Quickly capture ideas, thoughts, and fleeting notes to your personal Yuque knowledge base. For personal/individual use — saves to your own repos.
Discover connections between documents, build knowledge networks, and establish bidirectional links across your personal Yuque knowledge base. For personal/individual use — operates on your own docs.
Refine and restructure existing notes into well-organized, deduplicated, and enriched documents in your personal Yuque knowledge base. For personal/individual use — reads and writes your own docs.
Quickly distill Yuque documents into structured reading digests with key takeaways, summaries, and reading notes. For personal/individual use — reads from your own knowledge bases.
Generate intelligent summaries for Yuque knowledge bases or multiple documents, providing a quick overview of content landscape and key insights. For personal/individual use — summarizes your own knowledge bases.
Detect stale and potentially outdated documents in your Yuque knowledge bases by analyzing update timestamps and content freshness signals. For personal/individual use — scans your own repos.
| name | yuque-personal-style-extract |
| description | Analyze the writing style of Yuque documents and extract style characteristics including structure, tone, vocabulary, and formatting patterns. For personal/individual use — analyzes your own documents. |
| license | Apache-2.0 |
| compatibility | Requires yuque-mcp server connected to a Yuque account with personal Token |
| metadata | {"author":"chen201724","version":"2.0"} |
Analyze one or more Yuque documents to extract writing style characteristics, helping users learn from excellent documents or maintain consistent writing style.
All tools are from the yuque-mcp server:
yuque_search — Search documents by keyword to find target documentsyuque_get_doc — Read full document content for style analysisyuque_list_repos — List personal knowledge bases to browse documentsThe user may provide:
If a specific document is given:
Tool: yuque_get_doc
Parameters:
repo_id: "<namespace>"
doc_id: "<slug>"
If the user gives keywords, search first:
Tool: yuque_search
Parameters:
query: "<keywords>"
type: "doc"
For overall style analysis, read 3-5 recent documents from the user's repos.
Examine the document(s) across these dimensions:
| Dimension | What to Look For |
|---|---|
| 📐 结构 (Structure) | Heading hierarchy, section organization, use of lists vs paragraphs |
| 🎯 语气 (Tone) | Formal/informal, technical/conversational, authoritative/collaborative |
| 📝 用词 (Vocabulary) | Technical depth, jargon usage, Chinese/English mixing patterns |
| 📏 篇幅 (Length) | Average section length, paragraph density, overall document length |
| 🎨 格式 (Formatting) | Use of tables, code blocks, images, callouts, emoji |
| 🔗 引用 (References) | How sources are cited, use of links, cross-references |
| 💡 表达 (Expression) | Use of examples, analogies, rhetorical questions, humor |
Compose a style profile with concrete examples:
## 📊 写作风格分析报告
### 文档信息
- **文档**:[标题](链接)
- **知识库**:「知识库名称」
- **字数**:约 X 字
- **更新时间**:YYYY-MM-DD
---
### 📐 结构特征
- **层级**:[如:使用 H2/H3 两级标题,不使用 H4]
- **组织方式**:[如:总分总结构,先给结论再展开]
- **段落长度**:[如:每段 2-4 句,简洁明了]
### 🎯 语气与风格
- **整体基调**:[如:专业但不刻板,偶尔使用口语化表达]
- **人称使用**:[如:多用"我们",营造协作感]
- **典型句式**:[引用 1-2 个代表性句子]
### 📝 用词特点
- **术语密度**:[高/中/低]
- **中英混用**:[如:技术名词保留英文,其余用中文]
- **高频词汇**:[列出 5-8 个特征性词汇]
### 🎨 格式偏好
- **常用元素**:[如:大量使用表格、代码块较少、喜欢用 emoji 做标记]
- **视觉节奏**:[如:每 2-3 段插入一个列表或表格,避免大段纯文字]
### 💡 表达手法
- **举例方式**:[如:喜欢用实际场景举例,常用"比如说..."]
- **逻辑连接**:[如:善用"首先/其次/最后",过渡自然]
---
### 🎯 风格摘要(一句话)
> [用一句话概括这个写作风格,如:"专业严谨但不失亲和力的技术文档风格,善用结构化表达和实例说明。"]
### 📋 风格复用建议
如果你想模仿这个风格写作,注意以下要点:
1. [具体建议 1]
2. [具体建议 2]
3. [具体建议 3]
If the user provides multiple documents for comparison:
## 📊 风格对比
| 维度 | 文档 A | 文档 B |
|------|--------|--------|
| 语气 | [特征] | [特征] |
| 结构 | [特征] | [特征] |
| 用词 | [特征] | [特征] |
| 格式 | [特征] | [特征] |
### 共同点
- [共同特征 1]
- [共同特征 2]
### 差异点
- [差异 1]
- [差异 2]
yuque-group plugin| Situation | Action |
|---|---|
| Document not found | Try alternative search keywords, then inform user |
| Document too short (<100 chars) | Inform user the document is too short for meaningful style analysis |
yuque_get_doc fails (403) | Tell user they may lack permission to access this doc |
| API timeout | Retry once, then inform user of connectivity issue |
| User provides no specific document | List recent docs from their repos and ask which to analyze |