Logo de Note Refine

Note Refine

Organização
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

Visão geral

Publicado poryuque
Repositórioyuque-ecosystem
Nome da habilidadenote-refine
Estrelas
238
Forks
20
Arquivos incluídos
Somente instruções
LicençaMIT
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Sem arquivos extras

    Tudo de que o modelo precisa está nas instruções — sem arquivos extras para sincronizar.

  • Código aberto

    Publicada por yuque no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Note Refine no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/yuque/yuque-ecosystem/tree/main/skills/note-refine
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

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
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Note Refine em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Note Refine automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Note Refine não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

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

Perguntas frequentes

O que a habilidade de IA Note Refine faz?

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”.

Por que usar Note Refine no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Note Refine é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Note Refine no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/yuque/yuque-ecosystem/tree/main/skills/note-refine. O TypingMind lê o arquivo SKILL.md e instala a habilidade para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Note Refine?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Note Refine?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Note Refine com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Note Refine é gratuita?

Sim. A habilidade é publicada no GitHub por yuque sob a licença MIT. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