/livt-delivery:file-rule-issuesfrom livt-delivery
File automation issues for the business rules of an agreed example mapping to where the story's work is tracked — grouped into issues as the team decides, deduped per rule against the mapping's own record, with each created URL written back to every rule it covers. Also records an issue someone else cut against the rules it covers. Holds the canonical statement of livt's record contract. The backpointers, the write-back, and the dedupe are livt's; the tracker, the template, and the tool that files are the team's. Use when agreed rules are ready to hand to implementation repositories for test-driven automation; give a story-key to file all unfiled rules, or add rule-ids for some. Story-level issues route to file-story-issue.
Ships in livt-delivery. 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.
None: SKILL.md is the whole skill.
You file rule issues — the file station of the delivery ring, at the rule level.
After a story's example mapping is agreed, its business rules wait to be automated — as native tests in the implementation repositories. Your job is to send each rule there as an automation issue: a pointer carrying the rule, its examples, and backpointers to the livt repository. Filing reads no code on the far side; the issue is the entire handoff.
This skill is written in English for maintainability — English is not the language to answer in. Match the user: hold the conversation and write your report in the language they are using. Issue bodies already follow the livt repository's language; key: identifiers, code, and tool commands stay English.
This is the canonical statement. file-story-issue repeats the bullets it needs, verbatim — a skill loads on its own, so every skill that reads or writes the record has to carry them. Change one, change all.
issues: and a story's frontmatter issues: hold the automation issues filed for them. Neither is stored in a tracker, and neither is derived from one.issues: holds issue URLs and nothing else — no PR links, no test links. A URL pasted in by hand counts exactly as one a skill filed.issues: holds no URL there. Never a tracker search, never a tracker's parent/child graph: links are written into a tracker, never read back out of it.issues: before you are done — a working-tree edit only, no commit and no PR, riding the team's normal review flow.Three things are yours — the contract above, applied to each rule an issue covers:
spec_version, go in the body, so the issue can be followed back to the exact points in the livt repository they were cut from.issues: of every rule the issue covers.Everything else is the team's: the issue unit, the destination, the tool that files, the template, the labels, the fields, and whether the tracker can link a parent to a child at all. livt records links, not ticket state, so it does not care which tracker a URL points at. The story's frontmatter repos: declares its implementation repositories (owner/repo), and their tracker is the default destination; when the team tracks work elsewhere — a separate repository, a project board, another tracker — the user names it and you file there instead. Where the tracker has its own issue template, fill it and keep the backpointers.
The issue unit follows how the team splits implementation work: one rule, several rules of a story, or rules across stories, as one change can carry them. When nothing says how to group, file one issue per rule — a default, not part of the contract.
This skill ships no tracker knowledge on purpose: one team's answer shipped as everyone's is what makes a skill need forking. Use the tool the user side provides, and where a team has wrapped this station in a skill of its own, that skill owns the shape of the issue — you own what the record says about it.
repos: by default, or one the user names. Ask if repos: is missing and no destination was given. The livt repository itself is a valid destination; nothing in the flow assumes the destination is a different repository.livt build output is published (often in the repo's README or Pages workflow). It buys the reader a browsable link, nothing more; the livt URIs are the backpointer either way, so never block filing on finding it.discoveries/example-mappings/{story-key}.yaml and stories/{story-key}.md for each story named. Resolve the destination(s) from the story's repos:, or from what the user named. A story with no card has no repos: to read, so ask for the destination.status: accepted, or no status at all, which reads as accepted: a proposed rule is not asked for yet, and a rejected or retired one is not asked for any more, so neither has anything to automate. Then dedupe each rule × destination pair against the record: a rule already covered there — by its own issue or a grouped one — is not filed again. A link to one destination never blocks filing to another.git rev-parse --short HEAD.issues: of every rule the issue covers — append to the list, creating it if absent. Touch nothing else in the file.The body carries each rule and its live examples — quoted verbatim, in the mapping's language, a retired example left out because it no longer illustrates the rule — and then the backpointers, which are exact:
## livt repository
- rule: `livt://mapping/{story-key}/rule/{rule-id}`
- examples: `livt://mapping/{story-key}/rule/{rule-id}/example/{example-id}`, …
- living document: {living-doc-url}/mapping/{story-key}.html#rule-{rule-id}
- story: `livt://story/{story-key}`
- spec_version: `{short rev}`
An issue covering several rules repeats the rule: entry, with its examples and anchor, for each of them, and a story: line for each story they come from.
Every reference is a livt URI — the citation form the implementation repository carries onward into test comments. A bare {rule-id} names nothing on its own: rule and example ids restart in every mapping, so each example is quoted by its own URI and a test can cite the one it covers. spec_version pins which revision of the livt repository the issue was cut from. The living document anchor is a convenience for humans in a browser; it depends on where the site is deployed, and an issue in someone else's tracker is not yours to edit later, so it never replaces the URI. No site published? Drop that line. No story card? Drop the story: line too: there is no story resource for it to name.
Above that block the shape is the team's — their issue template, or a plain heading naming the rules and a list of each one's examples when nothing is prescribed.
An issue cut outside this skill — an engineer's implementation task, a ticket from planning — is recorded, not refiled: take its URL and the rules it covers, and append it to each of those rules' issues:. Selection applies as in the Filing Flow — a rule not agreed gets no URL — and a rule already holding that URL is left as it is. You create no issue and edit none, so its body may lack the backpointers; say so in the report rather than fixing it, since the issue is not yours.
Parenthood comes from the livt repository's structure — story ⊃ rule — so the parent is the story issue recorded in the story's frontmatter issues:, whichever destination it lives in: the one in this destination when there is one, otherwise the one recorded elsewhere; with several elsewhere and none here, ask which. An issue covering rules of several stories has no single parent; it stands alone unless the user names one. No story issue, no such link, or a link the tracker refuses → the rule issue stands alone. That is a supported state, not an error.
Whether a tracker takes a child from another repository is its answer, not yours to assume ahead of it — attempt the link and report what came back. GitHub takes one, through the addSubIssue GraphQL mutation. The link is write-only sugar for the tracker's UI: never read a parent/child graph back to decide anything.
Your issue quotes each rule-id and every example-id in it, so you depend on this contract — but filing is not what creates it. The IDs were already immutable; an unfiled rule is not a free ID. You never mint or retire one yourself: the write-back touches issues: and nothing else.
The half you rely on, verbatim from the canonical statement in change-rule:
issues: — what goes there is an issue's URL, and a test is found by the citation it carries.file-story-issue's job. Missing story issue? Suggest running it; don't improvise one.Automation issues covering every unfiled rule × destination asked for, grouped as the team decided — one per rule by default — each linked under its story issue where there is one and the tracker supports it, and the mapping YAML in the working tree with every created or recorded URL appended to the issues: of each rule it covers. A closing report of each issue and its rules, what was skipped and why, and the uncommitted write-back.
What SKILL.md sets; muted values are Claude Code's defaults
2 skills in this plugin
Other plugins' skills for the same job
npx claudepluginhub boykush/livt --plugin livt-delivery