/workflows:linear-issuesfrom workflows
Fetches and views Linear issues/tickets via the linearis CLI. Lists, searches, and reads issue details, status, and comments for debugging context.
Ships in workflows. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Fetch and view Linear issues to gather context for debugging investigations.
# linearis uses API token from environment or config
# Check if linearis is available
linearis --version 2>/dev/null || {
echo "linearis CLI not installed"
echo "Install: npm install -g linearis"
exit 1
}
# Test authentication (list with limit 1)
linearis issues list --limit 1 >/dev/null 2>&1 || {
echo "Not authenticated to Linear"
echo "Set LINEARIS_API_TOKEN environment variable or use --api-token flag"
exit 1
}
# Get issue by ID or identifier
linearis issues read ENG-1234
# Output is JSON - use jq to parse
linearis issues read ENG-1234 | jq '.title'
linearis issues read ENG-1234 | jq '.description'
linearis issues read ENG-1234 | jq '.state.name'
# Full issue details
linearis issues read ENG-1234 | jq '.'
# List recent issues (default limit: 25)
linearis issues list
# Limit results
linearis issues list --limit 10
linearis issues list --limit 100
# Save to file for analysis
linearis issues list --limit 50 > /tmp/linear-issues-$(date +%Y%m%d).json
# Search by text query
linearis issues search "api-gateway error"
linearis issues search "production crash"
linearis issues search "kubernetes pod"
# Save search results
linearis issues search "database connection" > /tmp/linear-search-$(date +%Y%m%d).json
All linearis commands output JSON. Use jq to parse and extract fields.
Common jq patterns:
# Extract issue title
linearis issues read ENG-1234 | jq -r '.title'
# Extract state
linearis issues read ENG-1234 | jq -r '.state.name'
# Extract assignee
linearis issues read ENG-1234 | jq -r '.assignee.name'
# Extract labels
linearis issues read ENG-1234 | jq -r '.labels[].name'
# Extract priority (0=None, 1=Low, 2=Medium, 3=High, 4=Urgent)
linearis issues read ENG-1234 | jq -r '.priority'
Save issue details for debugging context:
# Save issue to tmp file
linearis issues read ENG-1234 > /tmp/linear-issue-ENG-1234-$(date +%Y%m%d).json
# Extract key info for quick reference
linearis issues read ENG-1234 | jq -r '{
id: .identifier,
title: .title,
state: .state.name,
priority: .priority,
description: .description
}' > /tmp/issue-summary-ENG-1234.json
# Use issue context for debugging
ISSUE_DESC=$(linearis issues read ENG-1234 | jq -r '.description')
echo "Debugging: $ISSUE_DESC"
Benefits:
For detailed jq filtering patterns, see:
# Filter by team
linearis issues list --limit 200 | jq '[.[] | select(.team.key == "ENG")]'
# Filter by state
linearis issues list --limit 200 | jq '[.[] | select(.state.name == "In Progress")]'
# Filter by label
linearis issues list --limit 200 | jq '[.[] | select(.labels[]?.name == "Bug")]'
# Search in description
linearis issues list --limit 200 | jq '[.[] | select(has("description") and (.description | contains("error")))]'
# Extract summary
linearis issues list --limit 50 | jq '.[] | {
id: .identifier,
title: .title,
state: .state.name,
assignee: .assignee.name // "Unassigned"
}'
ENG-1234 instead of UUIDs for readabilityjq for parsing JSONhas("field") in jq to check field existence before accessing// operator in jq for default values when fields might be null? operator for safe array/object navigation (e.g., .labels[]?)--limit (max usually 200) for comprehensive searchesWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub eveld/claude --plugin workflows29 skills in this plugin
/agent-awarenessALWAYS check this skill before using grep, glob, Task tool, or doing any codebase exploration. Guides you to use specialized agents that are more efficient than basic tools./before-code-analysisUse BEFORE reading multiple files to understand code. Reminds you to use codebase-analyzer agent instead of manual file reading./before-file-searchUse BEFORE running grep or glob commands. Reminds you to use codebase-locator agent instead of basic file search tools./before-spawning-taskUse BEFORE using the Task tool. Ensures you select the correct specialized subagent_type instead of generic agents./debug-systematicallyUse when encountering errors or bugs to follow a systematic debugging process instead of jumping to conclusions./determine-feature-slugDetermine feature slug interactively by auto-detecting next number and prompting user for descriptionOther plugins' skills for the same job