docs: add lark drive knowledge organization workflow#1028
Conversation
Change-Id: I2343fcdf26ceefb898cc8d4faeae4b17384cfea8
📝 WalkthroughWalkthroughAdded a skill decision rule routing cloud storage organization requests to a new comprehensive workflow document covering inventory analysis, problem identification, organization planning, and execution with detailed validation rules, permission controls, and output specifications. ChangesKnowledge Organization Workflow for Drive/Wiki
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Suggested labels
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@skills/lark-drive/references/lark-drive-workflow-knowledgeOrganize.md`:
- Around line 81-105: The fenced workflow block (the triple-backtick code fence
that wraps the ASCII diagram under the workflow header) lacks a language tag,
causing MD040 lint failures; update the opening fence from ``` to ```text so the
block is explicitly annotated (e.g., change "```" to "```text") and leave the
closing fence as is to resolve the lint issue while preserving the diagram
content.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: 32b25765-591a-4bca-88cb-b32d3434d45e
📒 Files selected for processing (2)
skills/lark-drive/SKILL.mdskills/lark-drive/references/lark-drive-workflow-knowledgeOrganize.md
| ``` | ||
| {用户输入的整理目标:URL / 名称 / token / 范围描述} | ||
| │ | ||
| ▼ | ||
| 入口解析(识别资源类型并分流到 Drive / Wiki / 单资源链路) | ||
| │ | ||
| ▼ | ||
| 递归盘点资源 ──► 标准化 ResourceItem 清单 | ||
| │ | ||
| ▼ | ||
| 现状统计 ──► 轻量内容读取(仅低置信度资源) | ||
| │ | ||
| ▼ | ||
| 问题识别 ──► 整理规则生成 | ||
| │ | ||
| ▼ | ||
| 目标目录树 ──► 移动 / 创建计划 | ||
| │ | ||
| ▼ | ||
| 用户确认 | ||
| │ | ||
| ├─► 不执行:输出整理方案 | ||
| │ | ||
| └─► 执行:创建目录 / 移动资源 / 重新扫描验证 | ||
| ``` |
There was a problem hiding this comment.
Add a language tag to the fenced workflow block.
This block is missing a fence language and triggers MD040; please annotate it (e.g., text) for lint compliance.
Suggested diff
-```
+```text
{用户输入的整理目标:URL / 名称 / token / 范围描述}
│
▼
入口解析(识别资源类型并分流到 Drive / Wiki / 单资源链路)
@@
-```
+```🧰 Tools
🪛 markdownlint-cli2 (0.22.1)
[warning] 81-81: Fenced code blocks should have a language specified
(MD040, fenced-code-language)
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@skills/lark-drive/references/lark-drive-workflow-knowledgeOrganize.md` around
lines 81 - 105, The fenced workflow block (the triple-backtick code fence that
wraps the ASCII diagram under the workflow header) lacks a language tag, causing
MD040 lint failures; update the opening fence from ``` to ```text so the block
is explicitly annotated (e.g., change "```" to "```text") and leave the closing
fence as is to resolve the lint issue while preserving the diagram content.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1028 +/- ##
==========================================
- Coverage 67.77% 67.75% -0.03%
==========================================
Files 590 590
Lines 55291 55188 -103
==========================================
- Hits 37475 37392 -83
+ Misses 14696 14684 -12
+ Partials 3120 3112 -8 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
🚀 PR Preview Install Guide🧰 CLI updatenpm i -g https://pkg.pr.new/larksuite/cli/@larksuite/cli@08936dbd49ea6abeda7c3d414bc810ed8760e79d🧩 Skill updatenpx skills add larksuite/cli#feat/workflow-knowledgeOrganize -y -g |
Change-Id: I2343fcdf26ceefb898cc8d4faeae4b17384cfea8
Summary
Add a lark-drive knowledge organization workflow reference for Drive/Wiki/document-library organization scenarios.
Changes
skills/lark-drive/SKILL.mdto route cloud storage / knowledge-base organization requests to the workflow.skills/lark-drive/references/lark-drive-workflow-knowledgeOrganize.mdcovering entry parsing, inventory, deduplication, planning, write confirmation, permission handling, and verification.Test Plan
Related Issues
Summary by CodeRabbit
New Features
Documentation