Skip to content

feat(skill): add lark-cli-update skill#491

Closed
xbytedance-xr wants to merge 1 commit intolarksuite:mainfrom
xbytedance-xr:feat/lark-cli-update-skill
Closed

feat(skill): add lark-cli-update skill#491
xbytedance-xr wants to merge 1 commit intolarksuite:mainfrom
xbytedance-xr:feat/lark-cli-update-skill

Conversation

@xbytedance-xr
Copy link
Copy Markdown

@xbytedance-xr xbytedance-xr commented Apr 15, 2026

Summary

Add new lark-cli-update skill so AI agents can check for updates and upgrade lark-cli through one dedicated skill.

Changes

  • add skills/lark-cli-update/SKILL.md
  • define intent routing for check-only, upgrade, skills refresh, and reinstall flows
  • add safe upgrade guidance for npm and source installs, including verify and recovery behavior

Test Plan

  • Read skills/lark-cli-update/SKILL.md and verify intent mapping covers upgrade / check / skills-only / reinstall flows
  • Verify install-method detection logic distinguishes npm / source / unknown
  • Verify skill text includes safety constraints, verify step, and idempotent rerun guidance

Related Issues

  • None

Summary by CodeRabbit

  • Documentation
    • Added specification for lark-cli-update skill enabling automated lark-cli binary updates with installation method detection and version comparison.
    • Includes safety constraints, comprehensive error handling, rollback guidance, and idempotent execution for failed or interrupted upgrades with skill refresh capabilities.

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Apr 15, 2026

CLA assistant check
All committers have signed the CLA.

@github-actions github-actions Bot added the size/M Single-domain feat or fix with limited business impact label Apr 15, 2026
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 15, 2026

📝 Walkthrough

Walkthrough

A new skill definition document lark-cli-update has been added, specifying a stateless v1 skill that upgrades the lark-cli main program and refreshes skills. The workflow covers installation detection, version comparison, safe upgrade execution, and verification with structured JSON output.

Changes

Cohort / File(s) Summary
Skill Definition
skills/lark-cli-update/SKILL.md
New skill specification defining a 4-step workflow: detect installation method (npm/source/not installed), compare versions, execute upgrades with safety constraints and explicit user confirmation for source mode, and verify with JSON output. Includes error handling, idempotency guarantees, and detailed branching logic.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Suggested reviewers

  • liangshuo-1
  • liuxinyanglxy

Poem

🐰 Hop, hop! A skill springs to life,
To update lark-cli without strife,
Four careful steps, from first to last,
Safely forward, no backward blast!
Our CLI now grows with grace and care. ✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title 'feat(skill): add lark-cli-update skill' clearly and concisely summarizes the main change—adding a new skill for CLI self-maintenance.
Docstring Coverage ✅ Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%.
Description check ✅ Passed The PR description covers Summary, Changes, and Test Plan sections as required by the template, though some section content is abbreviated or uses escape sequences.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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 and usage tips.

@xbytedance-xr xbytedance-xr force-pushed the feat/lark-cli-update-skill branch from d22fe97 to a9819e4 Compare April 15, 2026 13:02
@xbytedance-xr xbytedance-xr changed the title feat: add lark-cli-update skill for CLI self-maintenance feat(skill): add lark-cli-update skill Apr 15, 2026
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