飞书/Lark CLI 共享基础:应用配置初始化、认证登录(auth login)、身份切换(--as user/bot)、权限与 scope 管理、Permission denied 错误处理、安全规则。当用户需要第一次配置(lark-cli config init)、使用登录授权(lark-cli auth login)、遇到权限不足、切换 user/bot 身份、配置 scope、或首次使用 lark-cli 时触发。
$npx -y skills add liangdabiao/lark-workflow-feishu-cli --skill lark-sharedInstalls into the current project.
Run `npx skills use "https://github.com/liangdabiao/lark-workflow-feishu-cli" --skill "liangdabiao/lark-workflow-feishu-cli/lark-shared"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/liangdabiao/lark-workflow-feishu-cli" that are relevant to the current task. Run `npx skills add "https://github.com/liangdabiao/lark-workflow-feishu-cli"` and select the relevant skills, then follow their instructions.