smithery.ai

fetch-issue

Fetch Linear issue and create branch

First seen Mar 21, 2026

Installation

$ npx skills add https://smithery.ai

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery.ai · top by installs.

npx skills add https://smithery.ai

Browse all from smithery.ai

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 2,368 B
  • docs SUMMARY.md 55 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1 installs

SKILL.md

Fetch Linear Issue and Create Branch

Input

Linear issue identifier: $ARGUMENTS Examples: ALG-27, 27, alg-27

Steps

  1. Parse issue identifier from $ARGUMENTS:

- Accept formats: ALG-27, 27, alg-27 - Normalize to ALG-{NUM} for Linear API call - Extract number for folder naming

  1. Fetch issue details using Linear MCP:

`` mcplinear-serverget_issue with: - id: ALG-{NUM} - includeRelations: true ``

  1. Extract from issue response:

- identifier: e.g., "ALG-27" - title: Issue title - description: Full description - labels: Array of label names - status: Current status - relations.blocks: Issues this blocks - relations.blockedBy: Issues blocking this - relations.relatedTo: Related issues

  1. Parse description for mentioned issues:

- Search for patterns: ALG-\d+ (case-insensitive) - Extract unique issue identifiers mentioned in description - These are treated as "linked" issues alongside formal relations - Example: ALG-13 -> extract ALG-13

  1. For each linked issue (from relations AND description mentions):

- Use Glob to find specs/alg-{related-num}-*/spec.md (Glob matches files, not directories) - If spec.md exists, read the summary section - Collect related specs for context

  1. Derive kebab-slug from title:

- Lowercase the title - Replace spaces and special chars with hyphens - Remove consecutive hyphens - Truncate to reasonable length (40 chars max)

  1. Create branch and spec directory:

``bash NUM={extracted number} SLUG={kebab-slug} git checkout -b alg-${NUM}-${SLUG} mkdir -p specs/alg-${NUM}-${SLUG} ``

  1. Output context summary:

- Issue identifier and title - Description preview - Labels and status - Related specs found (with summaries) - Created branch name - Created spec directory path - Prompt: "Run /plan-spec to create the specification"

Notes

  • Do NOT create spec.md yet - that's handled by /plan-spec
  • Do NOT commit anything - branch creation is uncommitted
  • If branch already exists, ask user whether to switch to it or create fresh
  • If spec directory already exists, warn user and ask to proceed