docs(im): add cloud draft skill entry#1702
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 (2)
✅ Files skipped from review due to trivial changes (1)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughThis PR adds the IM draft API resource and permission scope to ChangesDraft API documentation
Estimated code review effort: 1 (Trivial) | ~5 minutes Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ 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: 1
🤖 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 `@skills/lark-im/SKILL.md`:
- Around line 192-195: The draft.create entry is missing the required identity
and access token details, unlike the other API operations in this document.
Update the draft section in SKILL.md so the `create` item includes the supported
identity values and the required token type, matching the pattern used by the
other operation entries and aligning with the registry metadata.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
🚀 PR Preview Install Guide🧰 CLI updatenpm i -g https://pkg.pr.new/larksuite/cli/@larksuite/cli@a9e2594e5d29a11539336f840497670f7d6cadd7🧩 Skill updatenpx skills add sqzzzs/cli#feat/im-cloud-draft-skill -y -g |
a9e2594 to
084a3b7
Compare
|
|
Summary
Add Cloud Draft command entry to the Lark IM skill documentation.
Changes
im draft createunder the IM draft section.draft.create.im:message.draft_write_as_user.Test Plan
./lark-cli schema im.draft.create./lark-cli im draft create --as user --dry-run ...ok=trueandcode=0.Summary by CodeRabbit
draftresource and addeddraft.create(“写入草稿”).contentserialization examples, and response format.im:message.draft_write_as_userscope and documented supported identities (user,bot).