/finesse:finesse-linear LINEAR_ISSUE [--max-refinements N] [--mini]from finesse
Fetch a Linear issue and plan it with /finesse or /finesse-mini
Ships in finesse. Installing the plugin adds it to Claude Code.
Fetch a Linear issue via MCP and delegate to /finesse or /finesse-mini with a structured task description. This is a lightweight wrapper — all planning logic lives in the delegated command.
Parse $ARGUMENTS:
Extract flags first:
--max-refinements N — store N, remove from arguments. Passed through to /finesse.--mini — store as boolean, remove from arguments. Delegates to /finesse-mini instead of /finesse.Extract issue identifier from remaining arguments:
issue/([A-Z]+-[0-9]+), extract the issue ID from the match.[A-Z]+-[0-9]+ directly, use it as the issue ID.https://linear.app/team/issue/PF-254/...) or a raw ID (e.g., PF-254)." and STOP.If $ARGUMENTS is empty or blank: Ask the user for the Linear issue URL or ID using AskUserQuestion. Then parse the response as in step 2.
If multiple issue-like arguments are present: Use the first one. Say: "Multiple issues detected — using [ID]. Run /finesse-linear separately for each issue."
Call the MCP tool mcp__linear-server__get_issue with the extracted issue ID.
If the tool call fails because the MCP server is not configured or the tool is not found, display:
Linear MCP Server Not Available
/finesse-linear requires the Linear MCP server. To set it up:
Get a Linear API key from https://linear.app/settings/api
Add to your MCP configuration (.mcp.json in project root or ~/.claude/mcp.json globally):
{
"mcpServers": {
"linear-server": {
"command": "npx",
"args": ["-y", "@anthropic/linear-mcp-server"],
"env": {
"LINEAR_API_KEY": "your-api-key-here"
}
}
}
}
The server must be named linear-server so the tool mcp__linear-server__get_issue is available.
Then STOP. Do not proceed without issue data.
Say: "Linear issue [ID] not found. Check the issue ID and try again." Then STOP.
Show the error and say: "Try again in a moment." Then STOP.
Build a structured task description from ALL available fields in the response. Use this format:
## Linear Issue: [ID] — [TITLE]
**Status:** [state name]
**Priority:** [priority level]
**Assignee(s):** [names, or "Unassigned"]
**Labels:** [names comma-separated, or "None"]
**Project:** [name, or "None"]
**Cycle:** [name, or "None"]
**Due date:** [date, or "None"]
**Estimate:** [points/value, or "None"]
**Git branch:** [branch name, or "None"]
**URL:** [issue URL]
### Description
[Full description text, or "No description provided."]
Then append these sections ONLY if data exists (omit entirely if empty):
Parent Issue — [PARENT_ID] — [PARENT_TITLE] ([STATUS])
Sub-Issues — Bulleted list: - [SUB_ID] — [SUB_TITLE] ([STATUS])
Relations — Bulleted list: - [TYPE]: [RELATED_ID] — [RELATED_TITLE]
Comments (chronological) — Each as: **[AUTHOR]** ([DATE]): [TEXT] separated by blank lines.
If the issue has a title but no description and no comments, append:
Note: This Linear issue has minimal detail. The planning workflow will ask clarifying questions during the discovery phase.
Invoke the appropriate Finesse command using the Skill tool:
If --mini is set:
Use Skill tool: skill: "finesse-mini", args: "<formatted task description>"
Otherwise:
Use Skill tool: skill: "finesse", args: "<formatted task description> [--max-refinements N if specified]"
The formatted task description becomes the $ARGUMENTS of the target command. The identity hook will intercept the delegated Skill invocation and inject planner identity rules as usual.
After invoking the Skill tool, this command's job is done. All subsequent interaction is handled by the delegated command.
Files this command reads when invoked
What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
13 commands in this plugin
npx claudepluginhub jonathanung/finesse --plugin finesseOther plugins' commands for the same job