{"name":"track-in-linear","title":"Track work in Linear","description":"Write to Linear the way a team can rely on: one call at a time, each read back; every ticket classified as exactly one kind; decisions and progress recorded as comments, never as rewrites; labels changed without wiping the rest; another ticket mentioned only when it is really related; files attached, not linked; and work never marked accepted by the agent that did it. The team's own values come from its profile, and any it leaves out are asked for. Symptoms: open a ticket, what kind is this, move it to review, mark it shipped, it reached staging, record this on the ticket, who owes this, add the release label, a ticket with no assignee, a pull request that should link a ticket, a related link nobody asked for. Analysing a ticket is analyse-ticket's, building one implement-ticket's, moving a build between environments promote-release's, and putting rules or documents into Linear publish-to-linear's.","compatibility":"Linear's MCP server, or a client with the same tools (get_user, get_issue, list_comments, save_issue, save_comment, prepare_attachment_upload, create_attachment_from_upload, list_documents, get_document), signed in with write access to the team. The team's values come from a profile file, LINEAR.md by default; without one the skill asks for each value it needs. Output is the writes, each read back, and a short report of what changed and what was left alone.","allowedTools":"Read Grep Glob Bash","license":"MIT","kind":"signals","useWhen":"work is filed, classified, moved, labelled, commented on or closed in Linear, or a decision or a step of progress must be recorded on a ticket","group":"workflow","lifecycle":"release","version":"1.0.0","author":"crissmoldovan","install":["npx skills add crissmoldovan/agent-skills --skill track-in-linear"],"asks":["Use track-in-linear: file what Dana sent in the support thread as a ticket in our team. Her exact\nwords and both screenshots on it, the right kind, and read it back.","We just decided to drop the CSV export from this release. Record that on every ticket it touches,\nwith the time and my words, before you carry on.","2.4.0-staging.1 is live on staging. Mark every ticket it carries: shipped, stage Staging, its\nversion label, one comment each. List any you leave alone and why.","The related links on ABC-41 look wrong. Find which writes added them and take off the ones that\nare not real relations."],"commands":[],"documents":[{"path":"references/team-profile.md","slug":"team-profile","title":"The team profile","body":"# The team profile\n\nOne file per team holds every value the Linear workflow skills need and Linear cannot tell them:\nwho gets unowned tickets, which status means \"ready for review\", who verifies, who says go for\nproduction. The skills read it before their first write and never borrow a value from another\nteam. A value the profile leaves out is asked of the person the session works for; it is never\nguessed.\n\nKeep it at the root of the repository the team's work happens in, as `LINEAR.md`, unless the\nskill's binding B1 names another place. Copy the template below and fill it in. Every section is\noptional except **Team**; a skill that needs a section the profile does not have says so and asks.\n\nThe values here are for agents and people alike. Write them as plain facts, not instructions to\nan agent: the skills already carry the rules.\n\n## Template\n\n````markdown\n# How <team name> works in Linear\n\n## Team\n\n- Workspace: <workspace name>\n- Team: <team name>, key `<KEY>`, id `<team uuid>` (from `get_team`)\n- Lead: <name>, who rules on the team's open questions and is told what an agent finds\n- Default assignee: <name>, who gets every ticket an agent creates or writes to unassigned\n- Standing rules page: the team document titled \"Standing rules\" (or: none yet)\n\n## Statuses\n\nMap each role the skills use to this team's own status name. Leave a role out if the team does\nnot use it.\n\n| Role | Status | Who moves a ticket there |\n|---|---|---|\n| intake | Triage | anyone filing |\n| planned | Todo | a person, after sorting |\n| investigating | — | |\n| in progress | In Progress | the work's first pull request, or by hand with a comment |\n| in review | In Review | the pull request, with the evidence attached, or by hand |\n| shipped | Done | the release that carries the work |\n| accepted | — | a person other than the one who did the work |\n| blocked | — | anyone, with the reason and what it waits on |\n| canceled | Canceled | a person, with the reason |\n| duplicate | Duplicate | a person, with the original linked |\n\n## Labels\n\n- Kind group: `Kind` — kinds in the order they are tried: Question, Bug, Feature request,\n  Change request, Task (add the team's own, e.g. Data request, Access request, Notice)\n- Bug label: `Bug` (say whether it sits inside the Kind group or outside it)\n- Origin group: `Origin` — Client, Internal (or: none)\n- Source group: `Source` — Email, Chat, Call, Direct in Linear (or: none)\n- Severity group: (or: none)\n- Waiting-on label: (or: none)\n- Stage group: `Reached` — Preview, Staging, Production, single choice (or: none)\n- Version labels: yes, one per release, named as shipped (or: no; or: Linear Releases)\n\n## Titles\n\n- Numbering: none (or: titles lead with the team's record number, e.g. `REC-012 · …`, taken from <where>)\n\n## Where other asks go\n\n| Ask | Goes to |\n|---|---|\n| access, invites, accounts | <team or project> |\n| another project's work | that project's team |\n\n## Pull requests\n\n- Closing words: `Fixes <id>`; contributing words: `Part of <id>`\n- A merge closes the ticket: yes / no (the team's workflow automation decides; say which)\n- Ticket ids in pull request titles: only on the pull request that completes the ticket\n\n## Verification\n\n- By: <names>, never the person who did the work\n- How: <what they check, and where>\n\n## Releases\n\nUsed by `promote-release`. The commands live in the repository's `RELEASING.md`.\n\n- Environments, in order: local, preview, staging, production\n- Branch per step: preview `<branch>`, staging `<branch>`, production `<branch>`\n- Address per step: preview `<url>`, staging `<url>`, production `<url>`\n- Version names: `X.Y.Z-preview.N`, `X.Y.Z-staging.N`, `X.Y.Z`\n- Go per step: preview <who>, staging <who>, production <who>\n- Production waits for: <each confirmation, by whom>\n- A request to skip a step counts only from: <who> (or: nobody; the full route always)\n\n## Who hears what\n\n| When | Who | Note |\n|---|---|---|\n| a release reaches preview | <names> | |\n| a release reaches production | <names> | |\n| a ticket someone reported changes status | the reporter | |\n````\n\n## Reading it\n\n- **A value left out is a question,** asked once of the person the session works for, and the\n  answer is offered back as an edit to the profile. Never fill it from another team's profile or\n  from this template's example values.\n- **The Standing rules page in Linear is newer than the profile.** Where the two disagree, stop\n  and ask; do not pick one.\n- **Names, not handles.** A person is named as the team knows them; Linear's `get_user` resolves\n  the account when a write needs one.\n- **No secrets.** The profile is committed. It names who holds a credential, never the credential.\n","bodyHtml":"<h2 id=\"the-team-profile\">The team profile</h2>\n<p>One file per team holds every value the Linear workflow skills need and Linear cannot tell them:\nwho gets unowned tickets, which status means &quot;ready for review&quot;, who verifies, who says go for\nproduction. The skills read it before their first write and never borrow a value from another\nteam. A value the profile leaves out is asked of the person the session works for; it is never\nguessed.</p>\n<p>Keep it at the root of the repository the team&#39;s work happens in, as <code>LINEAR.md</code>, unless the\nskill&#39;s binding B1 names another place. Copy the template below and fill it in. Every section is\noptional except <strong>Team</strong>; a skill that needs a section the profile does not have says so and asks.</p>\n<p>The values here are for agents and people alike. Write them as plain facts, not instructions to\nan agent: the skills already carry the rules.</p>\n<h3 id=\"template\">Template</h3>\n<pre><code class=\"language-markdown\"># How &lt;team name&gt; works in Linear\n\n## Team\n\n- Workspace: &lt;workspace name&gt;\n- Team: &lt;team name&gt;, key `&lt;KEY&gt;`, id `&lt;team uuid&gt;` (from `get_team`)\n- Lead: &lt;name&gt;, who rules on the team&#39;s open questions and is told what an agent finds\n- Default assignee: &lt;name&gt;, who gets every ticket an agent creates or writes to unassigned\n- Standing rules page: the team document titled &quot;Standing rules&quot; (or: none yet)\n\n## Statuses\n\nMap each role the skills use to this team&#39;s own status name. Leave a role out if the team does\nnot use it.\n\n| Role | Status | Who moves a ticket there |\n|---|---|---|\n| intake | Triage | anyone filing |\n| planned | Todo | a person, after sorting |\n| investigating | — | |\n| in progress | In Progress | the work&#39;s first pull request, or by hand with a comment |\n| in review | In Review | the pull request, with the evidence attached, or by hand |\n| shipped | Done | the release that carries the work |\n| accepted | — | a person other than the one who did the work |\n| blocked | — | anyone, with the reason and what it waits on |\n| canceled | Canceled | a person, with the reason |\n| duplicate | Duplicate | a person, with the original linked |\n\n## Labels\n\n- Kind group: `Kind` — kinds in the order they are tried: Question, Bug, Feature request,\n  Change request, Task (add the team&#39;s own, e.g. Data request, Access request, Notice)\n- Bug label: `Bug` (say whether it sits inside the Kind group or outside it)\n- Origin group: `Origin` — Client, Internal (or: none)\n- Source group: `Source` — Email, Chat, Call, Direct in Linear (or: none)\n- Severity group: (or: none)\n- Waiting-on label: (or: none)\n- Stage group: `Reached` — Preview, Staging, Production, single choice (or: none)\n- Version labels: yes, one per release, named as shipped (or: no; or: Linear Releases)\n\n## Titles\n\n- Numbering: none (or: titles lead with the team&#39;s record number, e.g. `REC-012 · …`, taken from &lt;where&gt;)\n\n## Where other asks go\n\n| Ask | Goes to |\n|---|---|\n| access, invites, accounts | &lt;team or project&gt; |\n| another project&#39;s work | that project&#39;s team |\n\n## Pull requests\n\n- Closing words: `Fixes &lt;id&gt;`; contributing words: `Part of &lt;id&gt;`\n- A merge closes the ticket: yes / no (the team&#39;s workflow automation decides; say which)\n- Ticket ids in pull request titles: only on the pull request that completes the ticket\n\n## Verification\n\n- By: &lt;names&gt;, never the person who did the work\n- How: &lt;what they check, and where&gt;\n\n## Releases\n\nUsed by `promote-release`. The commands live in the repository&#39;s `RELEASING.md`.\n\n- Environments, in order: local, preview, staging, production\n- Branch per step: preview `&lt;branch&gt;`, staging `&lt;branch&gt;`, production `&lt;branch&gt;`\n- Address per step: preview `&lt;url&gt;`, staging `&lt;url&gt;`, production `&lt;url&gt;`\n- Version names: `X.Y.Z-preview.N`, `X.Y.Z-staging.N`, `X.Y.Z`\n- Go per step: preview &lt;who&gt;, staging &lt;who&gt;, production &lt;who&gt;\n- Production waits for: &lt;each confirmation, by whom&gt;\n- A request to skip a step counts only from: &lt;who&gt; (or: nobody; the full route always)\n\n## Who hears what\n\n| When | Who | Note |\n|---|---|---|\n| a release reaches preview | &lt;names&gt; | |\n| a release reaches production | &lt;names&gt; | |\n| a ticket someone reported changes status | the reporter | |\n</code></pre>\n<h3 id=\"reading-it\">Reading it</h3>\n<ul>\n<li><strong>A value left out is a question,</strong> asked once of the person the session works for, and the\nanswer is offered back as an edit to the profile. Never fill it from another team&#39;s profile or\nfrom this template&#39;s example values.</li>\n<li><strong>The Standing rules page in Linear is newer than the profile.</strong> Where the two disagree, stop\nand ask; do not pick one.</li>\n<li><strong>Names, not handles.</strong> A person is named as the team knows them; Linear&#39;s <code>get_user</code> resolves\nthe account when a write needs one.</li>\n<li><strong>No secrets.</strong> The profile is committed. It names who holds a credential, never the credential.</li>\n</ul>\n","words":836}],"body":"# Track work in Linear\n\nA tracker is only as good as the trust people put in it. One stray write erodes it: a label set\nthat wiped the ticket's other labels, a mention that linked two unrelated tickets, a ruling\nrecorded by rewriting the description so nobody can see what it said before, a ticket closed\nbecause its id sat in a pull request title. This skill is the set of rules every session follows\nwhen it writes to a team's Linear, so the tickets can be read as the record of what happened.\n\nIt is written for Linear's own MCP server, whose tool names it uses. The rules about one call at a\ntime, reading back, and what a mention does come from watching that server on real tickets; the\nstatements about Linear's settings and pull request words were checked against Linear's\ndocumentation on 27 October 2026.\n\n## When to Use\n\n- A ticket is filed, classified, labelled, assigned, moved, commented on, related or closed.\n- A decision is made in the session, or work moves on, and the ticket should say so.\n- A release has reached an environment, and the tickets it carries must record how far they went.\n- A pull request should link a ticket, or a ticket closed or moved when nobody expected it to.\n- Someone asks who owes a ticket, or whether it is verified.\n\nDo not use it to work out what a ticket implies (`analyse-ticket`), to build what a ticket asks\n(`implement-ticket`), to move a build between environments (`promote-release`), or to put rules,\nskills or documents into Linear (`publish-to-linear`). Each of those writes to Linear through\nthis skill's rules.\n\n| Job | Owner |\n|---|---|\n| Every write to a ticket, and its read-back | this skill |\n| One \"Analysis\" comment, and nothing else changed | `analyse-ticket` |\n| One ticket built, through the team's route | `implement-ticket` |\n| A build moved local, preview, staging, production | `promote-release` |\n| Guidance, team skills and documents into Linear | `publish-to-linear` |\n| The reasons behind a decision, kept beyond the ticket | `decision-journal` |\n\n## Bindings\n\nA project can adapt this skill without copying it: it binds these slots and adds to the steps by\ntheir ids, as the pack's\n[project-adaptation guide](https://github.com/crissmoldovan/agent-skills/blob/main/docs/project-adaptation.md)\ndescribes. A slot nobody binds keeps its default.\n\n| id | slot | kind | default |\n|---|---|---|---|\n| B1 | where the team's profile is | value | `LINEAR.md` at the root of the repository the work is in, in the shape of [the team profile](references/team-profile.md); with none, ask the person bound as B2 for each value a step needs |\n| B2 | the person the session works for: whose instruction, or standing instruction, allows a write | value | the person running the session |\n| B3 | where the reasons behind a decision are kept beyond the ticket | skill | `decision-journal` |\n| B4 | where a ticket is analysed before work starts | skill | `analyse-ticket` |\n| B5 | where one ticket is built | skill | `implement-ticket` |\n| B6 | where a build is moved between environments | skill | `promote-release` |\n| B7 | where rules and documents are published into Linear | skill | `publish-to-linear` |\n\n## Hard lines\n\n- **H1. One write at a time, read back before the next.** A write is any create, edit, comment,\n  label, status, assignee, relation or attachment. Never several in one message, never a parallel\n  batch, however the ask is worded (\"in one go\", \"quickly\"). Parallel writes to Linear's API have\n  failed with gateway errors, and a failed write found at the end has already been built on.\n- **H2. Know who you are and which team before the first write.** `get_user` with `me` names the\n  account the session writes as, and the ticket's team is checked by its id against the profile.\n  Anything else: stop and say so.\n- **H3. A decision or a step of progress is a comment, never a rewrite.** The title and\n  description are not edited to record what happened; the ticket's history is the record. An\n  imported ticket's imported text is never touched.\n- **H4. Labels change with `addLabels` and `removeLabels`, never `labels`.** `labels` replaces\n  the ticket's whole label set: every label left out of the call is removed.\n- **H5. A ticket is mentioned only when it is related.** Through Linear's MCP server an issue\n  identifier or an issue link in written text becomes a mention, and a mention adds a related\n  relation. An unrelated ticket is described in words; the relation is proposed to the person.\n- **H6. Never mark work accepted.** The status that says shipped work was checked is set by a\n  person other than the one who did it, never by an agent session.\n- **H7. No credential on a ticket, and no remark about a person.** An access request records\n  \"requested\" and \"in place\", never the secret. A ruling quoted on a ticket has a secret replaced\n  by `[secret removed: <kind>]`, with no hash, and a remark about a person, a health or personnel\n  matter, or frustration at someone replaced by `[passage left out]`.\n- **H8. A Linear rule allows a Linear write and nothing else.** Recording on a ticket is never\n  leave to commit, push or write in a repository; a repository's own rules decide that.\n- **H9. Someone else's ticket keeps its assignee.** You comment on it; you do not take it over.\n\n## Prerequisites\n\n- Linear's MCP server connected and signed in, with write access to the team.\n- The team profile read (S1). A team with no profile can still be written to: each value a step\n  needs is asked once, and the answer offered back as a line for the profile.\n\n## Procedure\n\n1. **S1. Read the team's profile** where B1 says. Note its team id, default assignee, status\n   roles, label groups, numbering and where other asks go. **Complete when:** every value this\n   write needs is known from the profile or from the person's answer.\n2. **S2. Read the team's Standing rules page,** if the profile names one: `list_documents` with\n   the team's id and the query \"Standing rules\", then `get_document`. Where it and this skill or\n   the profile disagree, the page is newer: stop and ask. **Complete when:** the page is read, or\n   the profile says the team has none.\n3. **S3. Check identity and team** (H2), once per session, before the first write. **Complete\n   when:** the account and the team id are both confirmed.\n4. **S4. Make one write,** as the section below for that kind of write says. **Complete when:**\n   one call has returned.\n5. **S5. Read it back** with `get_issue` (with `includeRelations: true` when the text names a\n   ticket) or `list_comments`, and compare it with what you meant to write. A write that did not\n   land is read before it is retried, never retried blind. **Complete when:** the ticket shows\n   exactly the change and nothing else moved.\n6. **S6. Report** each write and its read-back, each ticket left alone and why, and whose each\n   ticket is (\"I commented, I did not reassign it\"). **Complete when:** the person can see every\n   change without opening Linear.\n\n## Classify: exactly one kind, first match wins\n\nUse the team's kinds, in the order the profile lists them. Without a list, these, in this order:\n\n1. **Question:** work cannot go on until a person answers, rules or approves.\n2. **Bug:** the product does something other than what was agreed. **Name the agreement** (a\n   spec, a ruling, a design, an earlier release). If nobody can name one, it is not a bug.\n3. **Feature request:** something that does not exist yet.\n4. **Change request:** alter something that exists and works as agreed.\n5. **Task:** work that changes nothing a reader sees.\n\nA team's own kinds (an information, data, file or access request, a notice) take their place in\nits order. A report that mixes kinds is split: the original becomes the parent, each part a\nsub-issue of one kind. The reporter's own word (\"bug\") does not decide the kind; their words go\non the ticket verbatim.\n\n## File\n\n- **The ticket comes first.** Work someone owes gets its ticket before the work starts; work\n  already under way without one gets one now, before the next step.\n- **Is it this team's?** An ask the profile routes elsewhere goes there. Work that would need a\n  team nobody has made is not filed in one it does not belong to: say so, and leave asking for\n  the team to the person.\n- **Title:** what changes, in plain words, led by the record number if the profile numbers them.\n- **Template:** the team's template for the kind, if it has one (`template` on `save_issue`).\n- **Labels:** one from each group that applies: Kind always; Origin and Source if the team has\n  them, Source with a link to the exact message it came from; Severity for a bug, if the team\n  has it. Never a label the team does not have.\n- **Links:** what it blocks and what blocks it (`blocks`, `blockedBy`).\n- **Files go on the ticket.** Every file a person sends, or that the ticket names, is attached\n  (`prepare_attachment_upload`, the upload, then `create_attachment_from_upload`, one file at a\n  time) with its name, size and sha256 in the text. A link to where it came from goes beside the\n  file, never instead of it. A file Linear will not take is said to be so, with where it is kept.\n- **A ticket stands alone.** A link to a private chat or a mailbox opens only for that\n  conversation's members. Put the sender's exact words and the files on the ticket, and label such\n  a link \"private: opens only for <who>\".\n\n## Assign\n\n- **Every ticket you create, and every ticket you write to that has no assignee, goes to the\n  team's default assignee,** read back. A profile that names none: ask.\n- **Someone else's ticket keeps its assignee** (H9).\n- **Someone outside the team must act:** the team member who chases them is the assignee, with\n  the team's waiting-on label if it has one and the person named in the ticket.\n\n## Decisions and progress\n\n- **A decision** (a ruling in the session, an answer that settles an open question) is a comment\n  on every ticket it touches, in the same turn, before the work carries on: who, the UTC time, the\n  words verbatim after the screen (H7), and the effect on that ticket. The reasons go to B3 too.\n- **Progress** is a comment with the status it reached: built (branch, commit), on a preview\n  (version, commit, address, the UTC time it went live), on staging, on production, answered,\n  blocked.\n- **A comment posted without the person's review of its text opens with \"Automatic note\".**\n- **Times are exact:** from the source, or `date -u`, in UTC; never estimated.\n- **A new standing rule** (one that holds for all the team's work) also goes on the Standing\n  rules page, through B7.\n\n## Move\n\nEach status below is a role; the profile names the team's own status for it. A role the profile\nleaves out is not used: ask before inventing one.\n\n| Role | Moved by |\n|---|---|\n| intake → planned | a person, after sorting |\n| planned → in progress | the work's first pull request, or by hand with a comment |\n| in progress → in review | the pull request, **only with the evidence below attached**, or by hand |\n| in review → shipped | the release that completes it, by hand, or the team's merge automation |\n| shipped → accepted | **a person other than the one who did the work; never an agent session** (H6) |\n| any → blocked | with the reason and what it waits on (a waiting-on label or a blocked-by link) |\n| any → canceled or duplicate | a person, with the reason in a comment |\n\n**Ready for review needs evidence,** for every ticket the pull request carries:\n\n1. **Where to look:** the address, the screen, and the steps to reach the state.\n2. **What to look for:** the one sentence of acceptance; for a partly done ticket, the part done.\n3. **Proof that fits it:** for what shows on a screen, an image of the base and one of the change\n   with a box around what changed, each stamped with the address, the commit and the time; for\n   what does not, the command and what it printed. Proof names the commit it shows.\n\nA ticket without them goes back to in progress. Asked \"is it verified\" or \"who owes this\", name\nthe verifiers the profile lists; where it names none, name nobody and ask.\n\n## How far shipped work has gone\n\nOnly for a team whose profile has a stage group (a single-choice label group such as\nPreview, Staging, Production) or version labels. A team on Linear's Releases lets its release\npipeline record this instead, or adds the release with `addReleases`.\n\n1. **A release marks every ticket whose work it completes,** by hand: the shipped status, and the\n   stage label for where it went. A ticket only partly in the release (its pull request used a\n   contributing word) keeps its status and its mark; it gets the comment in step 4, naming the\n   part that reached the stage.\n2. **One mark, never two.** One `save_issue` per completed ticket: the status, `removeLabels` with the stage\n   label it carries, `addLabels` with the new one. Read back: exactly one stage label, the right\n   one, every other label as it was.\n3. **Never back.** The stages go in the profile's order. A ticket already marked at this stage or\n   past it keeps its mark and status, and is listed with why.\n4. **One comment per ticket per stage,** after the read-back: \"Reached <stage> on <date> at\n   <HH:MM:SS> UTC: <version>, commit `<served>`, <address>\", with the proof that showed it there.\n5. **Version labels,** if the team uses them: one label per release, outside any group, named\n   exactly as shipped (`2.4.0-preview.3`, `2.4.0`). A ticket carries the first release on each\n   line (preview, staging, production) that carried its work, so at most one per line.\n\n## Pull requests and Linear\n\n- **The description links the tickets,** one per line: a closing word (`Fixes <id>`) when the pull\n  request completes the ticket; a contributing word (`Part of <id>`) when it is part of it.\n  Linear's documentation lists the words it reads. A contributing word moves the ticket through\n  the team's earlier statuses but not on merge; \"related to\" only links.\n- **A ticket id in a pull request's title or branch name links it too,** and lets the team's merge\n  automation close it. Put an id in a title only on the pull request that completes the ticket.\n- **One ticket across several pull requests:** a contributing word on each that leaves work, a\n  closing word on the one that completes it. Close an abandoned pull request: an open closing pull\n  request holds its ticket back.\n- **A bare list of ids moves nothing.** Only the linking words do.\n\n## Mentions\n\n- **Related, in Linear's own form:** a bare identifier (ABC-123), or a Markdown link whose text\n  is the identifier and whose address is the ticket's. Never in a code span, and never `#123`,\n  which links a pull request: write \"item 3\" or \"PR 66\".\n- **After any write whose text names a ticket,** read `get_issue` with `includeRelations: true`;\n  remove a stray relation at once (`removeRelatedTo`) and say so.\n\n## Usage Examples\n\n```text\nUse track-in-linear: file what Dana sent in the support thread as a ticket in our team. Her exact\nwords and both screenshots on it, the right kind, and read it back.\n```\n\n```text\nWe just decided to drop the CSV export from this release. Record that on every ticket it touches,\nwith the time and my words, before you carry on.\n```\n\n```text\n2.4.0-staging.1 is live on staging. Mark every ticket it carries: shipped, stage Staging, its\nversion label, one comment each. List any you leave alone and why.\n```\n\n```text\nThe related links on ABC-41 look wrong. Find which writes added them and take off the ones that\nare not real relations.\n```\n\n## Pitfalls\n\n| Excuse | Reality |\n|---|---|\n| \"They said in one go, so one batch of writes\" | One call at a time, each read back. \"In one go\" is about the outcome, not the calls |\n| \"I'll read them all back at the end\" | After each write. A failure found at the end has been built on |\n| \"`labels` with the new mark is one simple call\" | It replaces every label. `removeLabels`, then `addLabels` |\n| \"It is useful to point at the other ticket\" | A mention is a relation. Describe unrelated tickets in words |\n| \"The ruling reads better in the description\" | A comment. The ticket's history is the record |\n| \"It is unassigned, so its owner is unknown\" | Unassigned tickets you write to go to the default assignee |\n| \"The release carries it, so its mark is this release's stage\" | Never back. A ticket marked further along keeps its mark |\n| \"The id in the pull request title is tidy\" | It can close the ticket on merge. Titles only on the completing pull request |\n| \"Recording the ruling covers committing it\" | A Linear rule allows a Linear write. The repository's rules decide commits |\n| \"The team is obviously this one\" | Check its id against the profile before the first write |\n\n## Verification\n\n- [ ] The profile was read, and every value it left out was asked, not guessed\n- [ ] The account and the team id were checked before the first write\n- [ ] Every write was one call, followed by a read-back that matched it\n- [ ] No `labels` write; every label change used `addLabels` or `removeLabels`\n- [ ] Every ticket named in written text is really related; stray relations were removed and reported\n- [ ] Decisions and progress are comments; no title or description was edited to record them\n- [ ] Every ticket created or written to unassigned has the default assignee; no one else's ticket was reassigned\n- [ ] Every file named on a ticket is attached, with its size and sha256\n- [ ] No ticket carries a credential, and quoted rulings were screened\n- [ ] Nothing was marked accepted, and no stage mark moved backwards\n- [ ] The report lists each write, each ticket left alone, and why\n","bodyHtml":"<h2 id=\"track-work-in-linear\">Track work in Linear</h2>\n<p>A tracker is only as good as the trust people put in it. One stray write erodes it: a label set\nthat wiped the ticket&#39;s other labels, a mention that linked two unrelated tickets, a ruling\nrecorded by rewriting the description so nobody can see what it said before, a ticket closed\nbecause its id sat in a pull request title. This skill is the set of rules every session follows\nwhen it writes to a team&#39;s Linear, so the tickets can be read as the record of what happened.</p>\n<p>It is written for Linear&#39;s own MCP server, whose tool names it uses. The rules about one call at a\ntime, reading back, and what a mention does come from watching that server on real tickets; the\nstatements about Linear&#39;s settings and pull request words were checked against Linear&#39;s\ndocumentation on 27 October 2026.</p>\n<h3 id=\"when-to-use\">When to Use</h3>\n<ul>\n<li>A ticket is filed, classified, labelled, assigned, moved, commented on, related or closed.</li>\n<li>A decision is made in the session, or work moves on, and the ticket should say so.</li>\n<li>A release has reached an environment, and the tickets it carries must record how far they went.</li>\n<li>A pull request should link a ticket, or a ticket closed or moved when nobody expected it to.</li>\n<li>Someone asks who owes a ticket, or whether it is verified.</li>\n</ul>\n<p>Do not use it to work out what a ticket implies (<code>analyse-ticket</code>), to build what a ticket asks\n(<code>implement-ticket</code>), to move a build between environments (<code>promote-release</code>), or to put rules,\nskills or documents into Linear (<code>publish-to-linear</code>). Each of those writes to Linear through\nthis skill&#39;s rules.</p>\n<table>\n<thead>\n<tr>\n<th>Job</th>\n<th>Owner</th>\n</tr>\n</thead>\n<tbody><tr>\n<td>Every write to a ticket, and its read-back</td>\n<td>this skill</td>\n</tr>\n<tr>\n<td>One &quot;Analysis&quot; comment, and nothing else changed</td>\n<td><code>analyse-ticket</code></td>\n</tr>\n<tr>\n<td>One ticket built, through the team&#39;s route</td>\n<td><code>implement-ticket</code></td>\n</tr>\n<tr>\n<td>A build moved local, preview, staging, production</td>\n<td><code>promote-release</code></td>\n</tr>\n<tr>\n<td>Guidance, team skills and documents into Linear</td>\n<td><code>publish-to-linear</code></td>\n</tr>\n<tr>\n<td>The reasons behind a decision, kept beyond the ticket</td>\n<td><code>decision-journal</code></td>\n</tr>\n</tbody></table>\n<h3 id=\"bindings\">Bindings</h3>\n<p>A project can adapt this skill without copying it: it binds these slots and adds to the steps by\ntheir ids, as the pack&#39;s\n<a href=\"https://github.com/crissmoldovan/agent-skills/blob/main/docs/project-adaptation.md\" target=\"_blank\" rel=\"noreferrer\">project-adaptation guide</a>\ndescribes. A slot nobody binds keeps its default.</p>\n<table>\n<thead>\n<tr>\n<th>id</th>\n<th>slot</th>\n<th>kind</th>\n<th>default</th>\n</tr>\n</thead>\n<tbody><tr>\n<td>B1</td>\n<td>where the team&#39;s profile is</td>\n<td>value</td>\n<td><code>LINEAR.md</code> at the root of the repository the work is in, in the shape of <a href=\"references/team-profile.md\">the team profile</a>; with none, ask the person bound as B2 for each value a step needs</td>\n</tr>\n<tr>\n<td>B2</td>\n<td>the person the session works for: whose instruction, or standing instruction, allows a write</td>\n<td>value</td>\n<td>the person running the session</td>\n</tr>\n<tr>\n<td>B3</td>\n<td>where the reasons behind a decision are kept beyond the ticket</td>\n<td>skill</td>\n<td><code>decision-journal</code></td>\n</tr>\n<tr>\n<td>B4</td>\n<td>where a ticket is analysed before work starts</td>\n<td>skill</td>\n<td><code>analyse-ticket</code></td>\n</tr>\n<tr>\n<td>B5</td>\n<td>where one ticket is built</td>\n<td>skill</td>\n<td><code>implement-ticket</code></td>\n</tr>\n<tr>\n<td>B6</td>\n<td>where a build is moved between environments</td>\n<td>skill</td>\n<td><code>promote-release</code></td>\n</tr>\n<tr>\n<td>B7</td>\n<td>where rules and documents are published into Linear</td>\n<td>skill</td>\n<td><code>publish-to-linear</code></td>\n</tr>\n</tbody></table>\n<h3 id=\"hard-lines\">Hard lines</h3>\n<ul>\n<li><strong>H1. One write at a time, read back before the next.</strong> A write is any create, edit, comment,\nlabel, status, assignee, relation or attachment. Never several in one message, never a parallel\nbatch, however the ask is worded (&quot;in one go&quot;, &quot;quickly&quot;). Parallel writes to Linear&#39;s API have\nfailed with gateway errors, and a failed write found at the end has already been built on.</li>\n<li><strong>H2. Know who you are and which team before the first write.</strong> <code>get_user</code> with <code>me</code> names the\naccount the session writes as, and the ticket&#39;s team is checked by its id against the profile.\nAnything else: stop and say so.</li>\n<li><strong>H3. A decision or a step of progress is a comment, never a rewrite.</strong> The title and\ndescription are not edited to record what happened; the ticket&#39;s history is the record. An\nimported ticket&#39;s imported text is never touched.</li>\n<li><strong>H4. Labels change with <code>addLabels</code> and <code>removeLabels</code>, never <code>labels</code>.</strong> <code>labels</code> replaces\nthe ticket&#39;s whole label set: every label left out of the call is removed.</li>\n<li><strong>H5. A ticket is mentioned only when it is related.</strong> Through Linear&#39;s MCP server an issue\nidentifier or an issue link in written text becomes a mention, and a mention adds a related\nrelation. An unrelated ticket is described in words; the relation is proposed to the person.</li>\n<li><strong>H6. Never mark work accepted.</strong> The status that says shipped work was checked is set by a\nperson other than the one who did it, never by an agent session.</li>\n<li><strong>H7. No credential on a ticket, and no remark about a person.</strong> An access request records\n&quot;requested&quot; and &quot;in place&quot;, never the secret. A ruling quoted on a ticket has a secret replaced\nby <code>[secret removed: &lt;kind&gt;]</code>, with no hash, and a remark about a person, a health or personnel\nmatter, or frustration at someone replaced by <code>[passage left out]</code>.</li>\n<li><strong>H8. A Linear rule allows a Linear write and nothing else.</strong> Recording on a ticket is never\nleave to commit, push or write in a repository; a repository&#39;s own rules decide that.</li>\n<li><strong>H9. Someone else&#39;s ticket keeps its assignee.</strong> You comment on it; you do not take it over.</li>\n</ul>\n<h3 id=\"prerequisites\">Prerequisites</h3>\n<ul>\n<li>Linear&#39;s MCP server connected and signed in, with write access to the team.</li>\n<li>The team profile read (S1). A team with no profile can still be written to: each value a step\nneeds is asked once, and the answer offered back as a line for the profile.</li>\n</ul>\n<h3 id=\"procedure\">Procedure</h3>\n<ol>\n<li><strong>S1. Read the team&#39;s profile</strong> where B1 says. Note its team id, default assignee, status\nroles, label groups, numbering and where other asks go. <strong>Complete when:</strong> every value this\nwrite needs is known from the profile or from the person&#39;s answer.</li>\n<li><strong>S2. Read the team&#39;s Standing rules page,</strong> if the profile names one: <code>list_documents</code> with\nthe team&#39;s id and the query &quot;Standing rules&quot;, then <code>get_document</code>. Where it and this skill or\nthe profile disagree, the page is newer: stop and ask. <strong>Complete when:</strong> the page is read, or\nthe profile says the team has none.</li>\n<li><strong>S3. Check identity and team</strong> (H2), once per session, before the first write. <strong>Complete\nwhen:</strong> the account and the team id are both confirmed.</li>\n<li><strong>S4. Make one write,</strong> as the section below for that kind of write says. <strong>Complete when:</strong>\none call has returned.</li>\n<li><strong>S5. Read it back</strong> with <code>get_issue</code> (with <code>includeRelations: true</code> when the text names a\nticket) or <code>list_comments</code>, and compare it with what you meant to write. A write that did not\nland is read before it is retried, never retried blind. <strong>Complete when:</strong> the ticket shows\nexactly the change and nothing else moved.</li>\n<li><strong>S6. Report</strong> each write and its read-back, each ticket left alone and why, and whose each\nticket is (&quot;I commented, I did not reassign it&quot;). <strong>Complete when:</strong> the person can see every\nchange without opening Linear.</li>\n</ol>\n<h3 id=\"classify-exactly-one-kind-first-match-wins\">Classify: exactly one kind, first match wins</h3>\n<p>Use the team&#39;s kinds, in the order the profile lists them. Without a list, these, in this order:</p>\n<ol>\n<li><strong>Question:</strong> work cannot go on until a person answers, rules or approves.</li>\n<li><strong>Bug:</strong> the product does something other than what was agreed. <strong>Name the agreement</strong> (a\nspec, a ruling, a design, an earlier release). If nobody can name one, it is not a bug.</li>\n<li><strong>Feature request:</strong> something that does not exist yet.</li>\n<li><strong>Change request:</strong> alter something that exists and works as agreed.</li>\n<li><strong>Task:</strong> work that changes nothing a reader sees.</li>\n</ol>\n<p>A team&#39;s own kinds (an information, data, file or access request, a notice) take their place in\nits order. A report that mixes kinds is split: the original becomes the parent, each part a\nsub-issue of one kind. The reporter&#39;s own word (&quot;bug&quot;) does not decide the kind; their words go\non the ticket verbatim.</p>\n<h3 id=\"file\">File</h3>\n<ul>\n<li><strong>The ticket comes first.</strong> Work someone owes gets its ticket before the work starts; work\nalready under way without one gets one now, before the next step.</li>\n<li><strong>Is it this team&#39;s?</strong> An ask the profile routes elsewhere goes there. Work that would need a\nteam nobody has made is not filed in one it does not belong to: say so, and leave asking for\nthe team to the person.</li>\n<li><strong>Title:</strong> what changes, in plain words, led by the record number if the profile numbers them.</li>\n<li><strong>Template:</strong> the team&#39;s template for the kind, if it has one (<code>template</code> on <code>save_issue</code>).</li>\n<li><strong>Labels:</strong> one from each group that applies: Kind always; Origin and Source if the team has\nthem, Source with a link to the exact message it came from; Severity for a bug, if the team\nhas it. Never a label the team does not have.</li>\n<li><strong>Links:</strong> what it blocks and what blocks it (<code>blocks</code>, <code>blockedBy</code>).</li>\n<li><strong>Files go on the ticket.</strong> Every file a person sends, or that the ticket names, is attached\n(<code>prepare_attachment_upload</code>, the upload, then <code>create_attachment_from_upload</code>, one file at a\ntime) with its name, size and sha256 in the text. A link to where it came from goes beside the\nfile, never instead of it. A file Linear will not take is said to be so, with where it is kept.</li>\n<li><strong>A ticket stands alone.</strong> A link to a private chat or a mailbox opens only for that\nconversation&#39;s members. Put the sender&#39;s exact words and the files on the ticket, and label such\na link &quot;private: opens only for <who>&quot;.</li>\n</ul>\n<h3 id=\"assign\">Assign</h3>\n<ul>\n<li><strong>Every ticket you create, and every ticket you write to that has no assignee, goes to the\nteam&#39;s default assignee,</strong> read back. A profile that names none: ask.</li>\n<li><strong>Someone else&#39;s ticket keeps its assignee</strong> (H9).</li>\n<li><strong>Someone outside the team must act:</strong> the team member who chases them is the assignee, with\nthe team&#39;s waiting-on label if it has one and the person named in the ticket.</li>\n</ul>\n<h3 id=\"decisions-and-progress\">Decisions and progress</h3>\n<ul>\n<li><strong>A decision</strong> (a ruling in the session, an answer that settles an open question) is a comment\non every ticket it touches, in the same turn, before the work carries on: who, the UTC time, the\nwords verbatim after the screen (H7), and the effect on that ticket. The reasons go to B3 too.</li>\n<li><strong>Progress</strong> is a comment with the status it reached: built (branch, commit), on a preview\n(version, commit, address, the UTC time it went live), on staging, on production, answered,\nblocked.</li>\n<li><strong>A comment posted without the person&#39;s review of its text opens with &quot;Automatic note&quot;.</strong></li>\n<li><strong>Times are exact:</strong> from the source, or <code>date -u</code>, in UTC; never estimated.</li>\n<li><strong>A new standing rule</strong> (one that holds for all the team&#39;s work) also goes on the Standing\nrules page, through B7.</li>\n</ul>\n<h3 id=\"move\">Move</h3>\n<p>Each status below is a role; the profile names the team&#39;s own status for it. A role the profile\nleaves out is not used: ask before inventing one.</p>\n<table>\n<thead>\n<tr>\n<th>Role</th>\n<th>Moved by</th>\n</tr>\n</thead>\n<tbody><tr>\n<td>intake → planned</td>\n<td>a person, after sorting</td>\n</tr>\n<tr>\n<td>planned → in progress</td>\n<td>the work&#39;s first pull request, or by hand with a comment</td>\n</tr>\n<tr>\n<td>in progress → in review</td>\n<td>the pull request, <strong>only with the evidence below attached</strong>, or by hand</td>\n</tr>\n<tr>\n<td>in review → shipped</td>\n<td>the release that completes it, by hand, or the team&#39;s merge automation</td>\n</tr>\n<tr>\n<td>shipped → accepted</td>\n<td><strong>a person other than the one who did the work; never an agent session</strong> (H6)</td>\n</tr>\n<tr>\n<td>any → blocked</td>\n<td>with the reason and what it waits on (a waiting-on label or a blocked-by link)</td>\n</tr>\n<tr>\n<td>any → canceled or duplicate</td>\n<td>a person, with the reason in a comment</td>\n</tr>\n</tbody></table>\n<p><strong>Ready for review needs evidence,</strong> for every ticket the pull request carries:</p>\n<ol>\n<li><strong>Where to look:</strong> the address, the screen, and the steps to reach the state.</li>\n<li><strong>What to look for:</strong> the one sentence of acceptance; for a partly done ticket, the part done.</li>\n<li><strong>Proof that fits it:</strong> for what shows on a screen, an image of the base and one of the change\nwith a box around what changed, each stamped with the address, the commit and the time; for\nwhat does not, the command and what it printed. Proof names the commit it shows.</li>\n</ol>\n<p>A ticket without them goes back to in progress. Asked &quot;is it verified&quot; or &quot;who owes this&quot;, name\nthe verifiers the profile lists; where it names none, name nobody and ask.</p>\n<h3 id=\"how-far-shipped-work-has-gone\">How far shipped work has gone</h3>\n<p>Only for a team whose profile has a stage group (a single-choice label group such as\nPreview, Staging, Production) or version labels. A team on Linear&#39;s Releases lets its release\npipeline record this instead, or adds the release with <code>addReleases</code>.</p>\n<ol>\n<li><strong>A release marks every ticket whose work it completes,</strong> by hand: the shipped status, and the\nstage label for where it went. A ticket only partly in the release (its pull request used a\ncontributing word) keeps its status and its mark; it gets the comment in step 4, naming the\npart that reached the stage.</li>\n<li><strong>One mark, never two.</strong> One <code>save_issue</code> per completed ticket: the status, <code>removeLabels</code> with the stage\nlabel it carries, <code>addLabels</code> with the new one. Read back: exactly one stage label, the right\none, every other label as it was.</li>\n<li><strong>Never back.</strong> The stages go in the profile&#39;s order. A ticket already marked at this stage or\npast it keeps its mark and status, and is listed with why.</li>\n<li><strong>One comment per ticket per stage,</strong> after the read-back: &quot;Reached <stage> on <date> at\n<a href=\"HH:MM:SS\">HH:MM:SS</a> UTC: <version>, commit <code>&lt;served&gt;</code>, <address>&quot;, with the proof that showed it there.</li>\n<li><strong>Version labels,</strong> if the team uses them: one label per release, outside any group, named\nexactly as shipped (<code>2.4.0-preview.3</code>, <code>2.4.0</code>). A ticket carries the first release on each\nline (preview, staging, production) that carried its work, so at most one per line.</li>\n</ol>\n<h3 id=\"pull-requests-and-linear\">Pull requests and Linear</h3>\n<ul>\n<li><strong>The description links the tickets,</strong> one per line: a closing word (<code>Fixes &lt;id&gt;</code>) when the pull\nrequest completes the ticket; a contributing word (<code>Part of &lt;id&gt;</code>) when it is part of it.\nLinear&#39;s documentation lists the words it reads. A contributing word moves the ticket through\nthe team&#39;s earlier statuses but not on merge; &quot;related to&quot; only links.</li>\n<li><strong>A ticket id in a pull request&#39;s title or branch name links it too,</strong> and lets the team&#39;s merge\nautomation close it. Put an id in a title only on the pull request that completes the ticket.</li>\n<li><strong>One ticket across several pull requests:</strong> a contributing word on each that leaves work, a\nclosing word on the one that completes it. Close an abandoned pull request: an open closing pull\nrequest holds its ticket back.</li>\n<li><strong>A bare list of ids moves nothing.</strong> Only the linking words do.</li>\n</ul>\n<h3 id=\"mentions\">Mentions</h3>\n<ul>\n<li><strong>Related, in Linear&#39;s own form:</strong> a bare identifier (ABC-123), or a Markdown link whose text\nis the identifier and whose address is the ticket&#39;s. Never in a code span, and never <code>#123</code>,\nwhich links a pull request: write &quot;item 3&quot; or &quot;PR 66&quot;.</li>\n<li><strong>After any write whose text names a ticket,</strong> read <code>get_issue</code> with <code>includeRelations: true</code>;\nremove a stray relation at once (<code>removeRelatedTo</code>) and say so.</li>\n</ul>\n<h3 id=\"usage-examples\">Usage Examples</h3>\n<pre><code class=\"language-text\">Use track-in-linear: file what Dana sent in the support thread as a ticket in our team. Her exact\nwords and both screenshots on it, the right kind, and read it back.\n</code></pre>\n<pre><code class=\"language-text\">We just decided to drop the CSV export from this release. Record that on every ticket it touches,\nwith the time and my words, before you carry on.\n</code></pre>\n<pre><code class=\"language-text\">2.4.0-staging.1 is live on staging. Mark every ticket it carries: shipped, stage Staging, its\nversion label, one comment each. List any you leave alone and why.\n</code></pre>\n<pre><code class=\"language-text\">The related links on ABC-41 look wrong. Find which writes added them and take off the ones that\nare not real relations.\n</code></pre>\n<h3 id=\"pitfalls\">Pitfalls</h3>\n<table>\n<thead>\n<tr>\n<th>Excuse</th>\n<th>Reality</th>\n</tr>\n</thead>\n<tbody><tr>\n<td>&quot;They said in one go, so one batch of writes&quot;</td>\n<td>One call at a time, each read back. &quot;In one go&quot; is about the outcome, not the calls</td>\n</tr>\n<tr>\n<td>&quot;I&#39;ll read them all back at the end&quot;</td>\n<td>After each write. A failure found at the end has been built on</td>\n</tr>\n<tr>\n<td>&quot;<code>labels</code> with the new mark is one simple call&quot;</td>\n<td>It replaces every label. <code>removeLabels</code>, then <code>addLabels</code></td>\n</tr>\n<tr>\n<td>&quot;It is useful to point at the other ticket&quot;</td>\n<td>A mention is a relation. Describe unrelated tickets in words</td>\n</tr>\n<tr>\n<td>&quot;The ruling reads better in the description&quot;</td>\n<td>A comment. The ticket&#39;s history is the record</td>\n</tr>\n<tr>\n<td>&quot;It is unassigned, so its owner is unknown&quot;</td>\n<td>Unassigned tickets you write to go to the default assignee</td>\n</tr>\n<tr>\n<td>&quot;The release carries it, so its mark is this release&#39;s stage&quot;</td>\n<td>Never back. A ticket marked further along keeps its mark</td>\n</tr>\n<tr>\n<td>&quot;The id in the pull request title is tidy&quot;</td>\n<td>It can close the ticket on merge. Titles only on the completing pull request</td>\n</tr>\n<tr>\n<td>&quot;Recording the ruling covers committing it&quot;</td>\n<td>A Linear rule allows a Linear write. The repository&#39;s rules decide commits</td>\n</tr>\n<tr>\n<td>&quot;The team is obviously this one&quot;</td>\n<td>Check its id against the profile before the first write</td>\n</tr>\n</tbody></table>\n<h3 id=\"verification\">Verification</h3>\n<ul>\n<li><input disabled=\"\" type=\"checkbox\"> The profile was read, and every value it left out was asked, not guessed</li>\n<li><input disabled=\"\" type=\"checkbox\"> The account and the team id were checked before the first write</li>\n<li><input disabled=\"\" type=\"checkbox\"> Every write was one call, followed by a read-back that matched it</li>\n<li><input disabled=\"\" type=\"checkbox\"> No <code>labels</code> write; every label change used <code>addLabels</code> or <code>removeLabels</code></li>\n<li><input disabled=\"\" type=\"checkbox\"> Every ticket named in written text is really related; stray relations were removed and reported</li>\n<li><input disabled=\"\" type=\"checkbox\"> Decisions and progress are comments; no title or description was edited to record them</li>\n<li><input disabled=\"\" type=\"checkbox\"> Every ticket created or written to unassigned has the default assignee; no one else&#39;s ticket was reassigned</li>\n<li><input disabled=\"\" type=\"checkbox\"> Every file named on a ticket is attached, with its size and sha256</li>\n<li><input disabled=\"\" type=\"checkbox\"> No ticket carries a credential, and quoted rulings were screened</li>\n<li><input disabled=\"\" type=\"checkbox\"> Nothing was marked accepted, and no stage mark moved backwards</li>\n<li><input disabled=\"\" type=\"checkbox\"> The report lists each write, each ticket left alone, and why</li>\n</ul>\n","outline":["When to Use","Bindings","Hard lines","Prerequisites","Procedure","Classify: exactly one kind, first match wins","File","Assign","Decisions and progress","Move","How far shipped work has gone","Pull requests and Linear","Mentions","Usage Examples","Pitfalls","Verification"],"words":3127}
