Files
playwriter/playwriter
Tommy D. Rossi 4d9a410799 playwriter skill self improvement: snapshot() is the primary tool, not screenshot + image agents
The biggest context waste pattern is: screenshot → spawn image-understanding agent →
read description → repeat. snapshot() gives the same information (element names, roles,
locators, text) instantly as text.

Changes:
- Split 'snapshot before screenshot' into two rules: one for snapshot vs screenshot,
  one explicitly saying snapshot replaces page.evaluate() DOM inspection
- Remove wrong claim that screenshotWithAccessibilityLabels returns images inline
  in CLI context (it doesn't — that's MCP-only)
- Rewrite mistake #13 as numbered steps: snapshot first, try correct interaction
  pattern second, investigate internals only as last resort
- Clarify when page.evaluate() IS still appropriate (state mutations, non-DOM data)
2026-02-27 21:19:40 +01:00
..
2026-02-22 15:21:38 +01:00
nn
2025-11-26 17:00:40 +01:00
2025-11-16 17:43:30 +01:00
2026-02-22 15:21:38 +01:00