docs: optimize base skill references#1171
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 (136)
💤 Files with no reviewable changes (77)
📝 WalkthroughWalkthroughThis PR consolidates Base CLI shortcut guidance into built-in tips and centralized documentation by (1) introducing a shared high-risk command tip constant and applying it across 20+ write shortcuts, (2) clarifying flag descriptions for pagination and defaults across 16 shortcuts, (3) updating JSON validation error messages and their tests, (4) rewriting SKILL.md with a tighter execution contract and routing framework, and (5) removing 60+ individual command reference pages in favor of --help-based guidance and core documentation. ChangesShortcut Tips Infrastructure and High-Risk Commands
Documentation Consolidation and Skill Guide Rewrite
Estimated code review effort: 🎯 4 (Complex) | ⏱️ ~60 minutesPossibly related PRs
Suggested labels
Suggested reviewers
✨ Finishing Touches🧪 Generate unit tests (beta)
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1171 +/- ##
=======================================
Coverage 68.92% 68.92%
=======================================
Files 629 629
Lines 58762 58762
=======================================
Hits 40503 40503
Misses 14952 14952
Partials 3307 3307 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
ff761be to
5be573d
Compare
5be573d to
57212ea
Compare
🚀 PR Preview Install Guide🧰 CLI updatenpm i -g https://pkg.pr.new/larksuite/cli/@larksuite/cli@57212eaaa7fc83a77cdddd76ce05d5485be9e4e8🧩 Skill updatenpx skills add zgz2048/cli#codex/base-skill-reference-optimization -y -g |
Summary
Optimize the Base skill reference set so the skill routes by task and keeps only high-value guidance for complex Base JSON/DSL workflows. This removes command-manual style reference pages and moves concise usage guidance into command tips and the main skill routing document.
Changes
skills/lark-base/SKILL.mdinto routing, boundaries, token/link handling, identity fallback, query/write rules, and retained reference guidance.--help.Test Plan
go test ./shortcuts/baselark-cli <domain> <command>flow works as expected: checkedlark-cli drive +search --helpfor the Base title search example and scanned retained Base docs for deleted-reference links / low-value--helpprompts.Related Issues
Summary by CodeRabbit
New Features
Documentation