Ask me what skills you need
What are you building?
Tell me what you're working on and I'll find the best agent skills for you.
`js_repl` を使ってブラウザや Electron を永続セッションで操作し、高速に UI デバッグを反復するためのスキルです。
このスキルは、永続的な js_repl セッション内でブラウザや Electron を対話的に扱う必要があるときに使います。コード編集、リロード、繰り返し確認の間も Playwright のハンドルを生かし続け、高速に反復できる状態を保ってください。
js_repl が有効である必要があります。js_repl が無効なら、~/.codex/config.toml で有効化します。[features]
js_repl = true
--enable js_repl(-c features.js_repl=true と同等)で新しいセッションを開始しても構いません。js_repl を有効化したあとは、ツール一覧を更新するために Codex の新しいセッションを開始してください。--sandbox danger-full-access、または sandbox_mode=danger-full-access 相当の設定で Codex を起動します。これは、サンドボックス内での js_repl + Playwright サポートがまだ完全ではないための暫定要件です。js_repl_reset は日常的な掃除ではなく、復旧手段として扱います。カーネルをリセットすると Playwright のハンドルは破棄されます。test -f package.json || npm init -y
npm install playwright
# Web 専用。Chromium を表示付きで使う場合やモバイルエミュレーションを行う場合:
# npx playwright install chromium
# Electron 専用。対象ワークスペース自体が Electron アプリの場合のみ:
# npm install --save-dev electron
node -e "import('playwright').then(() => console.log('playwright import ok')).catch((error) => { console.error(error); process.exit(1); })"
あとで別のワークスペースに切り替える場合は、その場所で同じセットアップを繰り返します。
npx skills add yuki-yano/dotfiles --skill playwright-interactiveHow clear and easy to understand the SKILL.md instructions are, rated from 1 to 5.
Clear and well structured, with only minor parts that might need a second read.
How directly an agent can act on the SKILL.md instructions, rated from 1 to 5.
Mostly actionable with clear steps; only a few small gaps remain.