From yuque-group
Generates structured onboarding reading guides from Yuque group knowledge bases by scanning repos, TOCs, and prioritizing docs into weekly tiers for new members. Requires group token.
npx claudepluginhub yuque/yuque-pluginThis skill uses the workspace's default tool permissions.
Scan a team's Yuque knowledge bases, identify core documents, and generate a structured onboarding reading guide organized by week and priority.
Generates structured onboarding reading guides from Yuque group knowledge bases, prioritizing documents by week and role for new team members. Scans repos and creates plans.
Generates four audience-tailored onboarding guides in onboarding/ folder: Contributor (Python/JS), Staff Engineer, Executive, Product Manager. Resolves repo context first; for codebase intros.
Generates summaries of personal Yuque knowledge bases or document sets, analyzing structure, themes, coverage, and insights. Useful for overviews or periodic reviews of own repos.
Share bugs, ideas, or general feedback.
Scan a team's Yuque knowledge bases, identify core documents, and generate a structured onboarding reading guide organized by week and priority.
All tools are from the yuque-mcp server:
yuque_list_repos — List all knowledge bases in the teamyuque_get_toc — Get the table of contents for each knowledge baseyuque_get_doc — (Optional) Read specific docs for summaryyuque_group_members — Get group member list (for mentor assignment)yuque_create_doc — Create the onboarding guide documentGather from the user:
| Field | Required | Description |
|---|---|---|
| 团队标识 (Group login) | Yes | The team's Yuque group login |
| 新人角色 (Role) | No | e.g., 前端开发、后端开发、产品经理、设计师 |
| 入职日期 (Start date) | No | For timeline planning |
| 特殊关注 (Focus areas) | No | Any specific topics to prioritize |
If the user doesn't specify a group login, ask: "请告诉我团队的语雀团队标识(group login),我来生成入职阅读指南。"
If the user doesn't specify a role, generate a general-purpose guide.
Tool: yuque_list_repos
Parameters:
login: "<group_login>"
type: "group"
For each knowledge base returned, get its table of contents:
Tool: yuque_get_toc
Parameters:
namespace: "<repo_namespace>"
Collect all document titles, slugs, and hierarchy information.
Tool: yuque_group_members
Parameters:
login: "<group_login>"
Use this to suggest a mentor or point of contact for the new member.
Classify documents into priority tiers based on title and location:
Tier 1 — 第一周必读 (Week 1: Must Read) Keywords to look for in titles/paths:
Tier 2 — 第二周推荐 (Week 2: Recommended) Keywords:
Tier 3 — 第三周扩展 (Week 3: Extended) Keywords:
If the user specified a role, boost documents relevant to that role.
For Tier 1 documents (up to 5), optionally read them to provide brief summaries:
Tool: yuque_get_doc
Parameters:
namespace: "<book_slug>"
slug: "<doc_slug>"
Generate a 1-2 sentence summary for each.
Use this template:
# 🎯 新人入职阅读指南
> **团队**:[团队名称]
> **适用角色**:[角色,如"通用" / "前端开发"]
> **生成日期**:YYYY-MM-DD
> **预计阅读周期**:3 周
---
## 📖 使用说明
欢迎加入团队!这份阅读指南是根据团队知识库自动整理的,帮助你快速了解团队的技术栈、工作流程和核心知识。
建议按周计划阅读,遇到问题随时问团队成员。
---
## 📅 第一周:快速上手
> 目标:了解团队基本情况,搭建开发环境,熟悉工作流程
### 必读文档
| # | 文档 | 知识库 | 简介 | 预计时间 |
|---|------|--------|------|----------|
| 1 | [文档标题](链接) | [库名] | [一句话简介] | ~X 分钟 |
| 2 | [文档标题](链接) | [库名] | [一句话简介] | ~X 分钟 |
### ✅ 第一周 Checklist
- [ ] 阅读团队介绍文档
- [ ] 完成开发环境搭建
- [ ] 了解代码提交规范
- [ ] 熟悉项目目录结构
---
## 📅 第二周:深入了解
> 目标:理解系统架构,熟悉核心业务逻辑
### 推荐文档
| # | 文档 | 知识库 | 简介 | 预计时间 |
|---|------|--------|------|----------|
| 1 | [文档标题](链接) | [库名] | [一句话简介] | ~X 分钟 |
### ✅ 第二周 Checklist
- [ ] 理解系统整体架构
- [ ] 熟悉核心业务流程
- [ ] 完成第一个小任务
---
## 📅 第三周:扩展阅读
> 目标:了解技术决策背景,建立全局视野
### 扩展文档
| # | 文档 | 知识库 | 简介 |
|---|------|--------|------|
| 1 | [文档标题](链接) | [库名] | [一句话简介] |
---
## 🗺️ 知识库导航
| 知识库 | 描述 | 文档数 | 推荐度 |
|--------|------|--------|--------|
| [库名](链接) | [描述] | X 篇 | ⭐⭐⭐ |
| [库名](链接) | [描述] | X 篇 | ⭐⭐ |
---
## 💡 Tips
- 🔍 善用语雀搜索功能,遇到问题先搜一搜
- 📝 阅读过程中发现文档过时,欢迎直接更新
- 💬 有疑问随时在文档下方评论,或找 [mentor 姓名] 交流
- 📚 这份指南是自动生成的,如有遗漏请反馈
---
> 📌 本指南基于团队语雀知识库自动生成,生成时间:YYYY-MM-DD
Tool: yuque_create_doc
Parameters:
repo_id: "<namespace>" # e.g., "mygroup/mybook"
title: "新人入职阅读指南 - [角色] - YYYY-MM-DD"
body: "<formatted guide>"
format: "markdown"
✅ 入职阅读指南已生成!
📄 **[新人入职阅读指南](文档链接)**
📚 已保存到:「知识库名称」
### 概览
- 扫描了 X 个知识库,共 X 篇文档
- 筛选出 X 篇核心文档
- 按 3 周计划组织阅读路径
yuque_group_members to suggest a mentor| Situation | Action |
|---|---|
yuque_list_repos returns empty | Ask user to verify group login and group Token |
yuque_get_toc fails for a repo | Skip that repo, note it in the guide |
yuque_group_members fails | Skip mentor suggestion, still generate the guide |
| Team has very few docs (<10) | Create a simpler guide, suggest the group build more docs |
| Team has many docs (>100) | Be more selective, focus on top 20-30 most important |
| No docs match the specified role | Fall back to general guide, note role-specific docs are missing |
| Group login not provided | Ask user for the team's group login |
| Team Token not configured | Inform user that group features require a team-level Token |