Create issue

From AztecProtocol/aztec-packages · View interactive version

Create issue is an AI agent skill from the GitHub repository AztecProtocol/aztec-packages. Create a well-formed Linear issue — with complete context for a fresh agent, a point estimate (1/2/3/5), and acceptance criteria. Works standalone or as part of planning a project with multiple issues. Use when asked to file/create/open a Linear issue, "make a ticket", or when breaking a plan into t

How to use this skill

Skill file

Create a Linear Issue

Turn a unit of work — a bug, a CI failure, a task, or one slice of a larger plan — into a Linear issue that a fresh agent with no prior context could pick up and execute end-to-end. The default failure mode is an under-specified ticket; the whole point of this skill is to prevent that.

Two modes

This skill applies in two situations. The difference is only how much you already know — the quality bar for the issue body is identical.

Principle: the issue must be self-contained

Whoever (or whatever) picks up the issue will not have seen this conversation. Before writing, gather the real context — read the PR/diff, the failing test, the relevant source files, the CI log, the design discussion — and put the findings into the issue, not a pointer to "go investigate". A good issue includes:

Match scope to the work: a one-line fix needs a short issue, a feature needs more. But "self-contained" is non-negotiable at every size.

Acceptance criteria are required

Every issue gets a checklist of concrete, verifiable criteria that define "done". Each item must be objectively checkable — a test passes, a value is set, a behavior changes — not vague ("works better"). Include negative criteria where relevant ("does NOT also add X, because Y"). If you cannot write acceptance criteria, the issue is too vague to file — clarify it first.

Point estimate (the scoring system)

Estimates use the scale 1, 2, 3, 5 (no other values). Roughly:

Pick the estimate, then state your reasoning to the user in one line so they can override (they often will). Set it via the estimate field on save_issue.

What to confirm (ask only what you don't already know)

In planning mode most of these are already settled — inherit them. In standalone mode, use AskUserQuestion to resolve anything unclear rather than guessing:

  1. Team — which Linear team. Get the user's teams from get_user (query "me"); offer them as options. Required to create an issue.
  2. Project — whether to attach to a project. If a project is being planned, use it. Otherwise ask, and if yes, list the team's projects (list_projects) to choose.
  3. Labels — which labels to apply. Fetch the team's labels (list_issue_labels with the team) and offer the relevant ones as a multi-select rather than a blank prompt. In planning mode, apply the project's agreed label convention.
  4. Priority — if not already stated or implied by the plan, ask. Linear priority values: 1=Urgent, 2=High, 3=Medium, 4=Low, 0=None.

If the user already specified any of these, honor it and don't re-ask.

Standard fields

Steps

  1. Gather context for the unit of work — read PR/diff/logs/source/design as relevant. Do not file from memory alone.
  2. Decide the point estimate (1/2/3/5) and draft acceptance criteria.
  3. Resolve team, project, labels, priority. In planning mode inherit them from the project; in standalone mode get_user ("me") and ask for anything not already specified.
  4. If "this cycle", resolve the current cycle via list_cycles.
  5. Create with mcp__linear-server__save_issue (team, title, description in Markdown, assignee, priority, estimate, cycle, labels, project, parentId, blockedBy/blocks, links as applicable).
  6. Report each created issue's identifier and URL, and state the estimate + reasoning so the user can adjust.

Notes

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.