Feishu CLI One-Click Installer
Paste the following prompt into your AI chat to install this skill:
Please according to https://skillhub.cn/install/skillhub.md, install @user_af28adda/feishu-cli-installer.
About this skill
The Feishu CLI, also known as lark-cli, is an essential tool for interacting with the Feishu Open Platform. However, its manual installation process typically involves environment checks, dependency management, configuration initialization, and multi-step authorization, which can be time-consuming and prone to failure due to environmental variations. This skill automates the entire workflow.
Smart Pre-Installation Check
Before starting the installation, the skill performs a comprehensive environment scan, which is the foundation for a successful setup. It automatically detects:
* Node.js version: Verifies it meets the minimum requirement (16.0+) for lark-cli.
* Package manager state: Identifies the npm or yarn environment.
* System permissions: Pre-empts potential errors like EACCES permission denied.
* Network connectivity: Confirms access to installation sources.
If any check fails, the skill does not proceed blindly. Instead, it provides specific solution guidance to help the user quickly remediate the environment issue.
Automated Installation Flow
After passing the core checks, the skill takes over all subsequent steps:
1. One-Click Install: Automatically executes the necessary commands to install lark-cli and related components.
2. Configuration Initialization: Guides the user through creating and setting up the required application configuration.
3. Authorization Guidance: Interactively walks the user through necessary authorization steps to ensure the CLI tool has the proper permissions.
4. Resume on Failure: If installation is interrupted (e.g., by a network issue), it records progress. On the next execution, it resumes from the last checkpoint, avoiding re-execution of completed steps.
When to Use This Skill
This skill is ideally suited for developers installing lark-cli for the first time or those who need to quickly retry after a failed manual attempt. It consolidates what were previously several disparate manual commands and checkpoints into a single, coherent, and stateful automated process.
It's important to note that this skill encapsulates the standard installation path, primarily solving deployment under common environments. In cases with special corporate proxy policies, or non-standard operating system permission settings, the automated installation might encounter additional hurdles. In such scenarios, the error messages and diagnostic logs provided by the skill serve as the starting point for troubleshooting, which may still require some manual adjustments to resolve.
Use Cases
- A newly hired backend engineer setting up a Feishu open platform development environment on their personal laptop for the first time, needing to quickly install and configure the `lark-cli` tool.
- After a developer's installation of `lark-cli` fails due to network instability or a permissions interruption, they need to resume from the last failed step without restarting the entire process.
- Following a change in corporate security policies, a developer needs to reconfigure local Feishu application permissions but has forgotten the specific steps, seeking guided assistance to complete the authorization.
- While troubleshooting why Feishu API calls are failing, technical support staff need to verify whether `lark-cli` is correctly installed and authorized on the developer's local machine.
Best For
- Engineers responsible for the backend development of Feishu applications, who need to manage cloud documents, calendars, and messages locally using command-line tools.
- IT support or DevOps personnel in enterprises, who need to quickly and standardize the deployment of the Feishu CLI development toolchain for multiple developers or testing environments.
- Users with an existing but outdated or corrupted `lark-cli` installation, who need to reinstall or repair it due to environmental changes or configuration file issues.
- Novice developers learning the Feishu Open Platform, who want to quickly set up a usable command-line interaction environment to test API functionality.
Related Skills
A systematic code error fixing skill that follows a five-step workflow: Reproduce, Isolate, Understand, Fix, Verify, to help developers resolve code errors.
Supports inline SVG/HTML rendering and Mermaid code output, covering common technical diagram creation like architecture and flow diagrams.
A comprehensive browser automation guide covering navigation, interaction, multi-tab management, and data collection, tailored for domestic web ecosystems and tools like Playwright/Selenium.
This skill provides end-to-end automation for WeChat Mini Program development, covering building, debugging, previewing, testing, and publishing, with integrated code quality analysis and dependency management.