A craft-market organizer wants vendors to estimate the cost of a stall. Claude can make that calculator as an artifact, an editable piece of work that opens beside the conversation. Ask for the calculator in a chat. The exercise uses invented fees and needs no payment details, customer names or external data.
Write the rules before generating
Use $18 per table per day and $7 for optional electricity per booking. Ask for a table count and a day count, both whole numbers of at least one, plus one electricity checkbox. The total is the table count times the day count times $18, with $7 added once if electricity is selected. Ask for a visible breakdown so the user can follow the arithmetic.
Test the numbers and the controls
One table for one day should cost $18. Two tables for three days with electricity should cost $115. Try zero, a blank field and 1.5 tables, and check that each gets a helpful error. Turn electricity off and check that the second example drops to $108. Revise the artifact in Claude if the implementation drifts from the rules. Check its sharing settings before inviting vendors to try the practice version.
Check what the calculator shows after an edit
Enter two tables, three days and electricity. Read the breakdown before touching the total. It should show $108 for tables and $7 for electricity. Now change the number of days to one. The new total should be $43 and the electricity charge should stay at $7. Clear the day field next and check that the calculator marks the missing input and clears or disables the dollar result. If a prior total remains visible as if current, ask Claude to tie the breakdown and total to valid input values.
