SuperAPI AI 工具集

linear

办公与效率

查看项目

更新于 10-15 21:53

技能介绍

用途:这是 Linear 议题跟踪器的独立命令行工具,除 Python 3 外无其他依赖,可用于创建、列出、查看、更新和搜索 Linear 议题,查看团队、状态与标签信息,以及添加评论。

主要能力:支持创建议题(指定团队、状态、负责人、截止日期、优先级、描述和标签)、列出议题(按我的、团队、状态、优先级筛选,可限制数量)、查看议题详情、更新议题(状态、优先级、截止日期、负责人、标题)、添加评论,以及查询团队、当前用户、状态和标签。优先级可用 urgent、high、medium、low、none 或 0-4;截止日期支持 YYYY-MM-DD、today、tomorrow。默认输出人类可读文本,加 --json 可输出机器可读格式。

使用方式:首次使用运行 linear auth,通过浏览器 OAuth 认证,无需 API 密钥,使用 MCP 动态客户端注册与 PKCE,凭证存放在 ~/.config/linear/ 且权限为 0600。CLI 脚本位于技能目录的 scripts/linear,可直接执行或使用绝对路径。常用命令示例如下:

linear auth linear create "Issue title" --team GLE --state Todo --assignee me --due today --priority high --description "Markdown description" --label "Bug" linear list --mine --status "In Progress" linear list --team GLE --status Todo --limit 10 linear show GLE-123 --json linear update GLE-123 --state "In Progress" linear comment GLE-123 "This is done, merging now" linear teams linear me linear statuses --team GLE linear labels --team GLE

约定与限制:在 --team 参数中使用团队键(如 GLE),而不是完整团队名称;除非另行指定,默认负责人为 me;新议题默认状态为 Todo;当日任务可用 --due today。从对话上下文创建议题时,应写简洁标题和结构化 Markdown 描述。关于价格、平台范围和具体使用效果,资料未提供,暂未说明。