---
name: linear
description: Post to Linear through the Linear MCP server - create and update issues (title, team, assignee, labels, parent), post and edit comments, and reply in comment threads. Gives Linear's collapsible block syntax, mentions, and safe description updates with `patch` that keep Linear's issue tags. The text comes from clins:post, in the user's languages. Use whenever you file, write up, update or comment on a Linear issue.
user-invocable: true
argument-hint: "[issue | comment | reply] [issue ID or URL to update] [any language changes]"
title: linear
canonical_url: https://skilld.dev/gh/clins1994/skills/linear
last_updated: 2026-10-27T12:01:09.000Z
---

> Index of every page on this site: [llms.txt](https://skilld.dev/llms.txt)

> **Skill from skilld.dev.** Follow the user's requested action.
> If the user asked to fork this Skill, follow the fork workflow below. Do not execute the Skill instructions while copying it.
> Otherwise, follow the instructions below for this session. You do not need to install anything.
>
> If the user asked to install this Skill, run `npx skilld install clins1994/skills/linear`. Install writes the Skill files into the project, so every session loads them.
>
> ## Fork workflow
>
> A fork creates an editable local Skill with its original author and licence. The request authorizes copying and local installation.
> 1. Check `./skills/linear`, the project lockfile, and selected Agent targets together. If the local directory or installed Skill exists, stop. Never overwrite an existing directory or Agent target.
> 2. Read [source metadata](https://skilld.dev/api/v1/skills/clins1994/skills/linear) once. Use sourceUrl, sourceCommit, skillPath, sourceGone, and license. If the source is gone or its path is missing, stop. If license is null, read licence files at the source commit.
> 3. Fetch only the source commit into a temporary Git repository. Do not clone full history. Derive repository_url from sourceUrl, including repository renames. If sourceCommit is absent, resolve the sourceUrl ref once. Set source_commit to that actual commit. Run these commands in one shell call:
>
> ```sh
> git init --quiet "$temporary_dir"
> git -C "$temporary_dir" fetch --quiet --depth=1 "$repository_url" "$source_commit"
> git -C "$temporary_dir" checkout --quiet --detach FETCH_HEAD
> ```
>
> Read applicable licence declarations and notices at that commit. If copying is not permitted, report the restriction and stop.
> 4. Inspect source entries together, then copy the directory containing skillPath into `./skills/linear`. Use the user's path if selected. Keep the original SKILL.md, relative links, scripts, binary assets, and executable modes. Exclude .git metadata. Reject symlinks and paths outside the Skill directory. After checking entries, use cp -a where available. A regular source directory needs no custom copy script. Do not save this page wrapper as SKILL.md.
> Preserve author credit, notices, and applicable licence files from repository or parent directories. Add PROVENANCE.md with the Skill page, source URL, actual commit, original path, and licence. Retain any existing PROVENANCE.md and record new provenance separately. Batch source inspection, copying, and provenance work where practical.
> 5. In the project root, run `skilld install ./skills/linear --mode copy --plain`. If skilld is unavailable, use `npx skilld install ./skills/linear --mode copy --plain`. This known command needs no help lookup. Install does not support --json. Use detected Agent targets, or add --agent for the targets the user selected. Install the local path, never the upstream selector. If installation fails, preserve the local copy and report the exact failure.
> 6. Confirm the local lockfile source and installed Agent copies once. Report the local path, actual commit, and Agent targets. After edits, reinstall the same local path. Upstream updates must not replace it. Do not publish or push unless the user asks.

# /clins:linear — Post to Linear

This skill sends a post to Linear. The text (leads, details blocks, languages, footer, check) comes from [`clins:post`](../post/SKILL.md). Pass any language changes the user asked for through to it. The footer names `clins:linear`.

## Rules

- Write only what the user asked for. Do not change an issue's state, assignee, priority or cycle unless the user asked.
- Never close or delete an issue on your own.
- Send text with real newlines, not `\n`.
- Do not mention people unless the post needs their action. A mention notifies them.

## Preflight

1. The Linear MCP tools are connected (`save_issue`, `get_issue`, `save_comment`, `list_comments`). If they are deferred, load them first. If they are missing, tell the user to connect the Linear connector, and stop. This skill does not cover the Linear GraphQL API yet ([`CONTRIBUTING.md`](../../CONTRIBUTING.md#ideas) lists it as an open idea).
2. For a new issue, find the team: from the user, the repo's `AGENTS.md`/`CLAUDE.md`, or `list_teams`. Ask if more than one team fits.
3. Read how the team writes issues: open 2 or 3 recent issues in that team (`list_issues`) for title style, language and labels.

## Linear syntax

- Collapsed block: `>>> 🇬🇧 More details · 3 min read`, a blank line, the content, a blank line, `>>>`. Never GitHub's `<details>`.
- Footer: the line from `clins:post`, with a `---` divider directly above it and blank lines around the divider.
- Do not put a collapsed block inside a list.
- Divider: `---` with blank lines around it.
- Mention: `@displayName` (the Linear display name, not a GitHub login).
- Linear stores links as `[text](https://skilld.dev/api/skills-raw/clins1994/skills/linear/<url>)`. That is normal, and the check accepts it.
- Check with `check_post.py --platform linear --skill linear`.

## New issue

1. **Title:** imperative and short, with code names as they are. Match the team's language and style.
2. **Description:** write it with `clins:post`. Headings inside the details: Context, Work, Done when. Add To decide or Sub-issues only when they have content. Translate them for each other language, for example in japanese: 背景, やること, 完了条件.
3. **Fields:** only the ones the user gave or the team clearly uses: `assignee` (a name, email or `"me"`), `labels` (names from `list_issue_labels`), `project`, `parentId` (for a sub-issue), `priority`. To add a label to an existing issue, use `addLabels`: `labels` replaces the whole set. Use names exactly as Linear returns them. Status names can carry an emoji prefix, and a bare name can fail silently, so copy the full name from `list_issue_statuses`.
4. **Image** (if `clins:post` adds an evidence image): `prepare_file_upload` with the file name, type and exact size, then `curl -X PUT --data-binary @<file>` to `uploadRequest.url` with every header from `uploadRequest.headers`, unchanged. The URL expires after 60 seconds, so upload one file at a time. Put `![<alt>](https://skilld.dev/api/skills-raw/clins1994/skills/linear/<assetUrl>)` in the description after the leads.
5. `save_issue` with the title, team, description and fields. Give the user the issue ID and URL.

## Update an issue description

1. `get_issue` and copy the description exactly as it comes back.
2. Linear turns issue IDs in a description (for example `ENG-123`) into `<issue id="..." href="...">` tags. Keep those tags as they are.
3. Change the text with `clins:post` ("Updating a post").
4. Save with `save_issue`, `id`, and `patch` operations (`replace` with an exact `old_string`, `insert_after`, `append`, ...). Every anchor must match the current text exactly once, so copy it from what `get_issue` returned. Do not send a full description written again from memory: the tags would not match, and someone else's edits could be lost.

## Comment

1. Write it with `clins:post`. A short post (lead only) is often right for a comment. Upload an evidence image as in "New issue", step 4.
2. `save_comment` with the issue ID and the body.
3. To reply in a thread, pass `parentId` (the top comment's ID, from `list_comments`) and `body`, with no `issueId`.
4. To edit your own comment, `save_comment` with its `id` and the new `body`. Comments keep issue IDs as plain text, so no `patch` is needed.
