lark-shared

Configure, authenticate, and manage 飞书 CLI permissions for user and bot identities.

Updated Jun 7, 2025
One-click install
npx skills add https://github.com/TK0918/BestAds --skill lark-shared-tk0918
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lark-shared
Source: https://github.com/TK0918/BestAds/tree/main/.agents/skills/lark-shared
Command: npx skills add https://github.com/TK0918/BestAds --skill lark-shared-tk0918

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill facilitates configuration, authentication, and permission management for 飞书(Lark)CLI, simplifying setup and security handling for developers and users.

Core Features & Use Cases

  • Configuration & Initialization: Guides users through first-time app configuration (lark-cli config init) for seamless setup.
  • Authentication & Login: Supports login workflows for user and bot identities, handling token acquisition, scope, and domain authorization.
  • Permission Error Handling: Provides instructions and URLs for resolving permission issues and scope deficiencies, ensuring smooth运行 and access.
  • Security & Safety: Enforces best practices by preventing secret leakage, verifying user intent before critical actions, and managing updates efficiently.
  • Use Case: A developer setting up 飞书 CLI for their team can easily initialize configs, acquire necessary permissions, and handle permission errors interactively.

Quick Start

Run lark-cli config init to start setting up your 飞书应用 configuration and follow prompts for 登录 or permission setup.

Frequently Asked Questions about lark-shared

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure 飞书 CLI permissions and authentication for the first time?

To configure 飞书 CLI permissions, run `lark-cli config init` to initialize your application setup and follow the interactive prompts for login and permission acquisition.

Why does my 飞书 bot authentication fail with a scope deficiency error?

飞书 bot authentication fails when required API scopes are missing. The skill identifies the permission error, provides a URL for authorization, and recommends specific scope fixes to restore access.

Can I use both user and bot identities for 飞书 API authentication?

Yes, 飞书 API authentication supports both user and bot identities. The skill handles token acquisition, scope management, and domain authorization across various operational scenarios for safe API use.

What security practices should I follow to prevent secret leakage when managing 飞书 CLI configurations?

To prevent secret leakage during 飞书 CLI configuration, the skill enforces verifying user intent before critical actions, safely managing token updates, and following interactive security best practices.

Does lark-shared work without external dependencies for managing 飞书 resource workflows?

Yes, lark-shared operates with zero external dependencies, using built-in scripts and references to guide 飞书 CLI setup, permission error handling, and secure API integration independently.

What is the best way to resolve 飞书 CLI permission issues during application integration?

The best way to resolve 飞书 CLI permission issues is to use the provided URL guidance for scope authorization and apply the recommended fixes to ensure smooth integration of 飞书 resource management workflows.