What problem does it solve? Working with Feishu (Lark) resources through lark-cli requires correct authentication, identity selection between user and bot, and proper handling of missing scopes and authorization errors. This Skill provides the shared rules and workflows so every lark-cli operation runs with the right identity, permissions, and safety gates. ## Core Features & Use Cases - Authentication Workflows: Handles auth login, status checks, logout, and split-flow device-code authorization with QR code generation for user consent. - Identity Management: Distinguishes user vs bot identities via --as, enforces identity continuity across multi-command workflows, and prevents silent identity fallback. - Permission Recovery: Diagnoses missing_scope vs resource ACL errors, routes bot scope fixes to the developer console, and retries with the original identity after recovery. - Safety Gates: Enforces confirmation protocol for high-risk write operations (exit code 10), supports --dry-run previews, and blocks secret leakage. - Use Case: When a lark-cli command fails with a missing scope error, this Skill guides the agent to initiate a scoped re-authorization, show the user a QR code and URL, complete the device-code flow, and retry the original command with the same identity. ## Quick Start Use the lark-shared skill to check my current lark-cli login status and verify which identity and scopes are active.