Pinvou/pinvou-agent / pinvou3-app/src-tauri/resources/common/bundle/lark-skills/lark-task
lark-task
Verified【何时用:仅当用户明确指向飞书/Lark(发到飞书、飞书文档等)时使用;泛指做个文档或PPT或表格或方案默认走本地工具,不要误用飞书】飞书任务:管理任务、清单和任务智能体。创建待办任务、查看和更新任务状态、拆分子任务、组织任务清单、分配协作成员、上传任务附件、注册任务智能体、更新任务智能体的主页数据、写入智能体任务记录。当用户需要创建待办事项、查看任务列表、跟踪任务进度、管理项目清单或给他人分配任务、为任务上传附件文件、注册任务智能体、更新任务智能体主页数据、写入任务记录时使用。
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 14.4 KB |
| references/lark-task-assign.md | markdown | 1.4 KB |
| references/lark-task-comment.md | markdown | 935 B |
| references/lark-task-complete.md | markdown | 1.3 KB |
| references/lark-task-create.md | markdown | 4.1 KB |
| references/lark-task-followers.md | markdown | 1.3 KB |
| references/lark-task-get-my-tasks.md | markdown | 3.6 KB |
| references/lark-task-get-related-tasks.md | markdown | 2.9 KB |
| references/lark-task-reminder.md | markdown | 1.5 KB |
| references/lark-task-reopen.md | markdown | 773 B |
| references/lark-task-search.md | markdown | 1.6 KB |
| references/lark-task-sections.md | markdown | 4.3 KB |
| references/lark-task-set-ancestor.md | markdown | 999 B |
| references/lark-task-tasklist-create.md | markdown | 1.3 KB |
| references/lark-task-tasklist-members.md | markdown | 1.2 KB |
| references/lark-task-tasklist-search.md | markdown | 1.4 KB |
| references/lark-task-tasklist-task-add.md | markdown | 1.5 KB |
| references/lark-task-update.md | markdown | 1.9 KB |
| references/lark-task-upload-attachment.md | markdown | 3.1 KB |
references/lark-task-sections.md
View on GitHub# task sections
> **Prerequisites:** Please read [`../../lark-shared/SKILL.md`](../../lark-shared/SKILL.md) to understand authentication, global parameters, and security rules.
## Scope and Operation Guide
This reference organizes Task `sections` workflows by Catalog method. It currently covers locating sections and listing their tasks. See the [main Skill](../SKILL.md) for group terminology and ownership routing. The current CLI Catalog/schema is authoritative for parameters, permissions, and response fields.
| User goal | Read |
|----------|----------|
| List sections in a resource or locate a section by name | [sections.list](#sectionslist) |
| List tasks in a selected section | [sections.tasks](#sectionstasks) |
## Shared Rules
1. Follow the main Skill's discovery flow: run `lark-cli task --help` and `lark-cli task sections --help`, confirm the method, and read its schema before executing a native command.
2. Use `--as user` when querying the current user's personal "My Tasks". For other operations, confirm identity and permissions through the shared rules and the method's help/schema.
3. For queries that support pagination, use `--page-all --page-limit 0` when a complete listing is required. This avoids the default page limit. If the query is interrupted or partially fails, report that results are incomplete; do not conclude that a section or task does not exist.
## sections.list
List sections in "My Tasks" or a specific tasklist, or resolve a section name to its GUID.
### Recommended Commands
**List sections in "My Tasks"**
```bash
lark-cli schema task.sections.list
lark-cli task sections list --resource-type my_tasks --as user --page-all --page-limit 0
```
**List sections in a specific tasklist**
```bash
lark-cli schema task.sections.list
lark-cli task sections list --resource-type tasklist --resource-id "<tasklist_guid>" --as user --page-all --page-limit 0
```
### Parameters
Read `lark-cli schema task.sections.list` for the full parameter structure. Choose the owning resource as follows:
- "My Tasks": use `my_tasks`; no tasklist GUID or `resource_id` is needed.
- A specific tasklist: use `tasklist` and pass its GUID through `--resource-id`.
### Workflow
1. Determine ownership from context; ask for the owning resource if it remains unclear. Use a known tasklist GUID directly. If only the tasklist name is available, follow the main Skill's tasklist lookup flow first. Do not use the section name as a tasklist search term.
2. Execute the command for the owning resource.
3. Match `name` in the returned `items`, and use the selected item's `guid` as `section_guid`. If names are duplicated, show candidate GUIDs and their known ownership so the user can select the target.
4. Report the sections or pass the selected GUID to `sections.tasks` when the user requests their tasks. If a complete listing has no match, report that the section was not found in that resource; do not automatically scan other tasklists.
## sections.tasks
List tasks in a selected section.
### Recommended Commands
```bash
lark-cli schema task.sections.tasks
lark-cli task sections tasks --section-guid "<section_guid>" --as user --page-all --page-limit 0
```
### Parameters
Read `lark-cli schema task.sections.tasks` for the full parameter structure. Pass the target section's GUID through `--section-guid`.
### Workflow
1. Use a known section GUID directly. If only the section name is available, locate it with [sections.list](#sectionslist) first. A known section GUID does not require another section or tasklist lookup.
2. Execute the command to list the section's tasks.
3. Present the returned tasks as requested. Report a complete result only after pagination finishes; otherwise, state that the results are incomplete.
## Adding Operation Guidance
For each added operation, create a `## sections.<method>` chapter using its Catalog method identifier and update the operation guide. Start with a short description, then use the Task reference convention: **Recommended Commands → Parameters → Workflow**. Keep shared rules at the start of this reference and operation-specific differences in the relevant chapter. Commands must show schema discovery before execution. Use Parameters for operation-specific choices and a schema pointer; leave complete parameter, permission, and response definitions to the schema.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |