返回博客

Comma Linear 指南

委派一个 issue,或在评论里 @Comma。Comma 会调查代码库、把 issue 移到 In Progress、开一个草稿 PR,并把它的推理过程留在讨论串里。

开始使用阅读文档

Linear 里已经有团队决定要做什么、为什么做的最清晰的全貌。麻烦从 issue 写好之后开始:得有人去复现 bug、翻遍仓库、保持状态准确、开 PR,并在遇到限制时回来写说明。

连接 Linear 频道之后,你可以把整个 issue 委派给 Comma,也可以在任意评论里提及 @Comma。Comma 在你连接的电脑或它自己的云端电脑上工作,边做边更新 issue,并把推理过程直接留在 Linear 的讨论串里。

准备

  1. 在 Settings › Channels 下连接 Linear(读写 OAuth),在 Plugins 下连接 GitHub。

  2. 选择编码 Task 在哪里运行:Comma 的云端电脑,或者在 Settings › Devices 下接入的、装有 Codex 或 Claude Code 的 Mac/Linux 设备。

  3. 可选:连接 Slack 和 Notion,让 Comma 能拉取 issue 里链接的客户报告或需求说明。

@Comma 在 Linear issue 上怎么工作

假设一位同事提了 PRD-128: Make the collapse button easier to tap(“折叠按钮在触屏上太小了。把点击区域改成 24px,保持现有布局。”)。

你直接在 Linear 里评论:

text
@Comma take this one. Keep the toolbar spacing as it is.

接下来会发生这些事:

  1. 公开开始:Comma 在 issue 的动态流里开启一个活动会话(显示为由你委派),并把 issue 移到 In Progress。

  2. 带着上下文调查:阅读 issue 描述、评论、关联的 PR 以及相关的代码文件。

  3. 执行并验证:实现 24px 的点击区域且不改动工具栏间距,运行相关的检查和测试,然后开一个草稿 pull request(#482 Larger collapse target)。

  4. 带着推理过程汇报:在 PRD-128 下评论说明改了什么、验证输出和草稿 PR 链接,然后把 issue 移到 In Review。

每一个决定和取舍都留在 Linear issue 上,而不是埋在某个人的私人聊天窗口里。

产品和工程团队使用 Comma + Linear 的四种方式

1. 先调查,再定范围

text
@Comma before we estimate this issue, check how CSV export currently
buffers rows in api/exports/, find any related customer reports in
#support, and summarize two implementation options with trade-offs.

Comma 会回复代码位置和真实的限制条件,让团队在写代码之前就对范围达成一致。

Comma 桌面应用:主页侧栏里有一个 Linear 问题;聊天中 Comma 调查 COMMA-212,并把两个方案贴回该 issue。
先调查再定范围:调查结果回到 Linear issue 里。

2. 直接委派明确的打磨和修 bug 类 issue

把范围清楚的 issue 分配给 Comma 或 @Comma,比如无障碍修复、文案更新、缺失的校验、埋点钩子、小的 API 调整,然后一次性批量审阅生成的草稿 PR。

3. 每天分诊新进的 issue

在聊天里(或作为工作日 Routine)让 Comma:

text
Check all untriaged Linear issues created in the last 24 hours.
Check for duplicates, suggest priority and team labels based on our
past issues, and list any missing reproduction details. Hold all
status changes in Needs Review.

4. 让 Linear 与 GitHub 合并保持同步

text
Watch our Engineering team in Linear. When a PR linked to an In Review
issue merges to main, add the merge SHA to the issue, move it to Done,
and list today's closed issues in my end-of-day summary.

让 backlog 保持整洁的边界

  • 委派归属清清楚楚:Linear 会显示是谁委派了这项工作(Comma started by mia),责任可追溯。

  • 只开草稿 PR,绝不未经评审就合并:Comma 带着草稿 PR 把工作移到 In Review;代码评审、合并和发布归你的团队负责。

  • 不让 backlog 膨胀:在创建几十个子 issue 之前,先让 Comma 在评论里提出拆分或更新建议。


Try Comma, Now.

开始使用