Linear 标志

Linear

社区
kv0906
linear

Interact with Linear for issue tracking — search, create, sync, and link issues to vault notes. Use when the user says "/linear", "linear issues", "sync linear", "create issue", "link to linear", "check linear", "what's assigned to me", "my linear tasks", mentions Linear in any project management context, or wants to bridge their vault notes with Linear issue tracking. Also triggers when user needs to set up or connect Linear MCP.

Add to TypingMind

概览

发布者kv0906
代码仓库pm-kit
技能名称linear
星标数
140
复刻数
35
附带文件
仅含指令
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 kv0906 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Linear AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/kv0906/pm-kit/tree/main/.claude/skills/linear
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/kv0906/pm-kit.git /tmp/pm-kit
mkdir -p .claude/skills
cp -r /tmp/pm-kit/.claude/skills/linear .claude/skills/linear
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Linear,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Linear。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Linear 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

/linear — Linear Integration

Bridge your PM-Kit vault with Linear issue tracking. Search, create, sync issues and link them to vault notes.

Context

Today's date: !date +%Y-%m-%d Config: @_core/config.yaml Active projects: !ls 01-index/*.md 2>/dev/null | sed 's|01-index/||;s|\.md||'

Input

User input: $ARGUMENTS

Sub-commands

Parse the first word of $ARGUMENTS to determine the sub-command:

Input starts withSub-commandPurpose
setupSetupGuide MCP connection + auth
syncSyncPull recent updates into vault
createCreateCreate Linear issue from vault context
search or a questionSearchFind Linear issues
linkLinkConnect vault note ↔ Linear issue
(empty)StatusShow connection status + recent activity

Step 0: Connection Check

