bf9395e022
CI / results (push) Blocked by required conditions
CI / license-header (push) Has been skipped
CI / e2e-dry-run (push) Has been skipped
CI / e2e-live (push) Waiting to run
CI / fast-gate (push) Failing after 0s
Test PR Label Logic / test-pr-labels (push) Failing after 1s
Skill Format Check / check-format (push) Failing after 2s
CI / security (push) Failing after 5s
CI / unit-test (push) Has been skipped
CI / lint (push) Has been skipped
CI / script-test (push) Has been skipped
CI / deterministic-gate (push) Has been skipped
CI / coverage (push) Has been skipped
CI / deadcode (push) Waiting to run
42 lines
1.1 KiB
Markdown
42 lines
1.1 KiB
Markdown
---
|
|
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}}
|