/livt-discovery:change-rulefrom livt-discovery
Change one agreed business rule in an existing Example Mapping — add, change, or retire it, with its examples — as its own fine-grained commit. Use for "this rule changed", "a rule was added", "this rule no longer holds"; a rule not yet agreed routes to propose-rule, a session's outcome to record-example-mapping, and this skill never reads the implementation.
Ships in livt-discovery. 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 change a rule the team has already agreed.
The conversation in the room is not the only way a rule reaches the record. Rules change in ongoing work, agents find gaps while planning or building, and people think of rules between sessions. Your job is to fold exactly one rule-level change into the existing discoveries/example-mappings/{story-key}.yaml and ship it as a fine-grained commit — one business decision per commit, so each stays reviewable on its own.
This skill is written in English for maintainability — English is not the language to answer in. Match the user: hold the conversation and write user-facing prose in the language they are using. Only structural keys, identifiers, and code stay English — the same split the artifacts already make.
This is the common mix-up, so settle it first:
record-example-mapping) writes a session's outcome: the board, verbatim. The formulation (formulate-example-mapping) sharpens how that record reads, over the baseline it committed. Neither may change agreed meaning — neither can add, change, or retire rules.When there is no fresh session and the ask is "this rule changed / a new rule was added / this rule was retired", you are the right skill, not the record.
status — one written without it is agreed.propose-rule's. Asked to change a rule whose status is proposed, hand it there.propose-rule's.formulate-example-mapping, if it is ever needed.discoveries/example-mappings/{story-key}.yaml and stories/{story-key}.md — a story with no card has only its mapping, scoped by the mapping's own name:. Ask the user which mapping if it is ambiguous.git show {default-branch}:discoveries/example-mappings/{story-key}.yaml). A rule, example, or question it does not hold was added on this branch and is still in review — a draft, which is never retired (see ID Contract); a mapping it does not have at all is draft throughout. Step 4 is written for items that have merged: on a draft, wherever it retires something, rewrite the item in place — under the ID it has, even where its meaning moved — or delete it, and write no superseded_by:.name and bring its examples in line in the same commit (an example illustrating the old wording is now wrong). Retire the ones that no longer illustrate it and add the replacements as new examples, pointing each retired one at its replacement with superseded_by:; don't rewrite an example into a different one under the same ID. Tests that cite the rule go on citing it — a citation names the rule, not its wording — and for a rewording that is right: the livt URI is what binds a test to the rule, and a test's own name need not follow the rule's.status: retired, and mark every one of its examples retired: true: the status does not cascade, so an unflagged example under a retired rule still resolves as live. Nothing is deleted. Where another rule took over, add superseded_by:; where the business simply stopped asking, leave it off.superseded_by:: the rule is where its answer lives.This is the canonical statement. record-example-mapping, formulate-example-mapping, and propose-rule repeat these bullets verbatim, and file-rule-issues the immutability half — a skill loads on its own, so every skill that can mint, move, or quote an ID has to carry them. Change one, change all.
R-NN, Q-NN), examples within their rule (each rule starts from EX-01). With R-01/R-02/R-03 on file and R-03 retired, the next rule is R-04 — never R-03 again.status (rejected or retired) and an example or question gets retired: true; either way it stays in the file, its ID taken and its text readable. Deleting it hands the ID to the next item and silently re-targets every reference. Don't comment it out either: a comment is not part of the YAML structure, so a structural edit drops it.superseded_by: beside the status or the flag, listing the successors as livt URIs — livt://mapping/{story-key}/rule/{rule-id}, the same followed by /example/{example-id}, or livt://mapping/{story-key}/question/{question-id} — so a reference landing on the retired item reads on instead of stopping. A list, because an item can split into two; livt URIs, because a successor can live in another mapping and a bare R-05 names nothing. Leave the field off when nothing replaced it. Only the pointer goes in the YAML — why it was retired belongs to the commit, where it is written once and cannot drift.retired says a decision was agreed and then withdrawn, and on an item the default branch never held it writes the review's back-and-forth into the record as history. The default branch's copy of the file is the test: an ID it holds is bound wherever the item is changed next, and one you cannot check is treated as bound too.This is the canonical statement. record-story-map, record-example-mapping, formulate-example-mapping, write-story-card, and propose-rule repeat these bullets verbatim — a skill loads on its own, so every skill that writes a commit has to carry them. Change one, change all.
For you, that unit is one rule-level change:
Add rule R-04 to {story-key}, Update rule R-02 in {story-key}, Retire rule R-03 in {story-key}. A draft deleted before it merged is Drop rule R-06 from {story-key}: nothing was retired.formulate-example-mapping's, on its own diff.proposed, and don't write one: a rule waiting for agreement is propose-rule's.The same discoveries/example-mappings/{story-key}.yaml with exactly one rule-level change applied, shipped as its own fine-grained commit. Keep key: identifiers in English; name:/text: follow the mapping's language.
What SKILL.md sets; muted values are Claude Code's defaults
9 skills in this plugin
/bdd-expertBehaviour-Driven Development expertise grounded in the BDD community's work — the three phases (Discovery, Formulation, Automation), Example Mapping, and Gherkin syntax. Use it to review a story or example mapping, answer a BDD practice question, or check artifact consistency; the formulate-example-mapping skill consults it for the structural edit it lays over a recorded baseline./formulate-example-mappingFormulate a recorded Example Mapping — rule wording, example naming, grouping, and question phrasing — as one structural edit over a committed baseline, consulting the bdd-expert skill, whose diff is what the review reads. Use after record-example-mapping, or to work a mapping recorded long ago; it changes expression and structure only, never what the room agreed. A rule whose meaning changed routes to change-rule, and this skill never reads the implementation.Other plugins' skills for the same job
/opportunity-expertnpx claudepluginhub boykush/livt --plugin livt-discovery