/livt-automation:cite-automationsfrom livt-automation
Place the livt:automates citations in an implementation repository's tests — which test cites a rule, which cites an example, and where the line sits — so the livt repository's board reads what the tests cover. Use while writing or changing a test that automates a rule or an example, or to sweep a repository's tests for rules that have become citable; in nested tests every level carries its citation, and in flat tests a rule is cited once all of its examples are. The marker and what livt collects are livt's; this skill holds the placement convention livt ships as a default.
Ships in livt-automation. 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 cite automations — the claim a test makes, at the automate station of the delivery ring.
A test that automates a rule or an example says so on a comment line: the marker livt:automates and one livt URI. livt collects those lines and nothing else, and the livt repository's board reads a rule or an example as automated when some test cites it. Your job is to put the citations where they belong, so what the board says is what the tests do.
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. Test code, comments, and livt URIs stay as the repository already writes them.
AGENTS.md or its own skill says otherwise, that wins.Read the rule over the livt MCP server before citing: the rule's resource lists its examples, each with its own uri, and marks retired ones. Quote the uri the server returns; never assemble one from a bare R-02, which exists in every mapping.
The snippets below are in Go only for illustration: the convention is the same in any language and framework, with the line written in that language's comment syntax. They write livt URIs with {placeholders}, which livt never collects; in a real test each is the uri the server returned. Rules and examples are claimed separately. Citing a rule says a test checks the rule itself; citing an example says a test checks that example. Neither stands for the other on livt's side: the scan and the board never count a rule as automated because its examples are.
Each example gets a test case of its own, and its citation sits on the line directly above that case, nested or flat. The case's name is yours to choose; the citation, not the name, is what ties it to the example. So from the board, an example's chip leads to the one case that checks it, and from the test file, the line above a case names the one example it checks. livt's scan would accept one test citing several examples; this convention does not use that.
When the framework lets a block wrap a rule's cases (describe/it, t.Run, nested classes, context blocks, …), cite the rule on the block and each example on its case:
// livt:automates livt://mapping/{story_key}/rule/{rule_id}
func TestLateOrdersAreRefused(t *testing.T) {
// livt:automates livt://mapping/{story_key}/rule/{rule_id}/example/{example_id}
t.Run("an order after the deadline is refused", func(t *testing.T) { … })
// livt:automates livt://mapping/{story_key}/rule/{rule_id}/example/{example_id}
t.Run("an order at the deadline is accepted", func(t *testing.T) { … })
}
When each test stands alone with no block around a rule's cases, there is nowhere for the rule's own citation to sit. Each example's case cites its example, and the rule waits:
status is proposed is not agreed yet, so it is not cited at all.package checkout
// livt:automates livt://mapping/{story_key}/rule/{rule_id}
// livt:automates livt://mapping/{story_key}/rule/{rule_id}/example/{example_id}
func TestAnOrderAfterTheDeadlineIsRefused(t *testing.T) { … }
// livt:automates livt://mapping/{story_key}/rule/{rule_id}/example/{example_id}
func TestAnOrderAtTheDeadlineIsAccepted(t *testing.T) { … }
A line above the group of the rule's cases, when they sit together, is another. What to avoid is the same URI above every case, or several times within a few lines of itself. When the rule's cases are spread over files, cite it where each group lives.
Until then, leave the rule uncited — a rule with one example uncovered is not automated, and the board should say so.
A test that checks it cites it directly, nested or flat.
Counting a rule as automated because its examples all are is a judgment, and it is yours: you make it and write it down as a citation, where a reviewer sees it in the diff. livt never makes it for you. Don't ask for the scan to infer it, and don't count a rule automated on the board's behalf.
When a rule you once cited this way has gained an example no test here cites, leave the rule's citation where it is: taking it off would make you chase every later change to the mapping, and you only see this repository. The gap stays visible anyway, because the new example's sticky on the livt repository's board carries no citation of its own. Cite the new example when a test covers it, and mention the gap in your report.
automations/ reports: the report is collected from your tests, never written by hand.Test files whose marker lines follow the convention above, in the working tree for the repository's normal review. Report the rules you newly cited, and any cited rule with an example no test here covers yet.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub boykush/livt --plugin livt-automation