/livt-discovery:write-story-cardfrom livt-discovery
Write a story's card — create stories/{story-key}.md for a story candidate on a User Story Map and stamp the key back onto that candidate — so the story can go into its own conversation, an Example Mapping. Use when the team picks a candidate for detailed discovery, conceives a story that sits on no map, or gives a card to a story that so far lived only as a named example mapping; it registers the card and changes no meaning. Rules and examples route to record-example-mapping.
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 write a story's card — the card station of the discovery ring.
A User Story Map holds story candidates hanging under the backbone. Most stay lightweight — captured by name: alone. When the team picks one to take into its own conversation (an Example Mapping), it gets a card: stories/{story-key}.md, with a stable key the map records. This is the Card of Ron Jeffries' three Cs — a reminder of a conversation still to come, not a requirement. The conversation follows on the story's board, and record-example-mapping writes the confirmation — rules and examples — against the card's key.
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 (the key stays English; the card's body follows the map's language).
record-story-map). Candidates live in discoveries/usm/{opportunity-key}.yaml, the map filed under the key of the opportunity it serves.key: onto the map.record-example-mapping reads stories/{story-key}.md for the key and scope.You do not change agreed meaning. Reframing a story or restructuring the map belongs to record-story-map's edit commit; changing a rule later is change-rule's. You take a candidate as it stands and give it a card.
name: in discoveries/usm/{opportunity-key}.yaml. If the map or candidate is ambiguous, ask the user.preview-story-map-in-browser; see Key Contract). Ask the user if they have a preferred key; otherwise propose one from the candidate's intent. When a preferred key is shorter, propose it extended with what sets this story apart rather than writing it as given.key: yet (refuse if it already has a card),stories/{key}.md does not already exist — that filesystem path is what guarantees key uniqueness.discoveries/example-mappings/{key}.yaml already exists, the filename joins it to the card you are about to write. Confirm with the user that the card is for the story that mapping was about, and read its name: — the Name Contract below applies.stories/{key}.md:
name: = the candidate's name, verbatim from the map — unless the key's mapping already carries a name: that reads differently, which the Name Contract settles.key: back onto the matching candidate in discoveries/usm/{opportunity-key}.yaml. Touch only that one candidate — preserve the order, structure, indentation, and wording of everything else in the file.stories/{key}.md exists with the right frontmatter, and the candidate now carries key: {key}.You write the card's name: and, when asked, its As a / I want / So that body. Whatever the team gathers to prepare the conversation — links, context, a board to walk into the session with, a declaration of where the story's work will be tracked — is theirs to add to the card afterwards. Leave the file plain and easy to extend, and don't invent preparation the team did not ask for.
When a story is conceived directly — with no candidate on a map — create stories/{key}.md from a name given by the user, following the same key and body rules, and skip the map write-back. This is the secondary path; a card written from a map is the norm. A story that so far lived only as a named example mapping takes that mapping's key and, unless the user says otherwise, its name:.
A map is what joins its cards to the opportunity it is filed under, so a standalone story has no opportunity until its card names one. Ask which opportunity it serves, and write that opportunity's key as opportunity: in the frontmatter — the story then carries its chip, sits under its filters, and counts toward its progress, as a card on its map would. An opportunity taken on with a story or two needs no map drawn for that. A card written from a map takes no opportunity:: the map already says it.
stories/{key}.md and as cross-references from story maps and example mappings.search-site fits every story about searching the site, the first to get a card takes it, and it goes on claiming the whole topic after the others arrive. Four words name the action, what it acts on, and what sets this story apart from the next one on the same topic, as search-site-by-text does. Reach four with words that narrow the story — filler like the or feature leaves the key as broad as before.stories/{key}.md. Never reuse a key.stories/{key}.md. The four-word minimum governs keys being minted: a key already on file keeps its words, however few, since renaming it would break every livt URI that cites it.This is the canonical statement. record-example-mapping repeats these bullets verbatim — a skill loads on its own, so every skill that writes a story's or a mapping's name: has to carry them. Change one, change both.
stories/{key}.md. A story that never got a card — a bug fix taken straight to its rules and a failing example — is named by name: at the top of its example mapping instead, and livt shows that name wherever the board is named.name:, the two are the same string. livt reads them independently and never compares them, so nothing but a skill keeps them together: a skill that writes either one reads the other first.Canonical statement in change-rule; these bullets are verbatim from it. Writing a card does not change agreed meaning, so the commit is the whole of it — no edit commit rides on top, and nothing here asks a reviewer to weigh a decision.
For you, that unit is the card:
stories/{key}.md with the one-line key: addition to the map — and, when the Name Contract changed the key's mapping, its one-line name: change. The message names the key, e.g. Write story card {key}.key:.stories/{key}.md.record-example-mapping's job, after the conversation.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub boykush/livt --plugin livt-discovery9 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./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./opportunity-expertOpportunity Canvas expertise grounded in Jeff Patton's work — framing a product opportunity, separating verifiable facts from assumptions about value, and deciding whether to take it on at all. Use it to review an opportunity canvas, pressure-test an opportunity before mapping it, or answer a product discovery question./propose-ruleCarry one business rule from proposal to agreement in an existing Example Mapping — put it forward with status `proposed` and the people whose agreement it needs, then accept or reject it — each step as its own fine-grained commit. Use when a rule was found without the people who have to agree to it, as when one person works a story through with an AI — "propose this rule", "who has to agree to this", "accept the proposal". A rule already agreed routes to change-rule, a session's outcome to record-example-mapping, and this skill never reads the implementation./record-example-mappingRecord an Example Mapping session into discoveries/example-mappings/{story-key}.yaml — the board's rules, examples, and questions committed verbatim as the baseline every later diff is read against. Use after a session on a story's board, whether or not the story has a card, or when that board was reworked; it never changes what the room agreed, and never tidies what it wrote — sharpening the mapping is formulate-example-mapping's commit, laid over yours. A rule changed or added outside a session routes to change-rule, and one put forward for agreement to propose-rule; this skill never reads the implementation.