SkillsGrove
SkillsGrove/Productivity/SuperDaLin/lark-fashion-cockpit/lark-fashion-cockpit-task-lifecycle

lark-fashion-cockpit-task-lifecycle

Installation

$npx skills add https://github.com/SuperDaLin/lark-fashion-cockpit --skill lark-fashion-cockpit-task-lifecycle
$git clone --depth 1 https://github.com/SuperDaLin/lark-fashion-cockpit.git /tmp/lark-fashion-cockpit && mkdir -p ~/.claude/skills && cp -r /tmp/lark-fashion-cockpit/skills/task-lifecycle ~/.claude/skills/lark-fashion-cockpit-task-lifecycle
Please install this Agent Skill for me: https://github.com/SuperDaLin/lark-fashion-cockpit/tree/8b037e3026e56cf81c4e1b4e2533699350190e63/skills/task-lifecycle — read its SKILL.md and scripts first, and only install it into my skills folder once you have confirmed it is safe.

Summary

Original description · MIT任务生命周期大脑 — 不只派任务,还追踪/提醒/升级/复盘/反哺。AI 把每个任务管到死。当用户说「巡检任务」「看下逾期」「任务追踪」「任务复盘」「逾期了怎么办」「为什么任务老延期」时使用。属于 lark-fashion-cockpit 公司经营板块(第 22 个能力,task-collaboration 升级版)。
The SKILL.md below is reproduced from SuperDaLin/lark-fashion-cockpit (commit 8b037e3) under the MIT license. The text is unchanged; only the file header metadata is omitted, images are shown as links, and very long files are truncated. Copyright 2026 冯兴龙. License: LICENSE. Only the instructions file is shown; see the original repository for any scripts.

任务生命周期大脑 — AI 把每个任务管到死

🎯 老板娘的痛点: 派任务容易,<b>追踪</b>难;催完一次,下次还忘;任务延期了,<b>同样的错误一年犯三次</b>。

🚀 本 skill 解决: 派任务 → 自动追踪 → 接近截止提醒 → 逾期升级 → 完成复盘 → <b>错误自动归档反哺 AI 决策</b>,永远不重复犯同一个错。

板块: 🅰 公司经营(第 22 个能力,task-collaboration 升级版)
数据源: 05_任务清单(含 8 个生命周期字段)+ 14_审批记录(教训库)
下游联动: launch-decision / new-launch-planning / task-lifecycle


一、为什么需要这个 skill

当前 task-collaboration 升级后 task-lifecycle
派任务(一次性下发) 派任务 + 截止时间 + 预估耗时 + 提醒级别
派完就完事 cron 每天巡检追踪
老板自己问"做完了吗" 自动分级提醒(24h / 1h / 逾期)
逾期靠老板拍桌 多级升级(负责人不动 → 主管 → 老板)
完成 = 状态打勾 完成 → AI 复盘对比预估 vs 实际 → 自动打标签
错误经验不沉淀 <b>延期原因自动写入教训库 → 反哺给 launch-decision 下次决策时自动调用</b>

二、核心架构(5 阶段闭环)

1️⃣ 派(task-collaboration 改进版)
   每个任务必填:截止 / 预估耗时 / 提醒级别 / 优先级
   ↓
2️⃣ 追踪(cron 巡检)
   每天 8:00 + 18:00 自动扫描所有进行中/待启动任务
   ├─ 计算 hoursLeft = (due - now) 
   ├─ < 0     → 标"逾期"
   ├─ < 24h   → 标"紧急"  
   ├─ < 72h   → 标"接近截止"
   └─ ≥ 72h   → 标"正常"
   ↓
3️⃣ 提醒(多级升级)
   逾期      → 红色 IM 卡片到老板群 + 标"已升级"
   紧急      → 橙色卡片 ping 负责人
   接近截止  → 黄色温和提醒
   不动 24h  → 私聊负责人
   不动 48h  → 老板群@负责人
   ↓
4️⃣ 复盘(完成时)
   状态 → 已完成
   ├─ 实际开始/完成时间自动记录
   ├─ 实际耗时 vs 预估耗时对比 → 计算误差
   ├─ 自动打标签:按时完成 / 延期完成 / 提前交付 / 质量优秀 / 质量待改
   └─ 老板可补充评分
   ↓
5️⃣ 反哺(最关键的创新)
   延期完成 → 延期原因 + 角色 + 任务类型 → 自动写入 14_审批"事后教训"
   下次 launch-decision 决策 → 自动调用此教训 → 写入"必做避坑"段落
   ↓
   AI 永远不重复犯同一个错

三、05_任务清单 字段扩展

