skill

Lark Skill Maker

larksuite448,188+ تثبيتموثوق

نبذة

# Skill Maker

基于 lark-cli 创建新 Skill。Skill = 一份 `SKILL.md`,教 AI 用 CLI 命令完成任务。

## CLI 核心能力

```bash lark-cli <service> <resource> <method> # 已注册 API lark-cli <service> +<verb> # Shortcut(高级封装) lark-cli api <METHOD> <path> [--data/--params] # 任意飞书 OpenAPI lark-cli schema <service.resource.method> # 查参数定义 ```

优先级:Shortcut > 已注册 API > `api` 裸调。

## 调研 API

```bash # 1. 查看已有的 API 资源和 Shortcut lark-cli <service> --help

# 2. 查参数定义 lark-cli schema <service.resource.method>

# 3. 未注册的 API,用 api 直接调用 lark-cli api GET /open-apis/vc/v1/rooms --params '{"page_size":"50"}' lark-cli api POST /open-apis/vc/v1/rooms/search --data '{"query":"5F"}' ```

如果以上命令无法覆盖需求(CLI 没有对应的已注册 API 或 Shortcut),使用 [lark-openapi-explorer](../lark-openapi-explorer/SKILL.md) 从飞书官方文档库逐层挖掘原生 OpenAPI 接口,获取完整的方法、路径、参数和权限信息,再通过 `lark-cli api` 裸调完成任务。

通过以上流程确定需要哪些 API、参数和 scope。

## SKILL.md 模板

文件放在 `skills/lark-<name>/SKILL.md`:

```markdown --- name: lark-<name> version: 1.0.0 description: "<功能描述>。当用户需要<触发场景>时使用。" metadata: requires: bins: ["lark-cli"] ---

# <标题>

> **前置条件:** 先阅读 [`../lark-shared/SKILL.md`](../lark-shared/SKILL.md)。

## 命令

\```bash # 单步操作 lark-cli api POST /open-apis/xxx --data '{...}'

# 多步编排:说明步骤间数据传递 # Step 1: ...(记录返回的 xxx_id) # Step 2: 使用 Step 1 的 xxx_id \```

## 权限

| 操作 | 所需 scope | |------|-----------| | xxx | `scope:name` | ```

## 关键原则

- **description 决定触发** — 包含功能关键词 + "当用户需要...时使用" - **认证** — 说明所需 scope,登录用 `lark-cli auth login --domain <name>` - **安全** — 写入操作前确认用户意图,建议 `--dry-run` 预览 - **编排** — 说明数据传递、失败回滚、可并行步骤

التثبيت

شغل هذا الأمر

npx skills add larksuite/cli

يعمل مع

claude appclaude codeclaude apicursorcodexwindsurfclinezed

خطوات التثبيت

Install with `npx skills add larksuite/cli`, or clone the repository and copy the `skills/lark-skill-maker` folder into your Claude skills directory.

عرض المصدر

أسئلة شائعة

كيف أثبت Lark Skill Maker؟

شغل هذا الأمر في الطرفية:

npx skills add larksuite/cli
مع أي أدوات ذكاء اصطناعي تعمل Lark Skill Maker؟

تعمل مع claude_app، claude_code، claude_api، cursor، codex، windsurf، cline، zed.

من طور Lark Skill Maker؟

طورها larksuite.

هل Lark Skill Maker مجانية؟

نعم، يمكنك استخدامها مجانا.

أصول ذات صلة

مختارات أخرى في التطوير والبرمجة.

كل بدائل Lark Skill Maker ←
skillclaude_appclaude_codeclaude_api
git clone https://github.com/anthropics/skills && cp -r skills/skills/claude-api ~/.claude/skills/
Claude API
بناء وتصحيح وتحسين تطبيقات Claude API وAnthropologic SDK. يجب أن تتضمن التطبيقات المبنية بهذه المهارة تخزين الأوامر مؤقتا (prompt caching). كما يتعامل…★ 4.8 · 2,500+
skillclaude_appclaude_codeclaude_api
npx skills add mattpocock/skills
Tdd
Test-driven development. Use when the user wants to build features or fix bugs test-first, mentions "red-green-refactor", or wants integration tests.980,434+
skillclaude_appclaude_codeclaude_api
npx skills add mattpocock/skills
Grilling
Grill the user relentlessly about a plan, decision, or idea. Use when the user wants to stress-test their thinking, or uses any 'grill' trigger phrase…793,522+
skillclaude_appclaude_codeclaude_api
npx skills add mattpocock/skills
Diagnosing Bugs
Diagnosis loop for hard bugs and performance regressions. Use when the user says "diagnose"/"debug this", or reports something broken/throwing/failing…678,622+
skillclaude_appclaude_codeclaude_api
npx skills add mattpocock/skills
Code Review
Review the changes since a fixed point (commit, branch, tag, or merge-base) along two axes: Standards (does the code follow this repo's documented cod…631,767+
skillclaude_appclaude_codeclaude_api
npx skills add microsoft/azure-skills
Azure Diagnostics
Debug Azure production issues on Azure using AppLens, Azure Monitor, resource health, and safe triage. WHEN: debug production issues, troubleshoot app…608,568+

افحص قبل التثبيت

شغل أي مصدر عبر فحوصاتنا - الظهور في الذكاء الاصطناعي والأمان والأداء واكتشاف التقنيات.

المزيد في التطوير والبرمجة