Codex Chief Livewire Tests for Targeted List Updates
Keep Livewire component state explicit and test focused list updates, scoped events and rendered output.
中文Install in Codex
Open Chief in Codex with the list component, row identifiers and event expectations.
- Review `.agents/skills/livewire-development/SKILL.md` and its requirements at the pinned GitHub commit.
- Create `.agents/skills/livewire-development/` in your project and save the reviewed file as `.agents/skills/livewire-development/SKILL.md`.
- Start Codex from that project's root, then type `$livewire-development` and select the matching skill.
Example task
Plan a test for renaming one item in this sample task list.
{"rows":[7,9],"changedId":7,"newLabel":"Ready for review","emitted":"task-7-renamed"}What to check
Assert `row7=Ready for review` and `row9=unchanged`. Check that `task-7-renamed` fires and only row 7 updates in this case.
Original SKILL.md on GitHub · Updated
Frequently asked question
Should one modified item reload the entire list?
Prefer stable row keys and targeted rendering while preserving the loaded state of other rows.