docs: clarify lark-doc content file paths#1477
Conversation
Document that --content @path must use cwd-relative paths, add create/update examples, and record blackbox validation evidence for local file input. Spec source: active@4ecda2b4e5b97c4735a03f0cc3591dfe25ba4c2c543c91ec69d6448d04d3fbe9
|
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 (3)
📝 WalkthroughWalkthroughThree documentation files in Changeslark-doc --content
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 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 #1477 +/- ##
==========================================
+ Coverage 73.35% 73.38% +0.02%
==========================================
Files 750 750
Lines 69264 69355 +91
==========================================
+ Hits 50811 50897 +86
+ Misses 14713 14709 -4
- Partials 3740 3749 +9 ☔ 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@e940bdb10c9328bec4dd0911f03e485860cbc943🧩 Skill updatenpx skills add ZEden0/cli#lark-doc-skill-content-path-docs -y -g |
Summary
Clarify how the
lark-docskill should pass local files to--content.The updated guidance tells agents to use cwd-relative
@pathvalues and to enter the file directory before referencing files provided as absolute paths.Changes
lark-docnote for local--content @pathhandling@file.mdwording in update examples with clearer local file input wordingTest Plan
git diff --checkpassedlark-docskill/reference docsdocs +create,docs +update, anddocs +fetchpassed with--content @./draft*.mdfor both bot and user identitiesRelated Issues
N/A
Summary by CodeRabbit
--content@path`` accepts only current working directory-relative paths (e.g.,@./filename), rejecting absolute paths.@./filenamesyntax.