Self-driving docs via Playwright exploration
A team lets Claude Code drive Playwright to explore their product, find documentation gaps, and draft the missing pages.
- Agent or tool
- Claude Code
- Topic
- Software Development
- Reported on
- Lenny's Newsletter
- Added
- 2026-10-15
Why it matters
Coding agents are moving from autocomplete to doing whole tasks: reading a codebase, making a plan and changing many files. This case is a concrete example of where that works in practice. It is one of 106 sightings filed under Software Development on Agent Sightings (number 23 by interest), and one of 164 involving Claude Code.
How you could try it
Here is a reusable prompt, written by us in our own words, that captures the task. Paste it into Claude Code or any similar agent and adjust the details to your situation.
Explore the app with Playwright as a new user. Compare what you find to docs/, list knowledge gaps, and draft PR-ready markdown for the three biggest gaps.
Tip: Work on a fresh branch, ask for a plan before edits, and review the diff and test results before merging.
Source
Read the original first-hand account on Lenny's Newsletter: https://www.lennysnewsletter.com/p/everyone-should-be-using-claude-code. Our summary is a paraphrase; details are in the source.