字段 类型 用途
任务标题 text (已有)
截止日期 datetime (已有,必填)
预估耗时h number 老板下达时填 — 计算误差用
实际开始 datetime 接受任务时记录
实际完成 datetime 状态切完成时记录
优先级 select P0 / P1 / P2
提醒级别 select P0每天 / P1每3天 / P2每周
追踪状态 select 正常 / 接近截止 / 紧急 / 逾期 / 已升级 / 已完成
复盘标签 multi-select 按时完成 / 提前交付 / 延期完成 / 质量优秀 / 质量待改
延期原因 text 逾期时填,反哺到教训库
最后提醒 datetime 防止重复提醒

四、运行方式

手动触发(演示用)

# 巡检 + 提醒
PowerShell -ExecutionPolicy Bypass -File scripts/task-tracker.ps1

# 复盘 + 反哺
PowerShell -ExecutionPolicy Bypass -File scripts/task-retrospective.ps1

cron 定时(生产用)

# Windows 任务计划程序 / Linux crontab
# 每天 8:00 巡检
0 8 * * * powershell -ExecutionPolicy Bypass -File <repo>/scripts/task-tracker.ps1

# 每天 18:00 巡检 + 周日 21:00 复盘
0 18 * * * powershell ... task-tracker.ps1
0 21 * * 0 powershell ... task-retrospective.ps1

飞书 event 触发(最高级,未来演进方向)

# 监听飞书任务状态变化(lark-event WebSocket 长连接)
# 任务从"进行中"→"已完成" → 实时调 task-retrospective
# 任务超过截止时间未完成 → 实时调 task-tracker 升级
lark-cli event subscribe --resource task --event status_change ...

五、典型对话示例

👩 老板:「巡检任务」

🤖 agent:5 秒后
✓ 扫描 24 个任务
✓ 🔴 逾期 2 项(摄影师拍摄逾期 1.8 天 / 运营详情页逾期 0.8 天)
✓ 🟠 紧急 1 项(朱健豪抖音视频拍摄剩 5.8h)
✓ 🟡 接近截止 2 项

→ 已自动升级到老板群(红色卡片)
→ 已标记追踪状态
→ 私聊朱健豪提醒紧急任务(5.8h 内必须开始)

👩 老板:「为什么任务老延期?」

🤖 agent:
✓ 分析 8 个已完成任务
✓ 按时率 87.5%
✓ 1 项延期:5 款设计稿出图(延期 2 天)
   原因:设计师同时跟两波打版分身乏术
   
🚨 已自动写入 14_审批"事后教训"字段
🚨 下次 launch-decision 决策时会读到这条教训
🚨 AI 下次自动建议:「上新企划时设计师 1 人不能同时承担 2 波打样工作,下次企划需错峰排期或加打版师」

→ 错误经验永久沉淀,不再重复犯

六、被其他 skill 调用

task-collaboration 调用(派任务必经)

# 创建任务时调用本 skill 自动设置生命周期字段
invoke task-lifecycle --create \
  --title "..." --due "5/10" --estimate-hours 16 \
  --reminder-level "P1每3天" --priority "P1"

morning-report 调用(晨报含巡检)

# 经营晨报增加"任务异常"模块
invoke task-tracker → 嵌入晨报 P0/P1/P2 列表

task-lifecycle 调用(复盘会包含任务复盘)

# 复盘会前自动跑 task-retrospective
# 复盘会议纪要里加"上周任务按时率 87.5% / 延期 1 项分析"

launch-decision 反向使用(最关键的反哺)

# launch-decision 给新品决策时
# 自动读 14_审批 教训库(含 task-lifecycle 写入的延期教训)
# 写入"必做避坑"段落

七、核心增量价值(评委加分)

1. 创新性 ⭐⭐⭐⭐

  • 30 个对手作品大部分是「派任务 + 通知」单次执行
  • 本 skill 是 「全生命周期 + AI 反哺」 完整闭环
  • 与来新璐 Larkchannel「事件驱动」同档创新

2. 通用性 ⭐⭐⭐⭐⭐

  • 解决"AI 数据查询 → 静态报告"普遍问题
  • 任何垂直行业(教育/餐饮/医疗/SaaS)都能复用此架构
  • 字段层 / 逻辑层 / 通知层全通用

3. 商业价值 ⭐⭐⭐⭐

  • 老板娘最痛的"任务追不上"问题彻底解决
  • 同样的错误"一年犯三次"变"AI 永远不重复犯"
  • 团队按时率提升 → ROI 直接量化

4. 工程深度 ⭐⭐⭐

  • 280+ 行 PowerShell 脚本,非纯 prompt 调用
  • cron 巡检 + 多级升级 + 自动反哺,工程量足够

八、参考

View full license text (MIT)
MIT License

Copyright (c) 2026 冯兴龙

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.