/livt-discovery:formulate-example-mappingfrom livt-discovery
Formulate 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.
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 formulate an example mapping — the formulation station of the discovery ring, at the story level.
The mapping is already on file: a session was recorded verbatim minutes ago, or the file has been sitting there for months. Your job is to make it a document every reader on the team reads the same behaviour out of — rules that assert, examples whose names say what they show. You change how the mapping is written. You never change what it says.
This is BDD's Formulation, the phase mainstream practice performs by writing Gherkin. livt derives Gherkin from the mapping rather than the other way round, so the act is the rewrite of the mapping itself — and the mapping stays the source of truth.
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.
record-example-mapping wrote the board out verbatim and committed it. That commit is your baseline.file-story-issue and file-rule-issues — the start of the delivery ring. A rule whose meaning changes later is change-rule's.You are not once-only. A mapping formulated when it was recorded is formulated again whenever its wording turns out to read two ways — the same station, a fresh diff, no board required. record-example-mapping runs again only when a board does.
Check this before you touch anything: the mapping's last change is in a commit, and the working tree is clean of it. Everything below is defined against what is committed — that is what a baseline is.
If the record is still sitting uncommitted, stop and say so. Committing it is record-example-mapping's last step, and folding your edit into it destroys the one thing this station exists to produce: a pre-polished baseline hides the edit, and the review can no longer see what moved.
Then read, in this order: stories/{story-key}.md for the story's scope and key — or, for a story with no card, the mapping's own name: — and the mapping as it stands — as it is, not as you would have recorded it.
BDD formulates once the red cards are gone, and the reason carries over here: a question still open is a decision the room has not made, and a sharpened line over it reads as the answer. Read the questions before the edit. Where one bears on a rule or an example — it asks about the case that example shows, or about what the rule means — leave that item's wording as it is and say which question holds it. Where the questions touch none of the items, the edit goes on.
bdd-expert skill for a structural critique — anti-patterns, rule/example balance, whether each example reads as a scenario, whether the story should be split.discoveries/example-mappings/{story-key}.yaml:
superseded_by: on the retired one naming the new URI, so its old URI keeps resolving to the same text and says where the example went.change-rule.change-rule ships those as their own fine-grained commits.name:. The name is the story's, not a rule's, so sharpening it is no part of formulation — and where the story also has a card, the two have to stay the same string.change-rule's.status:. Accepting or turning down a proposal is a business decision too, and propose-rule's.ubiquitous:. The pink stickies are the room's and the record is their path off the board; sharpening a rule's wording is not a licence to name a term nobody agreed. Tell the user what the wording seems to want instead.Canonical statement in change-rule; these bullets are verbatim from it. Regrouping is the one place you mint an ID — and a tidier numbering is never a reason to renumber, a temptation this station puts right in front of you.
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.Canonical statement in change-rule; these bullets are verbatim from it.
Yours is one commit: Formulate {story-key} example mapping, on top of the baseline. The body says what the edit changed and why, so the review can confirm that no meaning moved.
discoveries/example-mappings/{story-key}.yaml, as one structural edit over a committed baseline, whose diff is what the review reads. When the mapping needs nothing, commit nothing and say so — an empty formulation is a fine outcome, a disguised one is not.
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./change-ruleChange 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./Other plugins' skills for the same job
npx claudepluginhub boykush/livt --plugin livt-discovery