关于 linear-comments
用于管理 Linear issue 评论的 CLI 技能,支持列出、创建和更新评论,并提供评论正文、JSON 输出及跳过删除确认的选项。
主要功能
- 01列出 issue 评论
- 02创建评论
- 03更新评论
- 04通过参数设置评论正文
- 05输出 JSON 或跳过删除确认
适用场景
- 01查看某个 issue 的评论
- 02为 issue 添加评论
- 03更新现有评论
- 04使用 JSON 输出自动处理评论
安装
复制下面的命令,在终端中运行。
$
npx skills add https:/ / github.com/ nesszer/ linear-cli --skill linear-comments安装后在 Claude Code 中输入/linear-comments确认已加载。
README 原文English
来自项目 READMEREADME 暂无中文译文,以下为英文原文;中文介绍见上方。
Comments
# List comments on an issue
linear-cli cm list ISSUE_ID
linear-cli cm list SCW-123 --output json
# Create a comment
linear-cli cm create ISSUE_ID -b "Looks good, merging!"
# Update a comment
linear-cli cm update COMMENT_ID -b "Updated text"
# Delete a comment
linear-cli cm delete COMMENT_ID --force
Flags
| Flag | Purpose |
|---|---|
-b BODY | Comment body text |
--output json | JSON output |
--force | Skip delete confirmation |
Exit Codes
0=Success, 1=Error, 2=Not found, 3=Auth error
评论
支持 Markdown