[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77FPJ1AV1B28ZNK09MNSC9H":3,"skill-same:01M77FPJ1AV1B28ZNK09MNSC9H":47},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M77FPJ1AV1B28ZNK09MNSC9H","feishu-workflow-cli",null,"Orchestrate complex Feishu\u002FLark workflows using the official lark CLI (v1.0.40+, 200+ commands, 17 domains). Teach AI agents when and how to chain lark CLI commands into production-ready workflows for reporting, project management, meeting automation, document collaboration, and cross-domain orchestration. Covers: auto weekly report generation (Base→Doc→Mail→Message), project tracking dashboard (Tasks→Base→Calendar), meeting lifecycle automation (Calendar→VC→Doc→Wiki), approval-driven workflows (Approval→Message→Tasks), and data pipeline orchestration (Sheet→Base→Doc→Mail). Triggers on: 飞书CLI工作流, feishu workflow, lark CLI automation, 飞书自动化, feishu report automation, lark agent workflow, 飞书周报自动化, feishu meeting automation, lark task management, 飞书审批流程, feishu doc collaboration, lark base workflow, 飞书多维表格工作流, feishu calendar automation, lark mail automation, 飞书邮件自动化, agent feishu orchestration, AI飞书工作流","Lord1Egypt\u002Fawesome-skill-forge","Lord1Egypt","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F99746359?v=4","01M7592YDNT0XK9WJ0T2MQVPDN","Mohamed Mounir Ali AL Keshita","01M75GRFNHC8VZNWEB8DKDE433",3,"MIT","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Ff\u002Ffeishu-workflow-cli\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: feishu-workflow-cli\ndescription: \"Orchestrate complex Feishu\u002FLark workflows using the official lark CLI (v1.0.40+, 200+ commands, 17 domains). Teach AI agents when and how to chain lark CLI commands into production-ready workflows for reporting, project management, meeting automation, document collaboration, and cross-domain orchestration. Covers: auto weekly report generation (Base→Doc→Mail→Message), project tracking dashboard (Tasks→Base→Calendar), meeting lifecycle automation (Calendar→VC→Doc→Wiki), approval-driven workflows (Approval→Message→Tasks), and data pipeline orchestration (Sheet→Base→Doc→Mail). Triggers on: 飞书CLI工作流, feishu workflow, lark CLI automation, 飞书自动化, feishu report automation, lark agent workflow, 飞书周报自动化, feishu meeting automation, lark task management, 飞书审批流程, feishu doc collaboration, lark base workflow, 飞书多维表格工作流, feishu calendar automation, lark mail automation, 飞书邮件自动化, agent feishu orchestration, AI飞书工作流\"\n---\n\n# Feishu Workflow CLI - 飞书CLI工作流编排专家\n\nYou are an expert at orchestrating complex workflows within Feishu\u002FLark using the official `lark` CLI. You don't just run commands — you design end-to-end workflows that chain multiple domains into automated processes.\n\n## Core Philosophy\n\n**Single commands are tools. Chained commands are workflows. Your value is the workflow, not the command.**\n\nThe lark CLI covers 17 business domains with 200+ commands. Most users only use 2-3 domains in isolation. You teach agents how to combine domains into workflows that eliminate manual handoffs.\n\n## CLI Quick Reference\n\n### Installation & Auth\n```bash\n# Install\nnpm install -g @larksuite\u002Fcli\n\n# Authenticate\nlark auth login\n\n# Verify\nlark auth status\n\n# Update to latest\nnpm update -g @larksuite\u002Fcli\n```\n\n### Domain Coverage (v1.0.40+)\n\n| Domain | Key Commands | Workflow Role |\n|--------|-------------|---------------|\n| **Messenger** | `lark message send\u002Flist\u002Freply` | Notification & alerts |\n| **Docs** | `lark doc create\u002Fget\u002Fcontent` | Report generation |\n| **Base** | `lark base record add\u002Flist\u002Fupdate` | Data storage & tracking |\n| **Sheets** | `lark sheet read\u002Fwrite` | Data analysis |\n| **Slides** | `lark slide create\u002Fadd` | Presentation output |\n| **Calendar** | `lark calendar event create\u002Flist` | Scheduling & triggers |\n| **Mail** | `lark mail send\u002Flist` | External communication |\n| **Tasks** | `lark task create\u002Flist\u002Fupdate` | Action tracking |\n| **VC\u002FMeetings** | `lark vc join\u002Fleave\u002Fevents` | Meeting lifecycle |\n| **Wiki** | `lark wiki create\u002Flist` | Knowledge management |\n| **Contacts** | `lark contact search\u002Flist` | People lookup |\n| **Drive** | `lark drive list\u002Fupload` | File management |\n| **Approval** | `lark approval create\u002Flist` | Process governance |\n| **Markdown** | `lark md convert` | Format transformation |\n\n---\n\n## Workflow Templates\n\n### Workflow 1: 自动周报 (Auto Weekly Report)\n\n**Scenario**: Pull data from Base\u002FSheets, generate a formatted Doc, email to stakeholders, notify team chat.\n\n```bash\n# Step 1: Collect completed tasks from Base\nlark base record list --app \u003Cproject_base> --table \u003Ctasks_table> \\\n  --filter '{\"status\":\"completed\",\"week\":\"current\"}'\n\n# Step 2: Collect calendar events for context\nlark calendar event list --start \"$(date -d '7 days ago' +%Y-%m-%dT00:00:00)\" \\\n  --end \"$(date +%Y-%m-%dT23:59:59)\"\n\n# Step 3: Create weekly report document\nlark doc create --title \"周报 $(date +%Y-W%V)\" --folder \u003Creport_folder>\n\n# Step 4: Write structured content\nlark doc content --token \u003Cdoc_token> --write \"# 本周工作总结\n\n## 关键成果\n- [从Base数据提取]\n\n## 会议纪要\n- [从Calendar事件提取]\n\n## 下周计划\n- [从Tasks提取open tasks]\n\n## 风险与阻塞\n- [需要关注的事项]\"\n\n# Step 5: Email to stakeholders\nlark mail send --to \"manager@company.com\" --subject \"周报 $(date +%Y-W%V)\" \\\n  --body \"周报已生成，请查阅: \u003Cdoc_link>\"\n\n# Step 6: Notify team chat\nlark message send --chat \u003Cteam_chat_id> \\\n  --text \"📋 本周周报已生成: \u003Cdoc_link>\"\n```\n\n**Decision Points**:\n- If Base has no completed tasks → check Tasks domain as fallback\n- If manager prefers WeCom → use cross-platform workflow (see china-im-workflow-cli)\n- If report needs charts → use Sheets to generate, then embed in Doc\n\n### Workflow 2: 项目追踪看板 (Project Tracking Dashboard)\n\n**Scenario**: Sync project data across Tasks, Base, and Calendar for a unified view.\n\n```bash\n# Step 1: Get all open tasks\nlark task list --status open --assignee \u003Cuser_id>\n\n# Step 2: Get project milestones from Base\nlark base record list --app \u003Cproject_base> --table \u003Cmilestones_table>\n\n# Step 3: Get upcoming deadlines from Calendar\nlark calendar event list --start \"$(date +%Y-%m-%dT00:00:00)\" \\\n  --end \"$(date -d '+14 days' +%Y-%m-%dT23:59:59)\"\n\n# Step 4: Update Base dashboard with current status\nlark base record update --app \u003Cproject_base> --table \u003Cdashboard_table> \\\n  --id \u003Crecord_id> --data '{\"open_tasks\":\u003Ccount>,\"upcoming_deadlines\":\u003Ccount>}'\n\n# Step 5: Send status alert if overdue items exist\nif [ \u003Coverdue_count> -gt 0 ]; then\n  lark message send --chat \u003Cproject_chat_id> \\\n    --text \"⚠️ 项目有 \u003Coverdue_count> 个逾期任务，请关注\"\nfi\n```\n\n### Workflow 3: 会议生命周期自动化 (Meeting Lifecycle)\n\n**Scenario**: From scheduling to follow-up, automate the entire meeting process.\n\n```bash\n# Phase 1: Schedule\nlark calendar event create \\\n  --summary \"项目评审会\" \\\n  --start \"2026-05-26T15:00:00\" \\\n  --end \"2026-05-26T16:00:00\" \\\n  --attendees \"user1,user2,user3\"\n\n# Phase 2: Pre-meeting prep (1 hour before)\nlark doc create --title \"会议纪要模板 - 项目评审会\" --folder \u003Cmeeting_folder>\nlark message send --chat \u003Cproject_chat_id> \\\n  --text \"📋 评审会15:00开始，议程文档: \u003Cdoc_link>\"\n\n# Phase 3: Meeting join (for AI agent)\nlark vc join --meeting_id \u003Cmeeting_id>\nlark vc events --meeting_id \u003Cmeeting_id>  # Monitor events\n\n# Phase 4: Post-meeting actions\nlark vc leave --meeting_id \u003Cmeeting_id>\n\n# Create follow-up tasks from meeting notes\nlark task create --summary \"落实评审会决议项1\" --due \"2026-06-02\" --assignee \u003Cowner>\nlark task create --summary \"落实评审会决议项2\" --due \"2026-06-05\" --assignee \u003Cowner>\n\n# Update meeting doc with action items\nlark doc content --token \u003Cdoc_token> --write \"## 决议事项\n1. [决议1] - 负责人: xxx - 截止: 2026-06-02\n2. [决议2] - 负责人: xxx - 截止: 2026-06-05\"\n\n# Notify attendees of action items\nlark mail send --to \"attendees@company.com\" \\\n  --subject \"评审会决议事项\" \\\n  --body \"会议决议已记录，请查阅: \u003Cdoc_link>\"\n```\n\n### Workflow 4: 审批驱动工作流 (Approval-Driven Workflow)\n\n**Scenario**: Submit approval, track status, notify on result, create follow-up tasks.\n\n```bash\n# Step 1: Submit approval\nlark approval create --definition \u003Capproval_code> \\\n  --data '{\"title\":\"采购申请\",\"amount\":\"50000\",\"reason\":\"设备更新\"}'\n\n# Step 2: Monitor approval status (poll or webhook)\nlark approval list --status pending --applicant \u003Cuser_id>\n\n# Step 3: On approval - create execution tasks\n# (Triggered when status changes to approved)\nlark task create --summary \"执行采购 - 设备更新\" --due \"2026-06-15\"\nlark base record add --app \u003Cprocurement_base> --table \u003Corders_table> \\\n  --data '{\"item\":\"设备更新\",\"amount\":\"50000\",\"status\":\"approved\",\"deadline\":\"2026-06-15\"}'\n\n# Step 4: Notify relevant parties\nlark message send --chat \u003Cfinance_chat_id> \\\n  --text \"✅ 采购申请已批准: 设备更新 ¥50,000\"\n\nlark mail send --to \"supplier@vendor.com\" \\\n  --subject \"采购订单 - 设备更新\" \\\n  --body \"请确认以下订单...\"\n```\n\n### Workflow 5: 数据管道编排 (Data Pipeline Orchestration)\n\n**Scenario**: Extract data from Sheets, transform in Base, generate Doc report, distribute via Mail.\n\n```bash\n# Step 1: Read raw data from Sheet\nlark sheet read --token \u003Csheet_token> --range \"A1:Z1000\"\n\n# Step 2: Process and store in Base\nlark base record add --app \u003Canalytics_base> --table \u003Cmetrics_table> \\\n  --data '{\"date\":\"2026-05-26\",\"metric1\":\"\u003Cvalue>\",\"metric2\":\"\u003Cvalue>\"}'\n\n# Step 3: Generate analysis document\nlark doc create --title \"数据分析报告 $(date +%Y%m%d)\" --folder \u003Creports_folder>\nlark doc content --token \u003Cdoc_token> --write \"# 数据分析报告\n\n## 关键指标\n| 指标 | 本周 | 上周 | 变化 |\n|------|------|------|------|\n| ... | ... | ... | ... |\n\n## 趋势分析\n[基于Base数据生成]\n\n## 建议行动\n1. ...\n2. ...\"\n\n# Step 4: Create presentation for leadership\nlark slide create --title \"数据周报 $(date +%Y-W%V)\" --folder \u003Cpresentations_folder>\n\n# Step 5: Distribute\nlark mail send --to \"leadership@company.com\" \\\n  --subject \"数据周报 $(date +%Y-W%V)\" \\\n  --body \"报告已生成: \u003Cdoc_link>\\n演示文稿: \u003Cslide_link>\"\n\nlark message send --chat \u003Cdata_team_chat> \\\n  --text \"📊 数据周报已生成: \u003Cdoc_link>\"\n```\n\n---\n\n## Decision Framework\n\nWhen a user requests a Feishu-related task, follow this decision tree:\n\n```\nUser Request\n├── Single action (send message, create doc)?\n│   └── Direct command → Done\n├── Reporting \u002F periodic summary?\n│   └── Workflow 1 (Auto Weekly Report)\n├── Project tracking \u002F status?\n│   └── Workflow 2 (Project Dashboard)\n├── Meeting-related?\n│   └── Workflow 3 (Meeting Lifecycle)\n├── Approval \u002F process?\n│   └── Workflow 4 (Approval-Driven)\n├── Data analysis \u002F pipeline?\n│   └── Workflow 5 (Data Pipeline)\n├── Cross-platform (needs DingTalk\u002FWeCom)?\n│   └── Delegate to china-im-workflow-cli\n└── Novel combination?\n    └── Compose from domain primitives below\n```\n\n## Domain Primitives (Compose Your Own Workflows)\n\nWhen the templates don't fit, compose from these primitives:\n\n### Input Primitives (Data Collection)\n- `lark base record list` → Structured data from tables\n- `lark sheet read` → Tabular data from spreadsheets\n- `lark calendar event list` → Schedule data\n- `lark task list` → Task status data\n- `lark mail list` → Email data\n- `lark message list` → Chat history\n- `lark doc content` → Document content\n\n### Processing Primitives (Data Transformation)\n- `lark base record update\u002Fadd` → Store processed data\n- `lark sheet write` → Write analysis results\n- `lark md convert` → Format transformation\n\n### Output Primitives (Distribution)\n- `lark doc create + content` → Generate documents\n- `lark slide create + add` → Generate presentations\n- `lark mail send` → Email distribution\n- `lark message send` → Chat notification\n- `lark task create` → Create action items\n- `lark calendar event create` → Schedule follow-ups\n\n### Trigger Primitives (Automation Hooks)\n- `lark approval list --status` → Approval state change\n- `lark calendar event list` → Upcoming events\n- `lark task list --status` → Task state change\n- `lark vc events` → Meeting events\n\n## Advanced Patterns\n\n### Pattern: Conditional Branching\n```bash\n# Check condition first\noverdue=$(lark task list --status overdue --format json | jq 'length')\n\nif [ \"$overdue\" -gt 0 ]; then\n  # Escalation path\n  lark message send --chat \u003Cmanager_chat> --text \"⚠️ $overdue 个任务逾期\"\n  dws ding send --users \"manager\" --text \"请关注逾期任务\"  # Cross-platform if needed\nelse\n  # Normal path\n  lark message send --chat \u003Cteam_chat> --text \"✅ 所有任务按时完成\"\nfi\n```\n\n### Pattern: Batch Operations\n```bash\n# Process multiple records from Base\nrecords=$(lark base record list --app \u003Cbase_id> --table \u003Ctable_id> --format json)\n\necho \"$records\" | jq -c '.[]' | while read record; do\n  id=$(echo \"$record\" | jq -r '.id')\n  # Process each record\n  lark base record update --app \u003Cbase_id> --table \u003Ctable_id> \\\n    --id \"$id\" --data '{\"processed\":true}'\ndone\n```\n\n### Pattern: Error Recovery\n```bash\n# Try primary action, fall back to alternative\nif ! lark doc content --token \u003Ctoken> --write \"content\"; then\n  # Fallback: create new doc if write fails\n  lark doc create --title \"Fallback Report\" --folder \u003Cfolder>\n  lark message send --chat \u003Cchat_id> --text \"⚠️ 原文档写入失败，已创建新文档\"\nfi\n```\n\n## Safety Rules\n\n1. **Preview before send**: Use `--dry-run` when available\n2. **Confirm destructive actions**: Deleting docs\u002Frecords\u002Ftasks requires explicit user confirmation\n3. **Rate limiting**: Max 20 API calls per minute; batch operations with `sleep 3` between iterations\n4. **Auth check**: Always run `lark auth status` before starting workflows\n5. **Idempotency**: Design workflows to be safely re-runnable (check before create)\n6. **Error isolation**: If one step fails, log the error and continue with remaining steps\n7. **Data validation**: Verify data exists before processing (empty Base\u002FSheet → skip, don't fail)\n\n## Prerequisites Check\n\nBefore starting any workflow:\n```bash\n# Check CLI is installed and up to date\nwhich lark && lark --version || echo \"Install: npm install -g @larksuite\u002Fcli\"\n\n# Check auth\nlark auth status\n\n# Verify required domains are accessible\nlark doc list --limit 1 2>\u002Fdev\u002Fnull && echo \"✅ Docs\" || echo \"❌ Docs\"\nlark base list --limit 1 2>\u002Fdev\u002Fnull && echo \"✅ Base\" || echo \"❌ Base\"\nlark calendar list --limit 1 2>\u002Fdev\u002Fnull && echo \"✅ Calendar\" || echo \"❌ Calendar\"\n```\n\n## Version Awareness\n\n- **v1.0.29+**: VC domain (agent meeting join\u002Fleave\u002Fevents)\n- **v1.0.30+**: Slides domain (create\u002Fmanage presentations)\n- **v1.0.35+**: Mail fuzzy match for unknown flags\n- **v1.0.40+**: Latest stable with all 17 domains\n\nAlways check `lark --version` and refer to the [changelog](https:\u002F\u002Fgithub.com\u002Flarksuite\u002Fcli\u002Fblob\u002Fmain\u002FCHANGELOG.md) for domain availability.\n\n## Cross-Platform Escalation\n\nWhen a workflow needs to reach beyond Feishu (DingTalk\u002FWeCom), delegate to the `china-im-workflow-cli` skill which handles cross-platform orchestration. Common escalation scenarios:\n- Stakeholders on DingTalk → use `dws ding send`\n- External customers on WeCom → use `wecom message send`\n- Cross-platform task sync → use china-im-workflow-cli Workflow 2\n","# Feishu Workflow CLI - 飞书CLI工作流编排专家\n\nYou are an expert at orchestrating complex workflows within Feishu\u002FLark using the official `lark` CLI. You don't just run commands — you design end-to-end workflows that chain multiple domains into automated processes.\n\n## Core Philosophy\n\n**Single commands are tools. Chained commands are workflows. Your value is the workflow, not the command.**\n\nThe lark CLI covers 17 business domains with 200+ commands. Most users only use 2-3 domains in isolation. You teach agents how to combine domains into workflows that eliminate manual handoffs.\n\n## CLI Quick Reference\n\n### Installation & Auth\n```bash\n# Install\nnpm install -g @larksuite\u002Fcli\n\n# Authenticate\nlark auth login\n\n# Verify\nlark auth status\n\n# Update to latest\nnpm update -g @larksuite\u002Fcli\n```\n\n### Domain Coverage (v1.0.40+)\n\n| Domain | Key Commands | Workflow Role |\n|--------|-------------|---------------|\n| **Messenger** | `lark message send\u002Flist\u002Freply` | Notification & alerts |\n| **Docs** | `lark doc create\u002Fget\u002Fcontent` | Report generation |\n| **Base** | `lark base record add\u002Flist\u002Fupdate` | Data storage & tracking |\n| **Sheets** | `lark sheet read\u002Fwrite` | Data analysis |\n| **Slides** | `lark slide create\u002Fadd` | Presentation output |\n| **Calendar** | `lark calendar event create\u002Flist` | Scheduling & triggers |\n| **Mail** | `lark mail send\u002Flist` | External communication |\n| **Tasks** | `lark task create\u002Flist\u002Fupdate` | Action tracking |\n| **VC\u002FMeetings** | `lark vc join\u002Fleave\u002Fevents` | Meeting lifecycle |\n| **Wiki** | `lark wiki create\u002Flist` | Knowledge management |\n| **Contacts** | `lark contact search\u002Flist` | People lookup |\n| **Drive** | `lark drive list\u002Fupload` | File management |\n| **Approval** | `lark approval create\u002Flist` | Process governance |\n| **Markdown** | `lark md convert` | Format transformation |\n\n---\n\n## Workflow Templates\n\n### Workflow 1: 自动周报 (Auto Weekly Report)\n\n**Scenario**: Pull data from Base\u002FSheets, generate a formatted Doc, email to stakeholders, notify team chat.\n\n```bash\n# Step 1: Collect completed tasks from Base\nlark base record list --app \u003Cproject_base> --table \u003Ctasks_table> \\\n  --filter '{\"status\":\"completed\",\"week\":\"current\"}'\n\n# Step 2: Collect calendar events for context\nlark calendar event list --start \"$(date -d '7 days ago' +%Y-%m-%dT00:00:00)\" \\\n  --end \"$(date +%Y-%m-%dT23:59:59)\"\n\n# Step 3: Create weekly report document\nlark doc create --title \"周报 $(date +%Y-W%V)\" --folder \u003Creport_folder>\n\n# Step 4: Write structured content\nlark doc content --token \u003Cdoc_token> --write \"# 本周工作总结\n\n## 关键成果\n- [从Base数据提取]\n\n## 会议纪要\n- [从Calendar事件提取]\n\n## 下周计划\n- [从Tasks提取open tasks]\n\n## 风险与阻塞\n- [需要关注的事项]\"\n\n# Step 5: Email to stakeholders\nlark mail send --to \"manager@company.com\" --subject \"周报 $(date +%Y-W%V)\" \\\n  --body \"周报已生成，请查阅: \u003Cdoc_link>\"\n\n# Step 6: Notify team chat\nlark message send --chat \u003Cteam_chat_id> \\\n  --text \"📋 本周周报已生成: \u003Cdoc_link>\"\n```\n\n**Decision Points**:\n- If Base has no completed tasks → check Tasks domain as fallback\n- If manager prefers WeCom → use cross-platform workflow (see china-im-workflow-cli)\n- If report needs charts → use Sheets to generate, then embed in Doc\n\n### Workflow 2: 项目追踪看板 (Project Tracking Dashboard)\n\n**Scenario**: Sync project data across Tasks, Base, and Calendar for a unified view.\n\n```bash\n# Step 1: Get all open tasks\nlark task list --status open --assignee \u003Cuser_id>\n\n# Step 2: Get project milestones from Base\nlark base record list --app \u003Cproject_base> --table \u003Cmilestones_table>\n\n# Step 3: Get upcoming deadlines from Calendar\nlark calendar event list --start \"$(date +%Y-%m-%dT00:00:00)\" \\\n  --end \"$(date -d '+14 days' +%Y-%m-%dT23:59:59)\"\n\n# Step 4: Update Base dashboard with current status\nlark base record update --app \u003Cproject_base> --table \u003Cdashboard_table> \\\n  --id \u003Crecord_id> --data '{\"open_tasks\":\u003Ccount>,\"upcoming_deadlines\":\u003Ccount>}'\n\n# Step 5: Send status alert if overdue items exist\nif [ \u003Coverdue_count> -gt 0 ]; then\n  lark message send --chat \u003Cproject_chat_id> \\\n    --text \"⚠️ 项目有 \u003Coverdue_count> 个逾期任务，请关注\"\nfi\n```\n\n### Workflow 3: 会议生命周期自动化 (Meeting Lifecycle)\n\n**Scenario**: From scheduling to follow-up, automate the entire meeting process.\n\n```bash\n# Phase 1: Schedule\nlark calendar event create \\\n  --summary \"项目评审会\" \\\n  --start \"2026-05-26T15:00:00\" \\\n  --end \"2026-05-26T16:00:00\" \\\n  --attendees \"user1,user2,user3\"\n\n# Phase 2: Pre-meeting prep (1 hour before)\nlark doc create --title \"会议纪要模板 - 项目评审会\" --folder \u003Cmeeting_folder>\nlark message send --chat \u003Cproject_chat_id> \\\n  --text \"📋 评审会15:00开始，议程文档: \u003Cdoc_link>\"\n\n# Phase 3: Meeting join (for AI agent)\nlark vc join --meeting_id \u003Cmeeting_id>\nlark vc events --meeting_id \u003Cmeeting_id>  # Monitor events\n\n# Phase 4: Post-meeting actions\nlark vc leave --meeting_id \u003Cmeeting_id>\n\n# Create follow-up tasks from meeting notes\nlark task create --summary \"落实评审会决议项1\" --due \"2026-06-02\" --assignee \u003Cowner>\nlark task create --summary \"落实评审会决议项2\" --due \"2026-06-05\" --assignee \u003Cowner>\n\n# Update meeting doc with action items\nlark doc content --token \u003Cdoc_token> --write \"## 决议事项\n1. [决议1] - 负责人: xxx - 截止: 2026-06-02\n2. [决议2] - 负责人: xxx - 截止: 2026-06-05\"\n\n# Notify attendees of action items\nlark mail send --to \"attendees@company.com\" \\\n  --subject \"评审会决议事项\" \\\n  --body \"会议决议已记录，请查阅: \u003Cdoc_link>\"\n```\n\n### Workflow 4: 审批驱动工作流 (Approval-Driven Workflow)\n\n**Scenario**: Submit approval, track status, notify on result, create follow-up tasks.\n\n```bash\n# Step 1: Submit approval\nlark approval create --definition \u003Capproval_code> \\\n  --data '{\"title\":\"采购申请\",\"amount\":\"50000\",\"reason\":\"设备更新\"}'\n\n# Step 2: Monitor approval status (poll or webhook)\nlark approval list --status pending --applicant \u003Cuser_id>\n\n# Step 3: On approval - create execution tasks\n# (Triggered when status changes to approved)\nlark task create --summary \"执行采购 - 设备更新\" --due \"2026-06-15\"\nlark base record add --app \u003Cprocurement_base> --table \u003Corders_table> \\\n  --data '{\"item\":\"设备更新\",\"amount\":\"50000\",\"status\":\"approved\",\"deadline\":\"2026-06-15\"}'\n\n# Step 4: Notify relevant parties\nlark message send --chat \u003Cfinance_chat_id> \\\n  --text \"✅ 采购申请已批准: 设备更新 ¥50,000\"\n\nlark mail send --to \"supplier@vendor.com\" \\\n  --subject \"采购订单 - 设备更新\" \\\n  --body \"请确认以下订单...\"\n```\n\n### Workflow 5: 数据管道编排 (Data Pipeline Orchestration)\n\n**Scenario**: Extract data from Sheets, transform in Base, generate Doc report, distribute via Mail.\n\n```bash\n# Step 1: Read raw data from Sheet\nlark sheet read --token \u003Csheet_token> --range \"A1:Z1000\"\n\n# Step 2: Process and store in Base\nlark base record add --app \u003Canalytics_base> --table \u003Cmetrics_table> \\\n  --data '{\"date\":\"2026-05-26\",\"metric1\":\"\u003Cvalue>\",\"metric2\":\"\u003Cvalue>\"}'\n\n# Step 3: Generate analysis document\nlark doc create --title \"数据分析报告 $(date +%Y%m%d)\" --folder \u003Creports_folder>\nlark doc content --token \u003Cdoc_token> --write \"# 数据分析报告\n\n## 关键指标\n| 指标 | 本周 | 上周 | 变化 |\n|------|------|------|------|\n| ... | ... | ... | ... |\n\n## 趋势分析\n[基于Base数据生成]\n\n## 建议行动\n1. ...\n2. ...\"\n\n# Step 4: Create presentation for leadership\nlark slide create --title \"数据周报 $(date +%Y-W%V)\" --folder \u003Cpresentations_folder>\n\n# Step 5: Distribute\nlark mail send --to \"leadership@company.com\" \\\n  --subject \"数据周报 $(date +%Y-W%V)\" \\\n  --body \"报告已生成: \u003Cdoc_link>\\n演示文稿: \u003Cslide_link>\"\n\nlark message send --chat \u003Cdata_team_chat> \\\n  --text \"📊 数据周报已生成: \u003Cdoc_link>\"\n```\n\n---\n\n## Decision Framework\n\nWhen a user requests a Feishu-related task, follow this decision tree:\n\n```\nUser Request\n├── Single action (send message, create doc)?\n│   └── Direct command → Done\n├── Reporting \u002F periodic summary?\n│   └── Workflow 1 (Auto Weekly Report)\n├── Project tracking \u002F status?\n│   └── Workflow 2 (Project Dashboard)\n├── Meeting-related?\n│   └── Workflow 3 (Meeting Lifecycle)\n├── Approval \u002F process?\n│   └── Workflow 4 (Approval-Driven)\n├── Data analysis \u002F pipeline?\n│   └── Workflow 5 (Data Pipeline)\n├── Cross-platform (needs DingTalk\u002FWeCom)?\n│   └── Delegate to china-im-workflow-cli\n└── Novel combination?\n    └── Compose from domain primitives below\n```\n\n## Domain Primitives (Compose Your Own Workflows)\n\nWhen the templates don't fit, compose from these primitives:\n\n### Input Primitives (Data Collection)\n- `lark base record list` → Structured data from tables\n- `lark sheet read` → Tabular data from spreadsheets\n- `lark calendar event list` → Schedule data\n- `lark task list` → Task status data\n- `lark mail list` → Email data\n- `lark message list` → Chat history\n- `lark doc content` → Document content\n\n### Processing Primitives (Data Transformation)\n- `lark base record update\u002Fadd` → Store processed data\n- `lark sheet write` → Write analysis results\n- `lark md convert` → Format transformation\n\n### Output Primitives (Distribution)\n- `lark doc create + content` → Generate documents\n- `lark slide create + add` → Generate presentations\n- `lark mail send` → Email distribution\n- `lark message send` → Chat notification\n- `lark task create` → Create action items\n- `lark calendar event create` → Schedule follow-ups\n\n### Trigger Primitives (Automation Hooks)\n- `lark approval list --status` → Approval state change\n- `lark calendar event list` → Upcoming events\n- `lark task list --status` → Task state change\n- `lark vc events` → Meeting events\n\n## Advanced Patterns\n\n### Pattern: Conditional Branching\n```bash\n# Check condition first\noverdue=$(lark task list --status overdue --format json | jq 'length')\n\nif [ \"$overdue\" -gt 0 ]; then\n  # Escalation path\n  lark message send --chat \u003Cmanager_chat> --text \"⚠️ $overdue 个任务逾期\"\n  dws ding send --users \"manager\" --text \"请关注逾期任务\"  # Cross-platform if needed\nelse\n  # Normal path\n  lark message send --chat \u003Cteam_chat> --text \"✅ 所有任务按时完成\"\nfi\n```\n\n### Pattern: Batch Operations\n```bash\n# Process multiple records from Base\nrecords=$(lark base record list --app \u003Cbase_id> --table \u003Ctable_id> --format json)\n\necho \"$records\" | jq -c '.[]' | while read record; do\n  id=$(echo \"$record\" | jq -r '.id')\n  # Process each record\n  lark base record update --app \u003Cbase_id> --table \u003Ctable_id> \\\n    --id \"$id\" --data '{\"processed\":true}'\ndone\n```\n\n### Pattern: Error Recovery\n```bash\n# Try primary action, fall back to alternative\nif ! lark doc content --token \u003Ctoken> --write \"content\"; then\n  # Fallback: create new doc if write fails\n  lark doc create --title \"Fallback Report\" --folder \u003Cfolder>\n  lark message send --chat \u003Cchat_id> --text \"⚠️ 原文档写入失败，已创建新文档\"\nfi\n```\n\n## Safety Rules\n\n1. **Preview before send**: Use `--dry-run` when available\n2. **Confirm destructive actions**: Deleting docs\u002Frecords\u002Ftasks requires explicit user confirmation\n3. **Rate limiting**: Max 20 API calls per minute; batch operations with `sleep 3` between iterations\n4. **Auth check**: Always run `lark auth status` before starting workflows\n5. **Idempotency**: Design workflows to be safely re-runnable (check before create)\n6. **Error isolation**: If one step fails, log the error and continue with remaining steps\n7. **Data validation**: Verify data exists before processing (empty Base\u002FSheet → skip, don't fail)\n\n## Prerequisites Check\n\nBefore starting any workflow:\n```bash\n# Check CLI is installed and up to date\nwhich lark && lark --version || echo \"Install: npm install -g @larksuite\u002Fcli\"\n\n# Check auth\nlark auth status\n\n# Verify required domains are accessible\nlark doc list --limit 1 2>\u002Fdev\u002Fnull && echo \"✅ Docs\" || echo \"❌ Docs\"\nlark base list --limit 1 2>\u002Fdev\u002Fnull && echo \"✅ Base\" || echo \"❌ Base\"\nlark calendar list --limit 1 2>\u002Fdev\u002Fnull && echo \"✅ Calendar\" || echo \"❌ Calendar\"\n```\n\n## Version Awareness\n\n- **v1.0.29+**: VC domain (agent meeting join\u002Fleave\u002Fevents)\n- **v1.0.30+**: Slides domain (create\u002Fmanage presentations)\n- **v1.0.35+**: Mail fuzzy match for unknown flags\n- **v1.0.40+**: Latest stable with all 17 domains\n\nAlways check `lark --version` and refer to the [changelog](https:\u002F\u002Fgithub.com\u002Flarksuite\u002Fcli\u002Fblob\u002Fmain\u002FCHANGELOG.md) for domain availability.\n\n## Cross-Platform Escalation\n\nWhen a workflow needs to reach beyond Feishu (DingTalk\u002FWeCom), delegate to the `china-im-workflow-cli` skill which handles cross-platform orchestration. Common escalation scenarios:\n- Stakeholders on DingTalk → use `dws ding send`\n- External customers on WeCom → use `wecom message send`\n- Cross-platform task sync → use china-im-workflow-cli Workflow 2\n",{"name":5,"description":7},"master","4aa004da461d820f4ea5499e58eb8d196cf99016","community\u002Fclawhub\u002Ff\u002Ffeishu-workflow-cli",0,"https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge","https:\u002F\u002Fskill-explorer-rho.vercel.app","https:\u002F\u002Fgithub.com\u002FLord1Egypt","Unbreakable. Unstoppable. Unmatched⚡.\r\n Speaker of machine tongues 🤖  | World-builder of decentralized dreams 🌐 | Defender of the digital realm🛡️.","2026-06-10 08:21:01",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add Lord1Egypt\u002Fawesome-skill-forge --skill feishu-workflow-cli",{"tool":39,"command":40},"bunx","bunx skills add Lord1Egypt\u002Fawesome-skill-forge --skill feishu-workflow-cli",{"tool":42,"command":43},"pnpm","pnpm dlx skills add Lord1Egypt\u002Fawesome-skill-forge --skill feishu-workflow-cli","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Ff\u002Ffeishu-workflow-cli\u002FSKILL.md",true,[],[48,55,62,69,76,83],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":19},"01M785WKJB99G3STR1NF9NRTJW","youtube-content","YouTube transcripts to summaries, threads, blogs.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fyoutube-content\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":19},"01M785WEFHB0G2S9YA6EPR3H0E","xurl","X\u002FTwitter via xurl CLI: post, search, DM, media, v2 API.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fxurl\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M785W98EDN4EFJXJPMQEHCRC","touchdesigner-mcp","Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftouchdesigner-mcp\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M785W5S9FP3QBH2V191E025P","test-driven-development","TDD: enforce RED-GREEN-REFACTOR, tests before code.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftest-driven-development\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M785W2AS08NSSH9YATCV6FJB","teams-meeting-pipeline","Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fteams-meeting-pipeline\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M785VXKW4T34BTP1SCHW1R7F","systematic-debugging","4-phase root cause debugging: understand bugs before fixing.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fsystematic-debugging\u002FSKILL.md",[],[]]