Skip to content
Development
Skill

/work-items-to-linear

Turn a work-items.md file (produced by /plan-work-items) into Linear issues, one per slice, in a single target Linear team. Use when you want to publish work items as Linear issues, create implementation tickets to track in Linear, or push a broken-down plan into a Linear team.

From plugin
han
26747 skills31 agents
Install
$ npx -y skills add testdouble/han --skill work-items-to-linear --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/work-items-to-linear

Context preview

The summary Claude sees to decide when to auto-load this skill.

Turn a work-items.md file (produced by /plan-work-items) into Linear issues, one per slice, in a single target Linear team. Use when you want to publish work items as Linear issues, create implementation tickets to track in Linear, or push a broken-down plan into a Linear team.

SKILL.md

work-items-to-linear.SKILL.md
name: work-items-to-linear
description: >
  Turn a work-items.md file (produced by /plan-work-items) into Linear issues, one per slice, in a single target Linear
  team. Use when you want to publish work items as Linear issues, create implementation tickets to track in Linear, or
  push a broken-down plan into a Linear team. Requires a configured Linear MCP server and a target team. Reads the
  team's real workflow states, labels, Projects, and members and resolves every option against them before creating
  anything; defaults each issue to the team's initial state, unassigned, uncategorized, with no parent or Project unless
  you ask. Links within-file `Depends on` relationships as native Linear "blocked by" relations and annotates the source
  file so re-runs resume cleanly. Does not produce the work-items file itself — use plan-work-items first. Does not post
  to Jira — use work-items-to-jira. Does not post to GitHub — use work-items-to-issues.
argument-hint:
  "[path to work-items.md] --team team [--project Linear project] [--parent issue id] [--state name] [--label name
  (repeatable)] [--assignee name, email, or me]"
allowed-tools:
  Read, Write, Edit, Glob, Grep, Bash(find *), mcp__plugin_linear_linear__save_issue,
  mcp__plugin_linear_linear__get_issue, mcp__plugin_linear_linear__list_teams,
  mcp__plugin_linear_linear__list_issue_statuses, mcp__plugin_linear_linear__list_issue_labels,
  mcp__plugin_linear_linear__list_users, mcp__plugin_linear_linear__get_user, mcp__plugin_linear_linear__list_projects,
  Bash(bash "${CLAUDE_PLUGIN_ROOT}/scripts/han-config-dir.sh")

Project Context

  • personal config directory: !`bash "${CLAUDE_PLUGIN_ROOT}/scripts/han-config-dir.sh" 2>/dev/null || echo "$HOME/.claude"`
  • project .han/config.md: !`cat .han/config.md 2>/dev/null || echo ""`

As your first action, use the Read tool on `.han/config.md` inside the `personal config directory` path above. A read that returns no file is no personal configuration: continue silently. When that file or the `project .han/config.md` probe supplies content, apply it per [config-rule.md](../../references/config-rule.md), which governs precedence between the two files, relative-path resolution, and what to do with a file that reads but cannot be used.

Work Items to Linear Issues

Take an already-broken-down `work-items.md` file (produced by `/plan-work-items`) and publish each slice as a Linear issue in a single target team.

The breakdown work — drafting slices, assigning symbolic IDs, specifying dependencies, inventorying references — has already been done upstream. This skill validates the format, confirms the target against the live team, creates one issue per slice through the Linear MCP server, links the within-file dependencies as native "blocked by" relations, and reports.

Rules

  • **Every slice posts into one Linear team.** This skill does not split work across teams or repos. A `work-items.md`

that names multiple code repos still produces issues in the single team you name; the repo prose is informational only.

  • **Dependencies are within-file only.** Every SYM named in a `Depends on` line must resolve to another slice in the

same file. A `Depends on` that names an unknown SYM, names the slice itself, or forms a cycle is a format error to surface for repair, never published.

  • **Symbolic-ID prefixes:** accept whatever the input uses. Any uppercase prefix shape is valid (`W-N`, `V2-N`, `EV-N`,

...); the prefix has no effect on team placement.

  • **Resolve against the live team before writing.** Read the team's real workflow states, labels, Projects, and members,

and resolve every named option against them before creating any issue. Nothing is assigned, categorized, grouped, or moved unless asked.

  • **No issue types.** Linear has no issue-type concept. The skill never asks for or sets one. Categorization is via the

team's real labels, chosen by the user.

  • **Every slice issue MUST carry the reference artifacts an implementer needs** — API/event contracts, design

references, schema docs, runbooks, ADRs, coding standards. Full include/exclude list in [references/reference-artifact-inventory.md](references/reference-artifact-inventory.md).

  • **NEVER include process artifacts in issue descriptions.** Excluded: iteration histories, decision logs, review

findings, team findings, facilitation summaries, gap analyses, and anything under an `artifacts/` subfolder of the plan that is not a contract or design reference.

  • **No image upload or embedding.** Design references are carried as links, not uploaded into Linear. See

[references/linear-issue-template.md](references/linear-issue-template.md).

Process

0. Linear MCP preflight (hard requirement)

This skill cannot run without a configured and connected Linear MCP server. Confirm it is reachable by calling `mcp__plugin_linear_linear__list_teams`. If the tool is unavailable, the call errors, or no workspace is accessible, **stop immediately** and tell the user the skill requires the Linear MCP server to be installed, configured, and authenticated. Do not fall back to any other publishing target.

If the integration exposes more than one Linear workspace, note which are available and confirm which one to use before resolving the team.

1. Locate the work-items file

If the path is not provided, ask for it. The input is a single `work-items.md` produced by `/plan-work-items`. Read it. Its format is described in [references/work-items-file-format.md](references/work-items-file-format.md).

2. Gather the run options

Read these from the arguments and conversation; do not guess defaults the user did not ask for:

  • **Target team** — `--team <name or key>`. **Required.** If absent, ask for it in Step 3.
  • **Project** — `--project <name or ID>`. Optional. Groups every created issue under a Linear Project.
  • **Parent** — `--parent <issue id>`. Optional. Nests every created issue as a sub-issue under the named p
Read more
Ships withhan

Han is a suite of AI skills and agents for solo (or small-team) product engineers.

Get the whole plugin

Other skills on han.