docs: add v2 api version to docs fetch examples#891
Conversation
|
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 (11)
✅ Files skipped from review due to trivial changes (9)
🚧 Files skipped from review as they are similar to previous changes (2)
📝 WalkthroughWalkthroughThis PR updates documentation across skills and templates to consistently require ChangesDocs API v2 flag standardization across documentation
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Suggested labels
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 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 |
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/doc.md`:
- Line 118: The sentence currently promotes the legacy trigger `docs +search`;
change it to reference `drive +search` instead so the resource-discovery
recommendation matches the updated lark-doc skill deprecation guidance—locate
the phrase containing `docs +search` in doc.md (the sentence describing
resource-discovery入口 and "表格 / 报表") and replace `docs +search` with `drive
+search`, keeping the rest of the wording intact and ensuring the sentence still
reads naturally.
In `@skills/lark-doc/references/lark-doc-md.md`:
- Line 44: The example showing the command "docs +fetch --api-version v2"
assumes markdown output but the tool defaults to XML; update the example command
to include the "--doc-format markdown" flag so the fetch actually exports
Markdown (e.g., replace occurrences of "docs +fetch --api-version v2" with "docs
+fetch --api-version v2 --doc-format markdown" in the example) and mention the
flag where the workflow expects markdown output.
🪄 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: d702098e-d990-4958-b0f0-ec49fa90896e
📒 Files selected for processing (11)
skill-template/domains/doc.mdskill-template/domains/drive.mdskills/lark-doc/SKILL.mdskills/lark-doc/references/lark-doc-fetch.mdskills/lark-doc/references/lark-doc-md.mdskills/lark-doc/references/lark-doc-update.mdskills/lark-doc/references/lark-doc-whiteboard.mdskills/lark-doc/references/style/lark-doc-create-workflow.mdskills/lark-drive/SKILL.mdskills/lark-vc/SKILL.mdskills/lark-whiteboard/SKILL.md
🚀 PR Preview Install Guide🧰 CLI updatenpm i -g https://pkg.pr.new/larksuite/cli/@larksuite/cli@4341a8b17d8d176fb4277cde00fda152820ffd0d🧩 Skill updatenpx skills add larksuite/cli#sun/chore2 -y -g |
Change-Id: I130e6e02c0b7594a05bdda6c9bf552fb15572791
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #891 +/- ##
=======================================
Coverage 65.90% 65.90%
=======================================
Files 520 520
Lines 49274 49274
=======================================
Hits 32474 32474
Misses 14026 14026
Partials 2774 2774 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Change-Id: I130e6e02c0b7594a05bdda6c9bf552fb15572791
Summary by CodeRabbit
--api-version v2flag for document fetch, create, and update operations for consistency and correctness.Summary by CodeRabbit