SkillsGrove
SkillsGrove/Productivity/SuperDaLin/lark-fashion-cockpit/lark-fashion-cockpit-okr-cascade

lark-fashion-cockpit-okr-cascade

Installation

$npx skills add https://github.com/SuperDaLin/lark-fashion-cockpit --skill lark-fashion-cockpit-okr-cascade
$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/okr-cascade ~/.claude/skills/lark-fashion-cockpit-okr-cascade
Please install this Agent Skill for me: https://github.com/SuperDaLin/lark-fashion-cockpit/tree/8b037e3026e56cf81c4e1b4e2533699350190e63/skills/okr-cascade — 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 · MITOKR 目标拆解 — 年度→季度→平台→部门→个人,与任务清单双向关联(任务承接 OKR)。当用户说「看 OKR」「拆 Q2 目标」「部门 OKR」「OKR 进度」时使用。属于 lark-fashion-cockpit 公司管理板块。
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.

OKR 目标拆解

板块: 🅴 公司管理
调用: okr + base + doc
多维表依赖: 13_OKR(核心)/ 05_任务清单(双向关联,承接拆解任务)

一、前置条件

lark-cli auth login --scope "okr:okr:read okr:okr:write base:record:read base:record:create"

读 ../../../lark-okr/SKILL.md。

二、工作流

场景 A: 看当前 OKR 全景

触发语: "看 OKR" / "Q2 目标全部" / "公司 OKR"

# 读飞书原生 OKR
lark-cli okr periods list --jq '.data.periods[] | {id, name, status}'
lark-cli okr okrs list --period-id <Q2_id>

# 同时读多维表镜像(含拆解任务双向关联)
lark-cli base +record-list \
  --base-token <APP> --table-id tbl0tdusQ2fw98wZ \
  --filter '{"conjunction":"and","conditions":[
    {"field_name":"周期","operator":"is","value":"2026Q2"}
  ]}'

场景 B: 拆解 OKR 到部门/个人

触发语: "把 Q2 GMV 目标拆到 4 个平台" / "拆部门 OKR"

lark-cli base +record-batch-create \
  --base-token <APP> --table-id tbl0tdusQ2fw98wZ \
  --json '{
    "fields":["OKR标题","周期","Objective","KR列表","进度","部门"],
    "rows":[
      ["Q2 淘宝 GMV 200 万","2026Q2","淘宝渠道完成 200 万 GMV","KR1: 月均 ≥66 万 KR2: 转化率 ≥3%",0,"运营"]
    ]
  }'

场景 C: OKR 进度自动更新

由于 OKR ↔ 任务双向关联,OKR 表里"拆解任务"字段自动同步:

lark-cli base +record-list \
  --base-token <APP> --table-id tbl0tdusQ2fw98wZ \
  --record-id <okr_id> \
  --jq '.data.record.fields["拆解任务"]'

# AI 算进度:已完成任务数 / 总任务数 × 权重
lark-cli base +record-update \
  --base-token <APP> --table-id tbl0tdusQ2fw98wZ \
  --record-id <okr_id> \
  --json '{"进度": 65}'

场景 D: OKR 周报

每周一自动跑 + 推送到部门群:

lark-cli docs +create --api-version v2 --content '<title>📊 OKR 周报 — 第 X 周</title>
<callout emoji="🎯"><p>4 个 OKR,平均完成 65%,落后 1 项</p></callout>
<h1>各 OKR 进度</h1>
...
<h1>本周关键风险</h1>
<ul><li>商品上新 OKR 落后 ⚠️ 因打样周期延误</li></ul>'

三、双向关联的妙用

13_OKR.「2026Q1商品上新」
  └─ 拆解任务(自动反向)
      ├─ 1. 选款评审会 ✅
      ├─ 2. 设计稿出图 ✅
      ├─ 3. 打版 ✅
      ├─ 4. 打样 ✅
      ├─ 5. 大货生产投单 🟡
      ├─ 6. 主图拍摄 🟡
      └─ ...(共 8 条,4 已完成 = OKR 进度 50%)

四、典型对话示例

用户:看 Q2 OKR 进度

agent:
✓ 4 个 OKR
  🟢 全公司业绩:65% (轨道内)
  🟡 商品上新:58% (落后 7%,打样延误)
  🟢 抖音内容:72% (超前)
  🟢 客户体验:80% (超前)

📊 周报:https://my.feishu.cn/docx/<id>
⚠️ 商品上新 OKR 需要您关注,建议给生产主管加压。

五、与其他 skill 协作

  • task-collaboration:任务建立时自动关联到 OKR
  • task-lifecycle:会议行动项自动挂到 OKR
  • morning-report:晨报里展示 OKR 进度

六、参考

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.