agentleFS
Eleven-MEleven-M/flowmind/skills/yuque-sync-design/SKILL.md

yuque-sync-design

Skill1 starsChanged 3 months agoMITView on GitHub

Yuque design document sync skill for FlowMind. Sync design documents to knowledge base, manage OpenSpec archives, and maintain design documentation lifecycle.

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Update existing design documents

    line 20
  2. Distinctive:

    Create new document categories

    line 21
  3. Distinctive:

    Search documents across repos

    line 26

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Yuque Design Document Sync Skill

Synchronize design documents between local OpenSpec artifacts and Yuque knowledge base for centralized design documentation management.

Features

Design Doc Sync

  • Sync OpenSpec DESIGN.md to Yuque
  • Update existing design documents
  • Create new document categories
  • Version tracking and history

Knowledge Base Management

  • Browse Yuque repositories
  • Search documents across repos
  • Manage document structure
  • Group statistics and analytics

OpenSpec Archive

  • Archive completed changes to Yuque
  • Maintain change history
  • Link related documents
  • Searchable archive

Trigger Patterns

"同步设计文档", "sync design doc"
"语雀同步", "yuque sync"
"设计文档管理", "design doc management"
"归档到语雀", "archive to yuque"
"文档同步", "document sync"
"知识库管理", "knowledge base"

Output Format

┌─────────────────────────────────────────────────────┐
│ Yuque Design Sync Report                            │
├─────────────────────────────────────────────────────┤
│ Repository: {repo_name}                             │
│ Document: {doc_title}                               │
├─────────────────────────────────────────────────────┤
│ Action: Create / Update / Archive                   │
│ Status: ✅ Success / ❌ Failed                       │
│ URL: {yuque_url}                                    │
├─────────────────────────────────────────────────────┤
│ Sections Synced: {count}                            │
│ • {section_1}: ✅                                   │
│ • {section_2}: ✅                                   │
└─────────────────────────────────────────────────────┘

Component Integration

This skill uses the knowledgeBase component. The actual knowledge base provider is determined by configuration.

ProviderMCP ServerDescription
yuqueyuque-mcpYuque knowledge base
notionnotion-mcpNotion workspace

Configuration is managed in flowmind.config.json under components.knowledgeBase.

Available MCP tools (yuque provider):

ToolDescription
get_user_reposList user's repositories
get_repo_docsList documents in repository
get_docGet document content
create_docCreate new document
update_docUpdate existing document
searchSearch documents/repos
get_group_statisticsGet group statistics

Learning Integration

This skill supports FlowMind learning:

  • Repository Mapping: Learns which projects map to which Yuque repos
  • Document Structure: Learns preferred document organization
  • Sync Preferences: Learns sync frequency and scope preferences

Examples

Example 1: Sync Design to Yuque

User: 同步当前设计文档到语雀

FlowMind:
┌─────────────────────────────────────────────────────┐
│ Yuque Design Sync Report                            │
├─────────────────────────────────────────────────────┤
│ Repository: design-docs                             │
│ Document: 订单模块详细设计                           │
├─────────────────────────────────────────────────────┤
│ Action: Update                                      │
│ Status: ✅ Success                                   │
│ URL: https://yuque.com/your-org/design/order-module │
├─────────────────────────────────────────────────────┤
│ Sections Synced: 6                                  │
│ • API Design: ✅                                    │
│ • Database Design: ✅                               │
│ • Redis Design: ✅                                  │
│ • Kafka Design: ✅                                  │
│ • Flow Diagram: ✅                                  │
│ • Test Plan: ✅                                     │
└─────────────────────────────────────────────────────┘

Example 2: Search Knowledge Base

User: 搜索语雀上的订单相关文档

FlowMind:
┌─────────────────────────────────────────────────────┐
│ Yuque Search Results                                │
├─────────────────────────────────────────────────────┤
│ Keyword: 订单                                       │
│ Results: 5 documents                                │
├─────────────────────────────────────────────────────┤
│ 1. 订单模块详细设计 (design-docs)                    │
│    Updated: 2026-06-20                              │
│ 2. 订单流程图 (design-docs)                          │
│    Updated: 2026-06-18                              │
│ 3. 订单API文档 (api-docs)                           │
│    Updated: 2026-06-15                              │
└─────────────────────────────────────────────────────┘

Configuration

{
  "yuque-sync-design": {
    "defaultRepo": "design-docs",
    "syncFormat": "markdown",
    "autoCreateToc": true,
    "archiveAfterSync": true
  }
}

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.