Skip to content

docs: clarify drive upload overwrite guidance#1982

Merged
wittam-01 merged 1 commit into
mainfrom
docs/drive-upload-overwrite-guidance
Jul 21, 2026
Merged

docs: clarify drive upload overwrite guidance#1982
wittam-01 merged 1 commit into
mainfrom
docs/drive-upload-overwrite-guidance

Conversation

@wittam-01

@wittam-01 wittam-01 commented Jul 21, 2026

Copy link
Copy Markdown
Collaborator

Summary

Clarify Lark Drive upload skill guidance so agents prefer overwrite upload when users ask to modify or replace an existing ordinary Drive file.

Changes

  • Update the +upload shortcut summary in the lark-drive skill to mention overwrite preference.
  • Add a concise quick decision note in the drive upload reference to prefer overwrite upload over creating a new file for modify/replace requests.

Test Plan

  • Unit tests pass (not run; Markdown skill text only)
  • Manual local verification confirms the lark-cli drive +upload guidance change is scoped as expected (git diff --check -- skills/lark-drive/SKILL.md skills/lark-drive/references/lark-drive-upload.md)

Related Issues

  • None

Summary by CodeRabbit

  • Documentation
    • Updated the Drive upload guidance to recommend “覆盖上传” (overwrite upload) when modifying/replacing an existing regular file, instead of uploading it as a new file.
    • Kept and clarified that uploads to Drive folders and wiki nodes remain supported, along with appropriate instructions.

@coderabbitai

coderabbitai Bot commented Jul 21, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 086f56ce-4e6f-4184-8793-2d91fead54ee

📥 Commits

Reviewing files that changed from the base of the PR and between 23a47db and f8f43fd.

📒 Files selected for processing (2)
  • skills/lark-drive/SKILL.md
  • skills/lark-drive/references/lark-drive-upload.md
🚧 Files skipped from review as they are similar to previous changes (1)
  • skills/lark-drive/references/lark-drive-upload.md

📝 Walkthrough

Walkthrough

Updated Lark Drive documentation to recommend overwrite uploads when modifying or replacing an existing regular file instead of creating a new file.

Changes

Drive overwrite guidance

Layer / File(s) Summary
Document overwrite upload decisions
skills/lark-drive/SKILL.md, skills/lark-drive/references/lark-drive-upload.md
The upload shortcut and quick-decision guidance now recommend 覆盖上传 for replacing or modifying existing files.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Possibly related PRs

Suggested reviewers: fangshuyu-768

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly matches the PR’s main change: clarifying overwrite guidance for Lark Drive uploads.
Description check ✅ Passed The description follows the template and includes summary, changes, test plan, and related issues.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch docs/drive-upload-overwrite-guidance

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions github-actions Bot added domain/ccm PR touches the ccm domain size/M Single-domain feat or fix with limited business impact labels Jul 21, 2026
@github-actions

github-actions Bot commented Jul 21, 2026

Copy link
Copy Markdown

🚀 PR Preview Install Guide

🧰 CLI update

npm i -g https://pkg.pr.new/larksuite/cli/@larksuite/cli@f8f43fdc98340db6a2679d518021a917229ab95c

🧩 Skill update

npx skills add larksuite/cli#docs/drive-upload-overwrite-guidance -y -g

@codecov

codecov Bot commented Jul 21, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 75.05%. Comparing base (c876841) to head (f8f43fd).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1982   +/-   ##
=======================================
  Coverage   75.05%   75.05%           
=======================================
  Files         901      901           
  Lines       95391    95391           
=======================================
  Hits        71591    71591           
  Misses      18307    18307           
  Partials     5493     5493           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@wittam-01
wittam-01 force-pushed the docs/drive-upload-overwrite-guidance branch from 23a47db to f8f43fd Compare July 21, 2026 10:38
@wittam-01
wittam-01 requested a review from fangshuyu-768 July 21, 2026 11:14
@wittam-01
wittam-01 merged commit daaacb4 into main Jul 21, 2026
27 checks passed
@wittam-01
wittam-01 deleted the docs/drive-upload-overwrite-guidance branch July 21, 2026 11:27
@liangshuo-1 liangshuo-1 mentioned this pull request Jul 21, 2026
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

domain/ccm PR touches the ccm domain size/M Single-domain feat or fix with limited business impact

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants