agentleFS
kv0906kv0906/pm-kit/.claude/skills/linear/SKILL.md

linear

Skill138 starsChanged 8 months agoMITView on GitHub

Interact with Linear for issue tracking — search, create, sync, and link issues to vault notes. Use when the user says "/linear", "linear issues", "sync linear", "create issue", "link to linear", "check linear", "what's assigned to me", "my linear tasks", mentions Linear in any project management context, or wants to bridge their vault notes with Linear issue tracking. Also triggers when user needs to set up or connect Linear MCP.

53 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use xitter, minecraft-modpack-server and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • braxtonROSE4Skill

    xitter

    Interact with X/Twitter via the x-cli terminal client using official X API credentials. Use for posting, reading timelines, searching tweets, liking, retweeting, bookmarks, mentions, and user lookups.

    Also in 3 projects that use this

  • braxtonROSE4Skill

    minecraft-modpack-server

    Set up a modded Minecraft server from a CurseForge/Modrinth server pack zip. Covers NeoForge/Forge install, Java version, JVM tuning, firewall, LAN config, backups, and launch scripts.

    Also in 3 projects that use this

  • AlexAI-MCPSkill

    jupyter-live-kernel

    Jupyter notebook and kernel operations — start kernels, execute cells programmatically, export, and data analysis patterns.

    Also in 4 projects that use this

  • AlexAI-MCPSkill

    youtube-content

    YouTube research and content operations — search, download, transcript extraction, and audio processing via yt-dlp.

    Also in 5 projects that use this

  • VercelSkill

    stripe

    Emulated Stripe API for local development and testing. Use when the user needs to process payments locally, test checkout flows, create customers, manage products and prices, handle payment intents, work with webhooks, or use the Stripe SDK without hitting real Stripe servers. Triggers include "Stripe API", "emulate Stripe", "test payments locally", "checkout flow", "payment intent", "Stripe webhook", "Stripe SDK", "STRIPE_API_KEY", or any task requiring a local Stripe API.

    Also in 4 projects that use this

  • GoogleSkill

    google-workspace

    Read/write Google Drive, Docs, Sheets, Gmail, Calendar, Chat, Tasks, Slides via the `gws` CLI. Needs an OAuth client or service account configured first. Use for any Google Workspace task.

    Also in 6 projects that use this

  • +2 more from braxtonROSE4
  • +1 more from AlexAI-MCP

The file

Show its rules and text

We split this skill into the rules it gives an agent

16 rules. 0 are common, 7 are distinctive, and 9 are very specific to this project.

  • 0

    Common

    Most of the 51 edited versions we read keep these.

  • 7

    Distinctive

    This author's own choices. Worth a look.

  • 9

    Very specific

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

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

    Before any sub-command (except setup), verify Linear MCP is available:

    line 37
  2. Very specific:

    If the tool call fails or mcp__linear-server__* tools are not available:

    line 40
  3. Distinctive:

    After presenting, ask if the user wants help running these commands now.

    line 83
  4. Very specific:

    If the user confirms, run the claude mcp add command via Bash, then inform them they need to run /mcp themselves (it requires interactive …

    line 85
  5. Very specific:

    Check if today's daily note exists (daily/{date}.md)

    line 120
  6. Very specific:

    Use [[wikilinks]] for any vault notes already linked to Linear issues

    line 122
  7. Distinctive:

    Create a Linear issue using context from a vault note (blocker, doc, decision, or freeform text).

    line 134
  8. Distinctive:

    Confirm with user: before creating:

    line 150
  9. Distinctive:

    Create a bidirectional link between a vault note and a Linear issue.

    line 201
  10. Very specific:

    Add linear: {issue-url} to frontmatter

    line 214
  11. Very specific:

    Add {issue-id} to ## Links > ### Related

    line 215
  12. Distinctive:

    When called with no arguments, show a quick status:

    line 230
  13. Distinctive:

    Verify Linear MCP connection

    line 232
  14. Very specific:

    All sub-commands output to terminal.

    line 256
  15. Distinctive:

    When modifying vault files, follow all vault conventions:

    line 258
  16. Very specific:

    Use [[wikilinks]] for internal references

    line 259

“Common” is measured: kept by at least 6 in 10 of the 51 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 — Linear Integration

Bridge your PM-Kit vault with Linear issue tracking. Search, create, sync issues and link them to vault notes.

Context

Today's date: !date +%Y-%m-%d Config: @_core/config.yaml Active projects: !ls 01-index/*.md 2>/dev/null | sed 's|01-index/||;s|\.md||'

Input

User input: $ARGUMENTS

Sub-commands

Parse the first word of $ARGUMENTS to determine the sub-command:

Input starts withSub-commandPurpose
setupSetupGuide MCP connection + auth
syncSyncPull recent updates into vault
createCreateCreate Linear issue from vault context
search or a questionSearchFind Linear issues
linkLinkConnect vault note ↔ Linear issue
(empty)StatusShow connection status + recent activity

Step 0: Connection Check

Before any sub-command (except setup), verify Linear MCP is available:

  1. Try calling any Linear MCP tool (e.g., list viewer's issues with a small limit)
  2. If the tool call fails or mcp__linear-server__* tools are not available:
Linear MCP is not connected yet.

Run `/linear setup` to connect — it takes about 30 seconds.

Then stop. Don't attempt other operations without a working connection.


setup — Connect Linear MCP

Guide the user through connecting Linear's remote MCP server to Claude Code.

Steps to present to user:

## Linear MCP Setup

Linear's MCP server is hosted by Linear — no local install needed.

### Step 1: Add the server
Run this in your terminal:

  claude mcp add --transport http linear-server https://mcp.linear.app/mcp

### Step 2: Authenticate
In a Claude Code session, run:

  /mcp

Then follow the OAuth flow — it'll open your browser to authorize Linear access.

### Step 3: Verify
Once authenticated, try:

  /linear

You should see your recent Linear activity.

After presenting, ask if the user wants help running these commands now.

If the user confirms, run the claude mcp add command via Bash, then inform them they need to run /mcp themselves (it requires interactive browser auth that can't be automated).


sync — Pull Linear Updates

Fetch recent Linear activity and optionally write it into today's daily note.

Processing

  1. Fetch assigned issues — Get issues assigned to the current user, sorted by updated date
    • Filter to recently updated (last 7 days by default, or user-specified window)
    • Group by status: In Progress, Todo, Done
  2. Fetch recent comments — Get comments on the user's assigned issues from the last few days
  3. Summarize — Present a clean summary:
## Linear Sync — {date}

### In Progress ({count})
- [{identifier}] {title} — {team} ({priority})
  ...

### Recently Updated ({count})
- [{identifier}] {title} — moved to {state} ({date})
  ...

### Recent Comments ({count})
- [{identifier}] {commenter}: "{snippet}..."
  ...
  1. Daily note integration (if --save flag or user confirms)
    • Check if today's daily note exists (daily/{date}.md)
    • Append a ### Linear subsection under the relevant project heading
    • Use [[wikilinks]] for any vault notes already linked to Linear issues

Flags

  • --save — Auto-append to daily note without asking
  • --days N — Look back N days (default: 7)
  • --project {name} — Filter to issues matching a specific project/team

create — Create Linear Issue from Vault

Create a Linear issue using context from a vault note (blocker, doc, decision, or freeform text).

Processing

  1. Determine source — Check if user provided:
    • A vault file path or wikilink → Read that note for context
    • Freeform text → Use directly
    • Nothing → Ask what to create
  2. Extract issue fields from source:
    • Title: From note's H1 or frontmatter title, or user-provided
    • Description: From note body (convert wikilinks to plain text for Linear)
    • Team: Match from project frontmatter → Linear team (ask user if ambiguous)
    • Priority: Map from blocker severity (high→urgent, medium→high, low→medium) or ask
    • Labels: Infer from note type (blocker→bug, doc→feature, decision→discussion) or ask
  3. Confirm with user before creating:
Creating Linear issue:
  Title: {title}
  Team: {team}
  Priority: {priority}
  Labels: {labels}

Proceed? (y/n)
  1. Create the issue via Linear MCP tools
  2. Link back — Add the Linear issue URL to the source note's frontmatter:
    linear: {issue-url}
    And add to ## Links > ### Related:
    - [LIN-{number}]({url}) — Linear issue

search — Search Linear Issues

Find issues using natural language or filters.

Processing

  1. Parse query from $ARGUMENTS (everything after "search")
  2. Search via Linear MCP — Use the search/filter tools available
  3. Present results in a scannable format:
## Linear Search: "{query}"

Found {count} issues:

| ID | Title | Status | Assignee | Priority | Updated |
|----|-------|--------|----------|----------|---------|
| {id} | {title} | {state} | {name} | {pri} | {date} |
  1. Offer actions: "Want to /linear link any of these to a vault note?"

link — Connect Vault Note ↔ Linear Issue

Create a bidirectional link between a vault note and a Linear issue.

Input

Expects: /linear link {vault-note} {linear-issue-id}

Either argument can be omitted — prompt for missing info.

Processing

  1. Resolve vault note — Find the note by path, wikilink, or fuzzy search
  2. Resolve Linear issue — By ID (e.g., ENG-123) or search
  3. Update vault note:
    • Add linear: {issue-url} to frontmatter
    • Add [{issue-id}]({url}) to ## Links > ### Related
  4. Comment on Linear issue (optional, ask user):
    • Post a comment like: "Linked to vault note: {note-title}"
  5. Confirm:
Linked:
  Vault: {note-path}
  Linear: {issue-id} — {issue-title}

(empty) — Status Overview

When called with no arguments, show a quick status:

  1. Verify Linear MCP connection
  2. Fetch a summary of the user's current work:
    • Issues in progress
    • Issues assigned but not started
    • Recently completed
  3. Show count of vault notes linked to Linear issues:
    grep -rl "^linear:" --include="*.md" | wc -l
## Linear Status

Connected as: {user-name}
Active issues: {in-progress-count} in progress, {todo-count} todo
Vault links: {linked-count} notes linked to Linear

### In Progress
- [{id}] {title} ({team})
  ...

Output

All sub-commands output to terminal. Only sync --save and create/link modify vault files.

When modifying vault files, follow all vault conventions:

  • Use [[wikilinks]] for internal references
  • Maintain ## Links sections per linking rules
  • Respect frontmatter format per markdown standards

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.