Files
larksuite-cli/skill-template/skill-template.md
梁硕 83dfb068ad feat: open-source lark-cli — the official CLI for Lark/Feishu
Change-Id: I113d9cdb5403cec347efe4595415e34a18b7decf
2026-03-28 10:36:25 +08:00

42 lines
1.1 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
name: lark-{{project}}
version: {{meta_version}}
description: "{{meta_description}}"
metadata:
requires:
bins: ["lark-cli"]
cliHelp: "lark-cli {{service}} --help"
---
# {{service}} ({{version}})
**CRITICAL — 开始前 MUST 先用 Read 工具读取 [`../lark-shared/SKILL.md`](../lark-shared/SKILL.md),其中包含认证、权限处理**
{{introduction}}
{{#shortcuts}}
## Shortcuts推荐优先使用
Shortcut 是对常用操作的高级封装(`lark-cli {{service}} +<verb> [flags]`)。有 Shortcut 的操作优先使用。
| Shortcut | 说明 |
|----------|------|
{{shortcut_rows}}
{{/shortcuts}}
{{#actions}}
## API Resources
```bash
lark-cli schema {{service}}.<resource>.<method> # 调用 API 前必须先查看参数结构
lark-cli {{service}} <resource> <method> [flags] # 调用 API
```
> **重要**:使用原生 API 时,必须先运行 `schema` 查看 `--data` / `--params` 参数结构,不要猜测字段格式。
{{resource_sections}}
## 权限表
| 方法 | 所需 scope |
|------|-----------|
{{permission_rows}}
{{/actions}}