Skip to content
Skills Library
Management & product · Writing

linear-formatting

/linear-formatting

Linear issue-comment and issue-link formatting conventions for tracker writes: issue-ID auto-linking, comment markdown support, the create/update tool-shape variance across Linear MCP server versions, the required Claude-authorship attribution prefix, real-newline formatting, and the repeated-issue-reference auto-linker drop. TRIGGER when: posting or editing a Linear issue comment or document, or writing text that references a Linear issue ID for a Linear-tracked repo. DO NOT TRIGGER when: the tracker is not Linear (e.g. Jira, GitHub Issues), or the write touches only a status/assignee field w

Licence
MIT
Last repository change
27.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
2
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 27.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Linear issue-comment and issue-link formatting conventions for tracker writes: issue-ID auto-linking, comment markdown support, the create/update tool-shape variance across Linear MCP server versions, the required Claude-authorship attribution prefix, real-newline formatting, and the repeated-issue-reference auto-linker drop. TRIGGER when: posting or editing a Linear issue comment or document, or writing text that references a Linear issue ID for a Linear-tracked repo. DO NOT TRIGGER when: the tracker is not Linear (e.g. Jira, GitHub Issues), or the write touches only a status/assignee field w

Original author description

Linear issue-comment and issue-link formatting conventions for tracker writes: issue-ID auto-linking, comment markdown support, the create/update tool-shape variance across Linear MCP server versions, the required Claude-authorship attribution prefix, real-newline formatting, and the repeated-issue-reference auto-linker drop. TRIGGER when: posting or editing a Linear issue comment or document, or writing text that references a Linear issue ID for a Linear-tracked repo. DO NOT TRIGGER when: the tracker is not Linear (e.g. Jira, GitHub Issues), or the write touches only a status/assignee field w

How it works

  1. Attribution
  2. MCP tool surface
  3. Issue-ID auto-linking
  4. Comment markdown support
  5. Use real newlines, not escape sequences
  6. Repeated issue references may be silently dropped
  7. Checklist
Original SKILL.md headings · 161 lines, 1,085 words
SKILL.md preview
---
name: linear-formatting
description: >
  Linear issue-comment and issue-link formatting conventions for tracker
  writes: issue-ID auto-linking, comment markdown support, the
  create/update tool-shape variance across Linear MCP server versions,
  the required Claude-authorship attribution prefix, real-newline
  formatting, and the repeated-issue-reference auto-linker drop.
  TRIGGER when: posting or editing a Linear issue comment or document,
  or writing text that references a Linear issue ID for a Linear-tracked
  repo. DO NOT TRIGGER when: the tracker is not Linear (e.g. Jira, GitHub
  Issues), or the write touches only a status/assignee field with no
  comment or document body.
user-invocable: false
---

# Linear formatting

Formatting conventions for text written back to Linear — issue comments and
documents — so issue references auto-link and markdown renders as intended.

## Attribution

**CRITICAL:** All Linear writes via MCP tools are posted through the user's
Linear API token and will appear as the user's account. To avoid confusion
(the user may think they wrote the content themselves), **always** prefix
every comment / description / document body authored by Claude with
`**[Claude Code]**` followed by the content.

Applies to:
- Comment write body.
- New issue description.
- New project description.
- New milestone description.
- New Document write content.
- The body of a Document write update when adding Claude-authored sections.

Does NOT apply to:
- Edits that preserve existing user-authored content where Claude is only
  making minor surgical changes (typos, link updates). When in doubt
  whether an edit is minor or substantive, treat it as substantive and add
  the prefix.
- Read tools (no body parameter).

If you forgot the prefix on a write that already happened, edit the
existing record by passing its `id` to the same write tool, prefixing the
corrected body with a brief note that it was originally posted without
attribution and has now been corrected. Do not post a separate "correction"
comment — the note inside the edited record documents that the correction
was made.

**Always verify the prefix landed.** After a write that should carry the
`**[Claude Code]**` prefix, refetch the record and spot-check that the
prefix is actually present — do not assume the write saved as composed.

## MCP tool surface

Two Linear MCP server naming conventions are in observed use:
`mcp__linear__<tool>` and `mcp__linear-server__<tool>`. Name a tool by its
role and check for both prefixes rather than assuming one:

- **Comment write** — post a new comment on an issue. Some server versions
  expose one tool for both create and update (`create_comment` doubling as
  the update path, or an `update_comment` that also creates); others split
  it into two separate tools, `create_comment` and `update_comment`. Either
  shape resolves under both prefixes: `mcp__linear__create_comment` /
  `mcp__linear-server__create_comment`, and likewise for `update_comment`
  where the server splits the verb.
- **Document write** — post or revise a Linear document (e.g. a project
  overview or a longer write-up than a comment fits). Same split-vs-single
  variance as comment write: `mcp__linear__create_document` /
  `mcp__linear-server__create_document`, and `update_document` under either
  prefix where the server splits it out.
- **Issue lookup** — resolve an issue ID to its current title, state, and
  URL before referencing it. `mcp__linear__get_issue` /
  `mcp__linear-server__get_issue`.

Before calling a write tool, list the available tools and match by role —
do not hardcode a specific tool name into calling code, since the shape
varies by the installed server version.

## Issue-ID auto-linking

