feat(drive): enhance lark-drive skill with permission auth, title rename guidance, and batch_query template#1618
Conversation
…itle rename guidance, and batch_query template - Update description to clarify title rename via Drive files patch and permission check via permission.members auth - Add quick-decision table for high-frequency Drive tasks (title rename, permission check, export download, folder pull) - Clarify 修改标题 section: title is Drive metadata, not lark-doc body edit - Add batch_query template in API Resources section for bulk metadata fetch with URL - Refine 重要 note to allow skipping schema lookup when template is already provided
📝 WalkthroughWalkthroughUpdates the Lark Drive skill guide with tighter title-edit and permission boundaries, a quick-decision mapping for common drive commands, and added native API examples plus schema guidance. ChangesLark Drive skill guide updates
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ 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 |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1618 +/- ##
=======================================
Coverage 74.64% 74.64%
=======================================
Files 806 806
Lines 81386 81386
=======================================
Hits 60752 60752
Misses 16101 16101
Partials 4533 4533 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
🚀 PR Preview Install Guide🧰 CLI updatenpm i -g https://pkg.pr.new/larksuite/cli/@larksuite/cli@407d6e9dcb4441cfbc7e82e90919f91b78e389b3🧩 Skill updatenpx skills add larksuite/cli#auto-research-sync/01KVZXJCG8HDY3V3WPW7BRQF29/mr-659-75bcbe6b -y -g |
Summary
Enhances the
lark-driveskill description and quick-decision guidance to make authorization checks and title rename operations more explicit and actionable for agents.Changes
descriptionfrontmatter to clarify that title rename must useDrive files patch(not lark-doc body edit) and permission checks useDrive permission.members auth## 快速决策covering four high-frequency Drive tasks: title rename/rename, permission check, export-download with file_token, and folder mirror to local## 修改标题section to explicitly state title is Drive metadata, not lark-doc bodybatch_querytemplate in the API Resources section for bulk metadata + URL fetch, with doc_type reference values重要note to allow skippingschemalookup when a ready-made template is already provided in the sectionTest Plan
skills/lark-drive/SKILL.mddiff matches the upstream Codebase MR net changegit diff --checkpasses (no whitespace errors)Related Issues
Auto research task: 01KVZXJCG8HDY3V3WPW7BRQF29
Summary by CodeRabbit