agentleFS
danmestasdanmestas/wardrobe/skills/linear-cli/SKILL.md

linear-cli

Skill4 starsChanged 7 months agoMITView on GitHub

Use when manipulating Linear issues from the CLI — creating, updating, listing, transitioning, commenting via `acli linear` or the Linear MCP. Triggers: 'create linear issue', 'update issue status', 'list my issues', 'transition to in-progress', 'add comment to LIN-X', '/linear', 'lin issue'.

4 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

7 rules. 0 are common, 4 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 4 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    When the Linear MCP is loaded, the tools surface as mcp__linear__* — exact names depend on the server build, but typical surface:

    line 33
  2. Distinctive:

    Create issue (title, description, team, priority, labels, assignee)

    line 35
  3. Distinctive:

    Update issue (status, assignee, priority, labels)

    line 36
  4. Distinctive:

    Use these directly. They take typed inputs and avoid the parsing fragility of shelling out.

    line 41
  5. Very specific:

    When the MCP isn't loaded, fall back to Atlassian's acli:

    line 45
  6. Very specific:

    Not a project-management methodology — see linear-method.

    line 80
  7. Distinctive:

    Not a substitute for the Linear UI when the user wants to see their board.

    line 81

“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

linear-cli: Manipulating Linear Issues from the CLI

Two backends do the same job: the Linear MCP (mcp__linear__* tools) and the acli linear shell command. Prefer MCP when loaded — it has richer schema awareness, doesn't shell out, and surfaces issue / project / cycle structure as typed inputs. Fall back to acli linear when the MCP isn't available.

This skill is the mechanical surface. For judgment about when to create issues, what makes a good title, how to scope a cycle — see the separate linear-method skill. They pair.

Issue ID convention

Linear IDs are <TEAM>-<NUMBER>: INF-42, ENG-901, LIN-7. The team prefix is set per-team in Linear settings; ask the user (or read prior issue refs in the repo) if unsure.

MCP-loaded path (preferred)

When the Linear MCP is loaded, the tools surface as mcp__linear__* — exact names depend on the server build, but typical surface:

  • Create issue (title, description, team, priority, labels, assignee)
  • Update issue (status, assignee, priority, labels)
  • List issues (filtered by team, assignee, status, cycle)
  • Comment on issue
  • Get issue (full detail including comments)

Use these directly. They take typed inputs and avoid the parsing fragility of shelling out.

CLI fallback (acli linear)

When the MCP isn't loaded, fall back to Atlassian's acli:

# Create an issue
acli linear issue create --team INF --title "Fix X" --description "..." --priority 2

# List issues assigned to me
acli linear issue list --my

# List by team and status
acli linear issue list --team INF --status "In Progress"

# Update status
acli linear issue update INF-42 --status="In Progress"

# Update assignee
acli linear issue update INF-42 --assignee=<user>

# Add a comment
acli linear issue comment INF-42 "Status update: blocked on X"

# Get full issue detail
acli linear issue view INF-42

Status values are workspace-specific (typically Backlog, Todo, In Progress, In Review, Done, Cancelled); pass the exact label as it appears in Linear.

Common patterns

  • Transitioning to in-progress when starting work: acli linear issue update <ID> --status="In Progress" (or the MCP equivalent). Do this when you actually start, not when you triage.
  • Comment with PR link on open: acli linear issue comment <ID> "Opened: <PR URL>". Linear auto-links GitHub PRs when the issue ID is in the PR title or body, but an explicit comment makes the timeline more readable.
  • Filing from a triage conversation: gather title + description + labels in one pass; don't iteratively edit unless the user asks.

What this skill is not

  • Not a project-management methodology — see linear-method.
  • Not a substitute for the Linear UI when the user wants to see their board. Use it for hands-on issue manipulation, not for surfacing a dashboard.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.