docs: refine lark drive and markdown skills#1203
Conversation
Change-Id: I88e5b10c06f1192f478be6b1e8890694775c6f1b
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (4)
✅ Files skipped from review due to trivial changes (1)
🚧 Files skipped from review as they are similar to previous changes (2)
📝 WalkthroughWalkthroughThis PR consolidates and reorganizes Lark CLI skill documentation to improve clarity and user guidance. It restructures the Drive domain guide into a concise action-oriented format, introduces new reference guides for Drive permissions and comments, clarifies Markdown skill scope boundaries, and adds a shared Wiki token routing guide for the skill ecosystem. ChangesDrive Documentation Ecosystem Rewrite
Markdown & Cross-Skill Routing Clarifications
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
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 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 |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1203 +/- ##
==========================================
+ Coverage 69.14% 69.17% +0.02%
==========================================
Files 630 630
Lines 59304 59380 +76
==========================================
+ Hits 41005 41075 +70
- Misses 14988 14996 +8
+ Partials 3311 3309 -2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Actionable comments posted: 2
🤖 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 `@skill-template/domains/drive.md`:
- Line 7: The two import bullets that currently map CSV/Excel ambiguously need
to be rewritten to be destination-driven: replace the mixed rule that says
“Excel / CSV / .base -> --type bitable” and the conflicting “.xlsx/.xls/.csv ->
--type sheet” with explicit pairs such as “导入为 bitable 请使用 --type bitable(示例:
.base, 或当目标是 Bitable 时)” and “导入为 sheet 请使用 --type sheet(示例: .xlsx, .xls,
.csv,当目标是 Sheet 表格时)”, and apply the same explicit destination-first wording to
the related bullets around the other occurrences so every file extension maps
only when the user’s intended destination (bitable vs sheet vs docx vs slides)
is specified.
In `@skills/lark-drive/SKILL.md`:
- Line 20: The doc has conflicting import mappings for Excel/CSV: one occurrence
maps Excel/CSV to "--type bitable" while another maps ".xlsx/.xls/.csv" to
"--type sheet"; pick the correct destination (e.g., decide Excel/CSV should map
to either "--type sheet" or "--type bitable"), then make both occurrences
consistent by updating the mapping strings and any explanatory text so Excel/CSV
always point to the chosen type, and ensure examples and the sentence that
starts with "本地文件导入为在线文档统一走 `drive +import`" reflect that single, unambiguous
rule.
🪄 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: 057b0c23-26ba-405b-948b-836ca0103ed7
📒 Files selected for processing (9)
skill-template/domains/drive.mdskill-template/skill-template.mdskills/lark-drive/SKILL.mdskills/lark-drive/references/lark-drive-comments-guide.mdskills/lark-drive/references/lark-drive-permission-guide.mdskills/lark-drive/references/lark-drive-reactions.mdskills/lark-markdown/SKILL.mdskills/lark-markdown/references/lark-markdown-patch.mdskills/lark-shared/references/lark-wiki-token-routing.md
💤 Files with no reviewable changes (1)
- skill-template/skill-template.md
🚀 PR Preview Install Guide🧰 CLI updatenpm i -g https://pkg.pr.new/larksuite/cli/@larksuite/cli@dd3811dffd810bc4eb93622cc0df225289d2902b🧩 Skill updatenpx skills add larksuite/cli#docs/lark-drive-markdown-skills -y -g |
Change-Id: I31f5a26e7554ed66748be971f72a783a687b0323
Summary
Refines the lark-drive and lark-markdown skill docs based on the reviewed investigation. The update keeps the main skills focused on routing and critical decisions, moves detailed Drive rules into references, and syncs the Drive skill template to avoid regenerating the previous long structure.
Changes
Test Plan
Note: full bash scripts/check-doc-tokens.sh still fails on existing unrelated lark-wiki/lark-base reference examples containing realistic ou_ placeholders; those files are outside this PR scope.
Related Issues
Summary by CodeRabbit