chore(apps): refine lark-apps skill description and surface#1040
Conversation
- description: switch from trigger-word enumeration to a general principle (any HTML artifact intended to be independently accessible falls under this skill; defer the deploy-vs-demo decision to the skill body) - surface apps +access-scope-get in prerequisites list and Shortcuts table so agents can find the read side of access-scope - add "writing HTML hard constraints" section: index.html is the required entry filename, --path cannot equal cwd (both are CLI-side hard rejects that previously only lived in the html-publish ref)
📝 WalkthroughWalkthroughThis PR updates the Lark Apps skill documentation by refining the skill description to focus on Miaoda deployment, adding prerequisite guidance for access scope retrieval, specifying hard constraints for HTML packaging (entry file name and directory path restrictions), and registering a new shortcut reference. ChangesLark Apps Skill Documentation
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes 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 docstrings
🧪 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 #1040 +/- ##
==========================================
- Coverage 67.76% 67.75% -0.02%
==========================================
Files 590 590
Lines 55188 55188
==========================================
- Hits 37398 37392 -6
- Misses 14679 14684 +5
- Partials 3111 3112 +1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
🚀 PR Preview Install Guide🧰 CLI updatenpm i -g https://pkg.pr.new/larksuite/cli/@larksuite/cli@8249774771d149b9472157073aca51dd557855bc🧩 Skill updatenpx skills add larksuite/cli#chore/apps-skill-optimize -y -g |
Summary
Documentation-only change to
skills/lark-apps/SKILL.md(+8 / -1). No CLI code touched, no reference docs touched.+access-scope-get— add it as item 6 in the prerequisites list and a new row in the bottom Shortcuts table, noting the response enum (All/Tenant/Range) maps to CLI flags (public/tenant/specific). The reference doc was already in place but unindexed from SKILL.md, so agents could not discover it for "view current scope" / "back up & copy scope config" scenarios.index.html(app.html/demo.htmletc. are rejected by+html-publish).--pathmust not equal cwd (hard-rejected in source to prevent accidentally bundling.git/.env/node_modulesinto a publicly shareable URL).Test plan
+access-scope-get.app.htmldirectly under cwd and request publish — verify it fixes the filename / path based on the new hard-constraints section before invoking publish, instead of waiting for a server-side reject.