Commit Graph

20 Commits

Author SHA1 Message Date
Tommy D. Rossi f87b0243cd format 2026-02-22 15:21:38 +01:00
Tommy D. Rossi 00baca9c2b playwriter skill self improvement: reduce wasted context on JS-heavy sites
Add explicit guidance to use playwriter first for JS-rendered websites and blocking overlays, based on repeated failures where webfetch/curl returned empty shells and screenshots were used too early.

Key updates:\n- Add a hard 'when to use playwriter vs webfetch/curl' rule in the main skill docs\n- Add a 'snapshot before screenshot' rule to prevent slow image-first debugging loops\n- Add a concrete anti-pattern for JS-rendered sites in common mistakes\n- Add obstacle-handling flow for cookie/login/age-gate overlays\n- Add media extraction/download pattern using evaluate + Node fetch/fs\n- Update skill frontmatter description (and well-known discovery copies) so context-loaded summaries also include the JS-heavy-site rule
2026-02-21 13:10:57 +01:00
Tommy D. Rossi 8eee5ce5d4 skill: add preference note to playwriter description
Clarify in the skill frontmatter that playwriter should be used over
other Playwright MCPs since it connects to the user's existing Chrome
instead of launching a new browser instance.
2026-02-20 22:18:13 +01:00
Tommy D. Rossi b03b6f6a12 Update SKILL.md 2026-01-31 18:48:44 +01:00
Tommy D. Rossi 9c33fca42e Update SKILL.md 2026-01-29 19:46:29 +01:00
Tommy D. Rossi fd3d4a1aee Update SKILL.md 2026-01-26 15:08:16 +01:00
Tommy D. Rossi 45cdc372a8 refactor: move SKILL.md to src, add playwriter skill command
- Move skills/playwriter/SKILL.md to playwriter/src/skill.md (source of truth)
- Add 'playwriter skill' CLI command to output full docs
- Make skills/playwriter/SKILL.md a lightweight stub pointing to CLI
- Generate prompt.md to dist/ instead of src/
- Strip CLI-only content from MCP prompt
2026-01-25 16:18:23 +01:00
Tommy D. Rossi e96c401078 tell to kill relay when testing locally 2026-01-25 14:34:19 +01:00
Tommy D. Rossi 316a10e9c9 remove Network.enable buffering override 2026-01-25 14:22:34 +01:00
Tommy D. Rossi 26a353e3bc use waitForPageLoad inall examples 2026-01-25 13:48:04 +01:00
Tommy D. Rossi 5469af0d30 Add playwriter logfile command and fix documentation paths 2026-01-24 18:31:33 +01:00
Tommy D. Rossi a5ca23f063 Update SKILL.md 2026-01-24 18:18:30 +01:00
Tommy D. Rossi 7c23766311 Update SKILL.md 2026-01-24 18:18:11 +01:00
Tommy D. Rossi 82ec762a3b Update SKILL.md 2026-01-24 18:15:42 +01:00
Tommy D. Rossi fefb6296c0 Update SKILL.md 2026-01-24 18:15:05 +01:00
Tommy D. Rossi 38b1b6d3ed docs: improve session isolation, extract MCP to separate file, add remote CLI 2026-01-24 15:10:53 +01:00
Tommy D. Rossi 1af5aac0cc feat: add session management CLI commands with @xmorse/cac
- Replace cac with @xmorse/cac for space-separated commands
- Add 'playwriter session new' to get new session ID
- Add 'playwriter session list' to show sessions and state keys
- Add 'playwriter session reset <id>' to reset a session
- Update SKILL.md with new CLI docs and multiline examples
- Put -s flag before -e in all examples
2026-01-24 12:57:21 +01:00
Tommy D. Rossi 580c5f4597 docs: update error message references in agent prompts 2026-01-22 20:16:09 +01:00
Tommy D. Rossi 58dc932990 Add CLI usage instructions to playwriter skill 2026-01-22 19:31:15 +01:00
Tommy D. Rossi eea0e57a1b Generate playwriter skill for add-skill discovery 2026-01-22 19:27:55 +01:00