Logo Note Refine

Note Refine

Tổ chức
yuque
note-refine

Polish rough Yuque notes into structured, readable documents while preserving their meaning. Use when the user wants to clean up a draft, improve layout, or turn fragments into a document; trigger phrases include “帮我整理一下这篇笔记”, “把这个文档排版优化一下”, and “polish my notes”.

Add to TypingMind

Tổng quan

Nhà phát hànhyuque
Kho mãyuque-ecosystem
Tên kỹ năngnote-refine
Sao
238
Bản fork
20
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được yuque công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Note Refine trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/yuque/yuque-ecosystem/tree/main/skills/note-refine
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/yuque/yuque-ecosystem.git /tmp/yuque-ecosystem
mkdir -p .claude/skills
cp -r /tmp/yuque-ecosystem/skills/note-refine .claude/skills/note-refine
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Note Refine trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Note Refine ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Note Refine với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Note Refine — Polish Rough Notes into Quality Documents

Transform rough, unstructured notes into well-organized, readable documents. Adds proper headings, table of contents, improves expression, and enhances formatting — all while preserving the original meaning.

When to Use

  • User has a rough draft or messy notes they want to clean up
  • User says "帮我整理一下这篇笔记", "polish my notes", "把这个文档排版优化一下"
  • User wants to improve readability of an existing Yuque document
  • User has bullet points or fragments they want turned into a proper document

Required MCP Tools

All tools are from the yuque-mcp server:

  • yuque_get_doc — Read the original document content
  • yuque_update_doc — Update the document with refined content

Workflow

Step 1: Get the Source Notes

Case A — Yuque document link: Extract repo_id and doc_id from the URL and fetch the content:

Tool: yuque_get_doc
Parameters:
  repo_id: "<namespace>"
  doc_id: "<slug>"

Case B — User pastes text directly: Use the provided text as the source content. No tool call needed.

If the document is not found (404) or permission denied (403), inform the user and stop.

Step 2: Analyze the Current State

Before refining, assess the notes on these dimensions:

DimensionWhat to Check
StructureAre there headings? Is there a logical flow?
CompletenessAre sentences complete? Are there dangling thoughts?
FormattingConsistent use of lists, code blocks, emphasis?
ReadabilityParagraph length, sentence clarity, jargon usage?
OrganizationIs related content grouped together?

Mentally categorize the refinement level needed:

  • Light polish — Good structure, just needs formatting and minor wording fixes
  • Medium refine — Has content but needs reorganization and better headings
  • Heavy restructure — Fragments and bullet points that need to become a proper document

Step 3: Refine the Content

Apply the following improvements while strictly preserving the original meaning:

Structure improvements:

  • Add a clear title if missing
  • Add hierarchical headings (H2, H3) to break content into logical sections
  • Reorder content so related ideas are grouped together
  • Add a brief introduction paragraph if the document jumps straight into details

Expression improvements:

  • Complete sentence fragments into full sentences
  • Fix grammatical errors and typos
  • Replace vague language with precise terms
  • Smooth transitions between sections
  • Keep the author's voice and tone — don't make casual notes sound like academic papers

Formatting improvements:

  • Use bullet lists for parallel items
  • Use numbered lists for sequential steps
  • Use code blocks for code, commands, or technical content
  • Use tables for structured comparisons
  • Use bold for key terms on first mention
  • Use blockquotes for important callouts
  • Ensure consistent formatting throughout

What NOT to change:

  • Do not add new information or opinions not present in the original
  • Do not remove content the author wrote (unless it's clearly a duplicate)
  • Do not change technical terms or proper nouns
  • Do not alter the author's conclusions or viewpoints
  • Do not over-formalize casual notes if the user didn't ask for it

Step 4: Present the Refined Version

Show the user a comparison summary and the refined document:

markdown
## ✨ 笔记优化完成

### 优化概览

| 项目 | 优化前 | 优化后 |
|------|--------|--------|
| 结构 | [e.g., 无标题,纯文本] | [e.g., 3 个章节,层级清晰] |
| 段落数 | X | Y |
| 字数 | ~X 字 | ~Y 字 |

### 主要改动

1. [改动 1:e.g., 添加了三级标题结构]
2. [改动 2:e.g., 将零散要点整合为完整段落]
3. [改动 3:e.g., 统一了列表格式]

---

[完整的优化后文档内容]

Step 5: Save Changes (Optional)

Ask the user: "要把优化后的内容更新到原文档吗?"

If the user confirms and the source was a Yuque document:

Tool: yuque_update_doc
Parameters:
  repo_id: "<namespace>"
  doc_id: "<slug>"
  body: "<refined content in markdown>"

After saving, confirm: "文档已更新:[文档链接]"

If the user wants to keep the original and save as a new version: Inform the user: "语雀会自动保留历史版本,更新后你仍然可以在版本历史中查看原始内容。"

If the source was pasted text: Just present the refined version in chat. If the user wants to save it, ask which knowledge base and use yuque_create_doc.

Guidelines

  • Always answer in the same language as the original notes (Chinese or English)
  • The golden rule: preserve meaning, improve form
  • Show the user what you changed and why — transparency builds trust
  • For light polish, don't over-engineer — sometimes notes just need minor fixes
  • For heavy restructure, confirm the proposed structure with the user before saving
  • If the notes contain TODO items or unfinished thoughts, preserve them as-is (mark with <!-- TODO --> if needed)
  • Respect the author's writing style — don't turn informal notes into formal reports unless asked

Error Handling

SituationAction
Document not found (404)Inform user the document may have been deleted or the link is incorrect
Permission denied (403)Tell user they may lack permission to access or edit this document
Document content is emptyInform user: "该文档内容为空,没有可优化的内容"
yuque_update_doc failsPresent the refined content in chat and suggest the user copy-paste it manually
Content is already well-structuredTell the user: "这篇文档结构已经很清晰了,只做了少量微调" — don't force unnecessary changes
Content is too short (< 50 chars)Inform user the content is too brief to meaningfully refine, ask if they want to expand it instead

Câu hỏi thường gặp

Kỹ năng AI Note Refine làm được gì?

Polish rough Yuque notes into structured, readable documents while preserving their meaning. Use when the user wants to clean up a draft, improve layout, or turn fragments into a document; trigger phrases include “帮我整理一下这篇笔记”, “把这个文档排版优化一下”, and “polish my notes”.

Vì sao nên dùng Note Refine trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Note Refine là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Note Refine trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/yuque/yuque-ecosystem/tree/main/skills/note-refine. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Note Refine?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Note Refine với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Note Refine với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Note Refine có miễn phí không?

Có. Kỹ năng này được yuque phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