A Linear issue ID has the shape `[A-Z]+-\d+` — one or more uppercase letters
(the team key), a hyphen, and a number (the issue's sequence number in that
team). The letter count is not fixed; each Linear team picks its own key
length.

Linear auto-links a bare issue ID mentioned in a comment or document body
into a clickable reference, and pasting a full issue URL renders it as an
inline issue-reference card. To get this behavior:

- Write the ID in plain text (`PROJ-123`) or as an `@`-mention (`@PROJ-123`);
  either auto-links.
- Do not wrap the ID in a markdown link yourself (`[PROJ-123](url)`) — Linear
  already linkifies the bare form, and manually linking it produces a
  redundant or conflicting link target.
- Do not put the ID inside a code span or code block (`` `PROJ-123` ``) unless
  the intent is to show the literal text rather than link it — code regions
  are exempt from auto-linking.
- An `@`-mentioned issue is recorded as a related issue on the issue that
  mentioned it, not only rendered as a link — mentioning an ID has a side
  effect beyond formatting, so mention only the issues the comment is
  genuinely about.

## Comment markdown support

Linear's comment and document editor accepts typed Markdown and also
converts pasted Markdown into rich text automatically. Supported elements
relevant to a tracker write-back:

- Headings (`#`, `##`, `###`), bold (`**text**`), italic (`_text_`),
  strikethrough (`~~text~~`), inline code, and fenced code blocks.
- Bulleted, numbered, and checklist (`- [ ]`) lists.
- Blockquotes (`>`) and collapsible sections.
- Tables.

Write plan-back content as plain Markdown using these elements — there is
no need to pre-render to HTML or to avoid Markdown syntax on the assumption
the comment field is plain text.

## Use real newlines, not escape sequences

Linear renders markdown but does NOT interpret `\n` escape sequences. Literal
`\n` appears as visible text in issue descriptions and comments.

**Wrong** — renders as visible `\n\n`:
```
First paragraph.\n\nSecond paragraph.
```

**Correct** — use actual line breaks in the parameter value:
```
First paragraph.

Second paragraph.
```

## Repeated issue references may be silently dropped

Linear's auto-linker wraps plain-text issue-ID mentions in `<issue id="...">`
tags when content is saved. It sometimes drops the second and later
plain-text mentions of the same issue ID, leaving fragments like
`"Tracked in ."` in the rendered doc. Observed triggers:
- A numbered list where the reference sits near a trailing period.
- The same ID already appearing earlier in the document.

First mention in the doc is safe to write as plain form (`PROJ-123`); Linear
will link it. For every subsequent mention of the same ID, write the
explicit tag to guarantee it survives:

```
Tracked in <issue id="<uuid>">PROJ-123</issue>.
```

Retrieve the ID by calling Issue lookup (the `id` field) or by fetching a
doc that already references it and copying the `id` attribute.

**Always verify after a large write-tool call.** Refetch the document
and spot-check the sections that reference issues — especially numbered
lists with repeated references. Do not assume a save succeeded end-to-end.

## Checklist

Before posting a comment or document back to Linear:

```
linear-formatting checklist:
- [ ] Claude-authored content is prefixed with **[Claude Code]**
- [ ] Issue IDs referenced in the body use the bare or @-mention form, not a manual markdown link
- [ ] No issue ID sits inside a code span/block unless showing literal text on purpose
- [ ] The write tool was resolved by role against the installed server's actual tool list, not hardcoded by name
- [ ] Paragraph breaks are real newlines in the parameter value, not literal `\n`
- [ ] Repeated mentions of the same issue ID past the first use the explicit `<issue id="...">` tag
```
Files in this package (2)
  • REFERENCES.md 2 KB
  • SKILL.md 7 KB

Versions

The database has no other skills named linear-formatting.

Database snapshot: 13.11.2026 · package version 1e20b77d117c (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 95comment-linear-issue
    Use this skill only when the user explicitly invokes /comment-linear-issue to add a Markdown comment to an existing Linear issue. This is a write skill with irreversible side effects — it must never be auto-invoked from conversational context. It shows the comment preview,…
  • 90dev10x:linear
    Linear issue tracker operations via MCP tools. Get, create, update issues and list comments. Documentation-only skill — no scripts. TRIGGER when: performing CRUD operations on Linear issues, comments, or statuses. DO NOT TRIGGER when: using GitHub Issues or JIRA (use…
  • 100linear
    Manage Linear issues through Linear's hosted MCP server. Use when users ask to create a Linear ticket, update a Linear issue, add a Linear comment, move work between states, assign work, or look up Linear issue, team, or project details from Slack context.
  • 100pr-link-issue
    Append a GitHub issue link and its Linear ticket to the current PR's description. Use when asked to "link issue to pr", "fill in issue and linear in pr", "add issue refs to pr", or when given a GitHub issue URL and asked to attach it to the current PR. Resolves the Linear ticket…
  • 90linear
    Use when user references Linear, linear.app/*/issue/ URLs, or an issue key like ENG-123, or asks to list, read, search or update Linear issues, teams, projects or cycles. Goes through the linear MCP server.
  • 100linear-create
    Create a Linear issue with a structured body (Context, What, Why, Scope, Solution) and wizard-selected status, label, and assignee via the Linear MCP. Use when filing a Linear ticket on a linear-tracked project.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.