/clins:linear — Post to Linear
This skill sends a post to Linear. The text (leads, details blocks, languages, footer, check) comes from clins:post. 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
- 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.mdlists it as an open idea). - For a new issue, find the team: from the user, the repo's
AGENTS.md/CLAUDE.md, orlist_teams. Ask if more than one team fits. - 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](<url>). That is normal, and the check accepts it. - Check with
check_post.py --platform linear --skill linear.
New issue
- Title: imperative and short, with code names as they are. Match the team's language and style.
- 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: 背景, やること, 完了条件. - Fields: only the ones the user gave or the team clearly uses:
assignee(a name, email or"me"),labels(names fromlist_issue_labels),project,parentId(for a sub-issue),priority. To add a label to an existing issue, useaddLabels:labelsreplaces 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 fromlist_issue_statuses. - Image (if
clins:postadds an evidence image):prepare_file_uploadwith the file name, type and exact size, thencurl -X PUT --data-binary @<file>touploadRequest.urlwith every header fromuploadRequest.headers, unchanged. The URL expires after 60 seconds, so upload one file at a time. Putin the description after the leads. save_issuewith the title, team, description and fields. Give the user the issue ID and URL.
Update an issue description
get_issueand copy the description exactly as it comes back.- Linear turns issue IDs in a description (for example
ENG-123) into<issue id="..." href="...">tags. Keep those tags as they are. - Change the text with
clins:post("Updating a post"). - Save with
save_issue,id, andpatchoperations (replacewith an exactold_string,insert_after,append, ...). Every anchor must match the current text exactly once, so copy it from whatget_issuereturned. Do not send a full description written again from memory: the tags would not match, and someone else's edits could be lost.
Comment
- 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. save_commentwith the issue ID and the body.- To reply in a thread, pass
parentId(the top comment's ID, fromlist_comments) andbody, with noissueId. - To edit your own comment,
save_commentwith itsidand the newbody. Comments keep issue IDs as plain text, so nopatchis needed.