/leyline:ticket-writingfrom leyline
Writes tickets a reader can assess at a glance, with the why inline or a link away. Use when creating or editing Jira, GitLab, GitHub, or other tracker tickets.
Ships in leyline. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Skill(leyline:decision-journal))Skill(sanctum:pr-prep))Picture a reader arriving from the merge request. On the first screen of the ticket, without scrolling or opening a comment, they can answer two questions: what was decided, and why. If the why is too long for that screen, they find one link to the document that holds it. A ticket failing this test is not done.
A team that edits tickets by hand has already settled on a shape. Before
writing, read three recent tickets of the same type in the same project,
written or edited by a person, and copy their headings, heading level, and
markup. A tracker template (see tracker mechanics) counts as the same signal.
Keep every heading that shape uses. Where the samples put N/A under an
empty heading, do the same.
This rule comes from one private Jira project. The labels reviewers deleted
most were Why: and Done when: from the default shape below, plus Repro:
and h2. headings. Of 67 tickets with description edits, 42 end in one of
these two shapes:
### Impact ### Summary
### Expected behavior ### Context
### Actual behavior ### Acceptance criteria
### Steps to reproduce ### Other information
### Environment
### Workarounds
### Other information
A rewrite tool produced some of these headings. The team kept them, and that is the signal: copy the shape a project keeps, whatever wrote it first. The wording fixes reviewers made by hand:
Use this only when the project shows no shape of its own.
<What changes, or what was decided. One or two sentences.>
Why: <one to three sentences, or one sentence and a link>
Done when: <only if the title does not already say>
Links: <merge request, ADR, spec, parent>
The title names the outcome. Use at most three headings. Delete any heading a template supplies when it has nothing under it.
Read the live description before every edit, diff it against what you last wrote, and change only the sentence that needs it. If a person changed it, patch their text and never regenerate it from your draft. In the observed project, one ticket lost a reviewer's restructure that way and had to be restored from the changelog.
| Situation | Ticket carries |
|---|---|
| One reason, nothing contested | Why inline, one to three sentences |
| Options were weighed, the choice outlives this work, or the reasoning already exists | Decision plus link |
| Parent ticket already states the reason | Parent link |
| Self-evident change: typo, version bump | Title and merge request link |
Decision plus link means one sentence naming the choice, then the link. The sentence keeps the ticket readable when the reader lacks access to the document or it has moved. Do not paste the document into the ticket, because two copies drift apart. Link durable things: an ADR, a spec path, a merge request. Screen captures and chat threads do not qualify, so restate what they showed.
Record the decision in the description. When a decision changes, edit the first lines and leave the history in comments.
Restated diffs, implementation steps, empty headings, filler openers,
promotional adjectives. Never put secrets or credentials in a ticket. Before
saving a long generated body, run Skill(scribe:slop-detector).
Before: Run the lint script on merge request pipelines. Closed by !14.
After: Run the lint script on merge request pipelines. Why: format and clippy
failures only surfaced after merge. Closed by !14.
The first version says what. Only the second lets the reader judge the work.
A ticket and a merge request must each point at the other, in a place tools can find. See tracker mechanics for what each tracker reads.
No study found measures ticket length or glanceability, so the shape above is judgment. The link rule has data: only 60% of commits linked to issues across six projects (Rath 2018), and 47% of release artifacts lacked trace links (Nath 2025). See ADR-0028 for the decision.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub athola/claude-night-market --plugin leyline19 skills in this plugin
/additive-bias-defenseInverts burden of proof for code additions. Use when reviewing PRs, planning refactors, or running unbloat to challenge every addition's necessity./authentication-patternsProvides auth patterns for API keys, OAuth, and token management. Use when implementing or reviewing service authentication and credential handling./content-sanitizationProvides sanitization guidelines for external content in skills and hooks. Use when loading GitHub Issues, PRs, WebFetch results, or any untrusted input./damage-controlRecovers broken agent state via crash recovery, context overflow, and merge conflict protocols. Use when an agent session fails or a worktree is corrupted./decision-journalDecision journal (tradeoffs, lessons learned), deferred-capture contract ([Deferred] issues, CLI args, source labels), storage templates. Use to log a lesson./document-conversionConverts documents and URLs to markdown via tiered fallback (MCP markitdown, native tools, user notice). Use when a skill must ingest PDF, DOCX, or URL content.Other plugins' skills for the same job