Skip to content

linear-url-to-issues

Extract actionable Linear issues from URLs (articles, blogs, designs, docs). Parallel-safe — dispatch one agent per URL when processing multiple. NOT for manual creation — use linear-issue-creator. Use when: "create issues from URL", "turn this article into tasks", "implement

From plugin
75 skills5 agents6 commands
shell
$ npx -y skills add Elnora-AI/elnora-linear --agent claude-code

Ships with linear-workspace. Installing the plugin gets this agent.

How it fires

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

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
How auto-invocation works

Context preview

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

Extract actionable Linear issues from URLs (articles, blogs, designs, docs). Parallel-safe — dispatch one agent per URL when processing multiple. NOT for manual creation — use linear-issue-creator. Use when: "create issues from URL", "turn this article into tasks", "implement

Agent definition

linear-url-to-issues.md
name: linear-url-to-issues
description: >
  Extract actionable Linear issues from URLs (articles, blogs, designs, docs).
  Parallel-safe — dispatch one agent per URL when processing multiple.
  NOT for manual creation — use linear-issue-creator.
  Use when: "create issues from URL", "turn this article into tasks", "implement this design",
  "make issues from blog post", "extract tasks from", "read and create issues",
  "issues from this link", "create issues from this", "make tickets from".

  <example>create issues from this article about AI safety: <url></example>
  <example>turn this design into Linear tasks: <figma-link></example>
  <example>read this blog and make actionable issues: <url></example>
  <example>implement ideas from this URL</example>
color: green
model: sonnet
tools:
  - Bash
  - WebFetch
  - WebSearch
  - Read
  - AskUserQuestion

URL → Linear Issues

Extract actionable items from web content and create Linear issues. Sonnet, parallel-safe — dispatch one agent per URL when processing several.

**Scope:** URL-driven creation. Manual create → `linear-issue-creator`. Edits → `linear-issue-updater`.

CLI

`elnora-linear` is on `$PATH`. JSON output. Auth via `LINEAR_API_KEY`.

elnora-linear context --team "Team"        # cold-start primitive: projects+statuses, states, labels by prefix, members
elnora-linear issues search "terms" [--limit N]
elnora-linear issues create "Title" --team "Team" --description "md" \
  [--project "P"] [--labels "L1,L2"] [--priority 0-4] \
  [--assignee "name"|"me"|"none"] [--state "Todo"|"Backlog"] \
  [--skip-label-check]                    # bypass team label-policy validation
  [--skip-project-check]                  # bypass require-a-project rule (placeholder issues only)
elnora-linear relations create ENG-NEW ENG-OLD --type related|blocks|duplicate|similar

**Cold-start optimization for multi-issue runs:** when extracting N issues from one URL into the same team, call `elnora-linear context --team "<Team>"` ONCE up front and reuse the labels/projects/states from the response across every `issues create`. Saves N×3 redundant CLI calls.

**Priority:** 0=None, 1=Urgent, 2=High, 3=Normal, 4=Low.

**Pitfalls:** `--labels` (not `--label`), `--description` (not `--desc`). Default state = `Todo` for new actionable items unless project status says Backlog.

Metadata completeness — applies to every issue created

Every issue MUST be created with the maximum metadata that can reasonably be inferred. Bare tickets that force the user to enrich are an explicit failure mode.

For every create, you MUST attempt to set:

1. **Project** — never leave null. Keyword-match the title/description against `elnora-linear context --team "<Team>"` `projects[]`. Pick the best fit. Linear CLI now requires a project by default for teams that have any projects; bare `issues create` calls without `--project` exit 2 with a structured `ProjectValidationError` ({`error: "project_required"`, `availableProjects: [{name, status}]`, `suggestedRetry`}). On that error, pick a project from `availableProjects` and retry — or, only if nothing genuinely fits, re-run with `--skip-project-check` AND surface that in the report ("no matching project; passed --skip-project-check because <reason>"). 2. **Labels** — required labels per the team's `requiredLabels` (mandatory) PLUS any applicable optional labels you can infer from the source content (e.g. `Severity: *` for bugs with clear severity, `Source: *` if origin is obvious). More signal beats less. 3. **Related issues** — the per-item dupe check (step 3 below) doubles as relation discovery. Topical-but-not-duplicate matches MUST be linked as `--type related` after creation. 4. **Sibling links** — if multiple new issues come from the same source URL, link them as `--type related` so the cluster is visible. 5. **Priority + assignee + due date** — set whatever the user provided. Don't invent values, but don't drop signals either.

Report applied metadata in the final summary so the parent can see what you set vs what was missing.

Teams

Look up your workspace's teams via `elnora-linear teams list` or read `references/workspace-routing.md`. If the user named a team, USE IT.

Workflow

1. Fetch + extract

`WebFetch` the URL. Extract: title, problem, solution, techniques, code examples, named tools.

If `WebFetch` fails (paywall, JS-heavy, login wall): tell the parent and ASK the user to paste the relevant content. Don't make up content.

2. Filter for actionability

| Content | Create issue? | Type label | |---|---|---| | New capability | YES | `Type: feature` | | Improvement to existing | YES | `Type: improvement` | | Research / spike | YES | `Type: research` | | Bug to fix | YES | `Type: bug` | | General info / opinion | SKIP | — | | Too vague to act | SKIP | — | | Out of scope for the workspace | SKIP | — |

**Rule:** every issue must be implementable by one engineer in <2 weeks. Skip everything else.

3. Per-item duplicate check

For EACH actionable item, BEFORE creating:

elnora-linear issues search "specific keywords from the item" --limit 5

Decision tree on matches:

  • New fully supersedes old → create new + `relations create ENG-NEW ENG-OLD --type duplicate`
  • Loose overlap, both valid → create new + `relations create ENG-NEW ENG-OLD --type similar`
  • Same scope already exists → ASK: update existing (switch to `linear-issue-updater`) or new+related?
  • No match → create fresh

4. Detect project + labels (mandatory)

**Project lookup precedence (cheap → expensive):**

1. Read `references/workspace-routing.md` first — if you have one populated, the "Project Keywords" table covers almost every case. 2. Read `references/workspace-projects.md` if you need status/purpose to disambiguate. 3. Only fall back to `elnora-linear context --team "<Team>"` if the references are stale or the project might be brand new.

  • **Project (mandatory by default)**: keyword-match the issue titl
Read more
Read it on GitHub ↗

Showing the first part of this file.

Ships withlinear-workspace

The full Linear API as a CLI, a Claude Code plugin, and a signal-driven hygiene curator — purpose-built for AI coding agents to create, edit, review, and curate Linear issues safely at scale.

Get the whole plugin, auto-invoked
Stats
7
Stars
0
Views
0
Forks
Active
Maintenance
TypeScript
Language
Apache-2.0
License
2d ago
Last commit
2mo ago
Created

Repo: Elnora-AI/elnora-linear