- 1
See the original work.
In Cowork, run the experiment command with the supplied notes. In Code, open
/kitchenand click the counter. Write down what you expect to change. - 2
Edit one observable detail.
Change a field name in
commands/experiment.md, or change the counter button’s label inhooks/register.js. Repackage Cowork; use--plugin-dirfor Code’s edit/reload loop. - 3
Prove that specific change.
Invoke the command again or press the button. Run the relevant checks, then record the app surface and version. A host test can validate an element tree; the app still needs a visual check.
Useful local checks
No npm install is needed. Node.js 20+, Python 3.9+, and a recent Claude Code are enough for the full set.
npm test npm run validate npm run test:native npm run site:build npm run site:check
Concrete Code exercise: change the counter label.
- From the repository root launch
claude --plugin-dir ./plugins/kitchen-sink. - Run
/kitchenand click the counter once. - In
hooks/register.js, find the button keyedcounter. Change only its label toMy experiment: ${clicks}. - Save, wait for the reload notice, reopen the pane if needed, and click again.
Expect: the new label appears, the counter increments, and its value starts over after a module reload. The key and callback stay the same.
The native test currently expects the original label. Update that assertion to your intentional new label before running npm run test:native. A behavior test should reflect the change you mean to keep.
Or use the Cowork path.
Rename one experiment-card field, rebuild the ZIP, and re-upload it. That changes workflow instructions rather than a rendering callback. Use the same synthetic notes to make the comparison easier.