Index of every page on this site: llms.txt
All skills
clins1994 avatar

/linear

@7021bf5
by Caioclins1994/skills1 stars
Run it yourself

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.

Use this Skill: https://skilld.dev/gh/clins1994/skills/linear

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈106 tokens for metadata: the name and description. ≈1k when used: this file.

Description uses 5.3% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈426 characters, or 5.3%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

/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

  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 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](<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>](<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.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 warning23d3 checks · Risk SAFE
  • Gen Agent Trust Hub23d

    The skill facilitates interaction with Linear for issue management and commenting. It includes instructions for executing a local validation script and using curl for file uploads. A vulnerability to indirect prompt injection exists because the skill processes external data from Linear issues that could contain malicious instructions.

  • Socket23d

    No alerts

  • Snyk23d

    Risk: MEDIUM · 1 issue

Signed by skilld at 7021bf5. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 3 weeks ago.

Activeupdated last month
user-invocable
true
argument-hint
[issue | comment | reply] [issue ID or URL to update] [any language changes]

README badge

README badge for clins1994/skills/linear