Skip to content

fix(slides): move add-slide and delete-slide reference docs to cli/ directory - #2272

Merged
ethan-zhx merged 1 commit into
mainfrom
fix/slides-move-add-delete-to-cli-refs
Aug 10, 2026
Merged

fix(slides): move add-slide and delete-slide reference docs to cli/ directory#2272
ethan-zhx merged 1 commit into
mainfrom
fix/slides-move-add-delete-to-cli-refs

Conversation

@ethan-zhx

@ethan-zhx ethan-zhx commented Aug 10, 2026

Copy link
Copy Markdown
Collaborator

Summary

lark-slides-add-slide.md and lark-slides-delete-slide.md are CLI command references, not XML schema references. They belong in references/cli/, not references/xml/.

Changes

  • Move the two files from references/xml/ to references/cli/ via git mv
  • Update all cross-file links in SKILL.md, cli/*.md, workflow/*.md, and the references/ compatibility stubs

Verification

  • grep for xml/lark-slides-add-slide and xml/lark-slides-delete-slide — zero stale references
  • content_embed.go uses skills/*/references recursively, unaffected by intra-directory moves

Summary by CodeRabbit

  • Documentation
    • Updated slide creation, deletion, and media-upload references to point to the current command-line documentation.
    • Corrected links across quick references, workflows, command guides, API tables, and related documentation.
    • Refreshed migration guidance while preserving compatibility notices for legacy documentation.
    • Improved navigation between slide-management commands and supporting resources.

…irectory

These two files are CLI command references, not XML schema references.
Move them from references/xml/ to references/cli/ and update all cross-file
links in SKILL.md, cli/*.md, workflow/*.md, and the compatibility stubs.
@github-actions github-actions Bot added the size/M Single-domain feat or fix with limited business impact label Aug 10, 2026
@coderabbitai

coderabbitai Bot commented Aug 10, 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 Plus

Run ID: d2896f87-3b6c-455c-904c-455d25d9dde3

📥 Commits

Reviewing files that changed from the base of the PR and between bd38b9b and bddeec8.

📒 Files selected for processing (9)
  • skills/lark-slides/SKILL.md
  • skills/lark-slides/references/cli/lark-slides-add-slide.md
  • skills/lark-slides/references/cli/lark-slides-create.md
  • skills/lark-slides/references/cli/lark-slides-delete-slide.md
  • skills/lark-slides/references/cli/lark-slides-media-upload.md
  • skills/lark-slides/references/cli/lark-slides-xml-presentations-get.md
  • skills/lark-slides/references/lark-slides-add-slide.md
  • skills/lark-slides/references/lark-slides-delete-slide.md
  • skills/lark-slides/references/workflow/error-handling.md

📝 Walkthrough

Walkthrough

Updated Slides documentation links from legacy XML paths to current CLI reference paths across the skill guide, CLI command references, migration entries, and workflow documentation.

Changes

Slides documentation link migration

Layer / File(s) Summary
CLI reference links
skills/lark-slides/references/cli/*.md
Updated links between CLI slide commands, including add-slide, delete-slide, media-upload, create, history, replace-slide, and presentation retrieval references.
Slides navigation and migration links
skills/lark-slides/SKILL.md, skills/lark-slides/references/lark-slides-*.md, skills/lark-slides/references/workflow/error-handling.md
Updated guide, compatibility, and workflow links to use CLI slide documentation.
Estimated code review effort: 1 (Trivial) ~5 minutes

Possibly related PRs

  • larksuite/cli#2207: Reorganized the CLI and XML reference paths that these links now target.

Suggested reviewers: liangshuo-1

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly summarizes the relocation of the add-slide and delete-slide reference documentation to the CLI directory.
Description check ✅ Passed The description covers the motivation, main changes, and verification, but it omits the required Related Issues section and uses Verification instead of Test Plan.
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 fix/slides-move-add-delete-to-cli-refs

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.

@codecov

codecov Bot commented Aug 10, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 76.39%. Comparing base (70ca6e2) to head (bddeec8).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2272      +/-   ##
==========================================
- Coverage   76.40%   76.39%   -0.02%     
==========================================
  Files        1012     1013       +1     
  Lines      111565   111788     +223     
==========================================
+ Hits        85241    85400     +159     
- Misses      19832    19878      +46     
- Partials     6492     6510      +18     

☔ 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.

@github-actions

Copy link
Copy Markdown

🚀 PR Preview Install Guide

🧰 CLI update

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

🧩 Skill update

npx skills add larksuite/cli#fix/slides-move-add-delete-to-cli-refs -y -g

@fangshuyu-768 fangshuyu-768 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No actionable findings. Verified the reference moves, updated cross-links, recursive embedding coverage, and current green CI.

@ethan-zhx
ethan-zhx merged commit ed65049 into main Aug 10, 2026
39 of 42 checks passed
@ethan-zhx
ethan-zhx deleted the fix/slides-move-add-delete-to-cli-refs branch August 10, 2026 13:50
@liangshuo-1 liangshuo-1 mentioned this pull request Aug 11, 2026
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/M Single-domain feat or fix with limited business impact

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants