MCPInstall

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.

Installs
257
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/yuque/yuque-plugin --skill yuque-personal-style-extract
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads yuque-personal-style-extract automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

Style Extract — Yuque Document Writing Style Analysis

Analyze one or more Yuque documents to extract writing style characteristics, helping users learn from excellent documents or maintain consistent writing style.

When to Use

  • User wants to analyze the writing style of a specific document
  • User says "分析一下这篇文档的写作风格", "extract the style", "学习这篇文档的风格"
  • User wants to maintain consistent style across documents
  • User says "帮我总结一下我的写作特点", "我想保持和这篇一样的风格"

Required MCP Tools

All tools are from the yuque-mcp server:

  • yuque_search — Search documents by keyword to find target documents
  • yuque_get_doc — Read full document content for style analysis
  • yuque_list_repos — List personal knowledge bases to browse documents

Workflow

Step 1: Identify Target Documents

The user may provide:

  • A specific document title or link
  • A keyword to search for the document
  • A request to analyze their overall writing style (multiple docs)

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.

Step 2: Analyze Style Dimensions

Examine the document(s) across these dimensions:

DimensionWhat 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

Step 3: Extract Style Profile

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]

Step 4: Compare Styles (Optional)

If the user provides multiple documents for comparison:

## 📊 风格对比

| 维度 | 文档 A | 文档 B |
|------|--------|--------|
| 语气 | [特征] | [特征] |
| 结构 | [特征] | [特征] |
| 用词 | [特征] | [特征] |
| 格式 | [特征] | [特征] |

### 共同点
- [共同特征 1]
- [共同特征 2]

### 差异点
- [差异 1]
- [差异 2]

Guidelines

  • Always answer in the same language the user used (Chinese or English)
  • Use concrete examples from the actual document — quote specific sentences or patterns
  • Be objective and descriptive, not judgmental — "uses short paragraphs" not "paragraphs are too short"
  • When analyzing multiple documents, identify both consistent patterns and variations
  • The style profile should be actionable — someone should be able to write in a similar style after reading it
  • This skill analyzes documents in personal repos — for team repos, use the corresponding skill in the yuque-group plugin

Error Handling

SituationAction
Document not foundTry 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 timeoutRetry once, then inform user of connectivity issue
User provides no specific documentList recent docs from their repos and ask which to analyze

FAQ

What does the yuque-personal-style-extract skill do?

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.

How do I install yuque-personal-style-extract?

Run npx skills add https://github.com/yuque/yuque-plugin --skill yuque-personal-style-extract in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/yuque-personal-style-extract/ (personal) or .claude/skills/yuque-personal-style-extract/ (project).

Which AI agents can use yuque-personal-style-extract?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is yuque-personal-style-extract safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains yuque-personal-style-extract?

It is published by yuque in yuque/yuque-plugin. It has 257 recorded installs.

More from yuque/yuque-plugin

View all →

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.

Docs & Writing655 installs

yuque-personal-smart-search

yuque/yuque-plugin

Search your personal Yuque knowledge bases with natural language queries and provide summarized answers with key points and source links. For personal/individual use — searches across your own documents.

338 installs

Open the skill to read its SKILL.md instructions.

325 installs

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.

292 installs

Open the skill to read its SKILL.md instructions.

240 installs

yuque-personal-note-refine

yuque/yuque-plugin

Open the skill to read its SKILL.md instructions.

167 installs

Popular docs & writing skills

View category →

grill-with-docs

mattpocock/skills

A relentless interview to sharpen a plan or design, which also creates docs (ADR's and glossary) as we go.

Docs & Writing1.2M installs

lark-markdown

open.feishu.cn

飞书 Markdown:查看、创建、上传、编辑和比较飞书中的原生 Markdown 文件。当用户要操作飞书 Markdown 文件,或比较其远端版本及本地草稿时使用。纯本地 Markdown 文件操作不触发本 skill。不负责将 Markdown 导入为飞书在线文档,也不负责文件搜索、权限、评论、移动、删除等云空间管理操作。

Docs & Writing778.7K installs

writing-beats

mattpocock/skills

Writing, exploit; assemble raw material into a journey of beats, grounding each term before a beat leans on it.

Docs & Writing490.7K installs

writing-shape

mattpocock/skills

Writing, exploit: shape raw material into an article, paragraph by paragraph.

Docs & Writing490.2K installs

writing-fragments

mattpocock/skills

Writing, explore: mine raw fragments, no structure yet.

Docs & Writing489.6K installs

writing-for-agents

mattpocock/skills

Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.

Docs & Writing479.3K installs