Claude Code test-planner for Playwright acceptance test plans
Turn UI acceptance criteria in existing requirements and user stories into Given, When, Then scenarios for the person implementing Playwright coverage.
中文Install in Claude Code
Use Claude Code with requirements.md and user-stories/ under the feature folder. Allow writes to the test-plan directory for that feature.
- Review `.claude/skills/test-planner/SKILL.md` and its requirements at the pinned GitHub commit.
- Create `.claude/skills/test-planner/` in your project and save the reviewed file as `.claude/skills/test-planner/SKILL.md`.
- Start Claude Code from that project's root, then select `/test-planner` in the slash menu.
Example task
The example feature is a library reservation. In reserve-room.md, switching to Card Room must display only that room, and a fully booked time must show “No times available”. The sync-only.md story describes background synchronization only.What to check
The reservation plan under playwright/test-plans/ includes separate scenarios for filtering to Card Room and showing the “No times available” empty state. The index only lists the reservation story.
Original SKILL.md on GitHub · Updated
Frequently asked question
Does it plan Playwright cases for backend-only stories?
It extracts scenarios that can be tested through the UI. Background synchronization is relevant only where it produces a visible behavior in the feature.