Before any sub-command (except setup), verify Linear MCP is available:

  1. Try calling any Linear MCP tool (e.g., list viewer's issues with a small limit)
  2. If the tool call fails or mcp__linear-server__* tools are not available:
Linear MCP is not connected yet.

Run `/linear setup` to connect — it takes about 30 seconds.

Then stop. Don't attempt other operations without a working connection.


setup — Connect Linear MCP

Guide the user through connecting Linear's remote MCP server to Claude Code.

Steps to present to user:

## Linear MCP Setup

Linear's MCP server is hosted by Linear — no local install needed.

### Step 1: Add the server
Run this in your terminal:

  claude mcp add --transport http linear-server https://mcp.linear.app/mcp

### Step 2: Authenticate
In a Claude Code session, run:

  /mcp

Then follow the OAuth flow — it'll open your browser to authorize Linear access.

### Step 3: Verify
Once authenticated, try:

  /linear

You should see your recent Linear activity.

After presenting, ask if the user wants help running these commands now.

If the user confirms, run the claude mcp add command via Bash, then inform them they need to run /mcp themselves (it requires interactive browser auth that can't be automated).


sync — Pull Linear Updates

Fetch recent Linear activity and optionally write it into today's daily note.

Processing

  1. Fetch assigned issues — Get issues assigned to the current user, sorted by updated date

    • Filter to recently updated (last 7 days by default, or user-specified window)
    • Group by status: In Progress, Todo, Done
  2. Fetch recent comments — Get comments on the user's assigned issues from the last few days

  3. Summarize — Present a clean summary:

## Linear Sync — {date}

### In Progress ({count})
- [{identifier}] {title} — {team} ({priority})
  ...

### Recently Updated ({count})
- [{identifier}] {title} — moved to {state} ({date})
  ...

### Recent Comments ({count})
- [{identifier}] {commenter}: "{snippet}..."
  ...
  1. Daily note integration (if --save flag or user confirms)
    • Check if today's daily note exists (daily/{date}.md)
    • Append a ### Linear subsection under the relevant project heading
    • Use [[wikilinks]] for any vault notes already linked to Linear issues

Flags

  • --save — Auto-append to daily note without asking
  • --days N — Look back N days (default: 7)
  • --project {name} — Filter to issues matching a specific project/team

create — Create Linear Issue from Vault

Create a Linear issue using context from a vault note (blocker, doc, decision, or freeform text).

Processing

  1. Determine source — Check if user provided:

    • A vault file path or wikilink → Read that note for context
    • Freeform text → Use directly
    • Nothing → Ask what to create
  2. Extract issue fields from source:

    • Title: From note's H1 or frontmatter title, or user-provided
    • Description: From note body (convert wikilinks to plain text for Linear)
    • Team: Match from project frontmatter → Linear team (ask user if ambiguous)
    • Priority: Map from blocker severity (high→urgent, medium→high, low→medium) or ask
    • Labels: Infer from note type (blocker→bug, doc→feature, decision→discussion) or ask
  3. Confirm with user before creating:

Creating Linear issue:
  Title: {title}
  Team: {team}
  Priority: {priority}
  Labels: {labels}

Proceed? (y/n)
  1. Create the issue via Linear MCP tools

  2. Link back — Add the Linear issue URL to the source note's frontmatter:

    yaml
    linear: {issue-url}

    And add to ## Links > ### Related:

    markdown
    - [LIN-{number}]({url}) — Linear issue

search — Search Linear Issues

Find issues using natural language or filters.

Processing

  1. Parse query from $ARGUMENTS (everything after "search")
  2. Search via Linear MCP — Use the search/filter tools available
  3. Present results in a scannable format:
## Linear Search: "{query}"

Found {count} issues:

| ID | Title | Status | Assignee | Priority | Updated |
|----|-------|--------|----------|----------|---------|
| {id} | {title} | {state} | {name} | {pri} | {date} |
  1. Offer actions: "Want to /linear link any of these to a vault note?"

link — Connect Vault Note ↔ Linear Issue

Create a bidirectional link between a vault note and a Linear issue.

Input

Expects: /linear link {vault-note} {linear-issue-id}

Either argument can be omitted — prompt for missing info.

Processing

  1. Resolve vault note — Find the note by path, wikilink, or fuzzy search
  2. Resolve Linear issue — By ID (e.g., ENG-123) or search
  3. Update vault note:
    • Add linear: {issue-url} to frontmatter
    • Add [{issue-id}]({url}) to ## Links > ### Related
  4. Comment on Linear issue (optional, ask user):
    • Post a comment like: "Linked to vault note: {note-title}"
  5. Confirm:
Linked:
  Vault: {note-path}
  Linear: {issue-id} — {issue-title}

(empty) — Status Overview

When called with no arguments, show a quick status:

  1. Verify Linear MCP connection
  2. Fetch a summary of the user's current work:
    • Issues in progress
    • Issues assigned but not started
    • Recently completed
  3. Show count of vault notes linked to Linear issues:
    bash
    grep -rl "^linear:" --include="*.md" | wc -l
## Linear Status

Connected as: {user-name}
Active issues: {in-progress-count} in progress, {todo-count} todo
Vault links: {linked-count} notes linked to Linear

### In Progress
- [{id}] {title} ({team})
  ...

Output

All sub-commands output to terminal. Only sync --save and create/link modify vault files.

When modifying vault files, follow all vault conventions:

  • Use [[wikilinks]] for internal references
  • Maintain ## Links sections per linking rules
  • Respect frontmatter format per markdown standards

常见问题

Linear AI 技能有什么作用?

Interact with Linear for issue tracking — search, create, sync, and link issues to vault notes. Use when the user says "/linear", "linear issues", "sync linear", "create issue", "link to linear", "check linear", "what's assigned to me", "my linear tasks", mentions Linear in any project management context, or wants to bridge their vault notes with Linear issue tracking. Also triggers when user needs to set up or connect Linear MCP.

为什么在 TypingMind 中使用 Linear?

因为您只需安装一次,就能搭配任何模型使用。Linear 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Linear?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/kv0906/pm-kit/tree/main/.claude/skills/linear。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Linear?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Linear 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Linear 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Linear AI 技能免费吗?

是的。kv0906 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