Claude Code Kotlin parity review for stable paging
Compare sorting and pagination semantics in the production repository, test doubles, and Kotlin test names.
中文Install in Claude Code
Open Stayloop's Kotlin sources, tests, and docs in Claude Code. The exercise reviews one ordering rule. Keep the parent verify-code skill for the full workflow.
- Review `.claude/skills/verify-code-parity/SKILL.md` and its requirements at the pinned GitHub commit.
- Create `.claude/skills/verify-code-parity/` in your project and save the reviewed file as `.claude/skills/verify-code-parity/SKILL.md`.
- Start Claude Code from that project's root, then select `/verify-code-parity` in the slash menu.
Example task
Use {sort: 'displayOrder then id', production: 'stable', testDouble: 'displayOrder only'}. Two room entries share displayOrder, with identifiers room-a and room-b in that order.What to check
Report {sort: 'displayOrder then id', expected: 'room-a room-b', testDouble: 'mismatch'}. Check ordered results for the same input in production and in the test double.
Original SKILL.md on GitHub · Updated
Frequently asked question
Why is an unordered assertion insufficient?
An unordered assertion can pass even when ordering is wrong. Add an ordered assertion when the test name promises stable sorting.