docs: use bunx @playwright/cli in AGENTS.md and process.md#391
Conversation
Replace bare playwright-cli with the correct invocation. Drop the prohibition framing from AGENTS.md β just state what to use. https://claude.ai/code/session_01VXbxD98AzZ8pLfN2JmBeuE
|
No actionable comments were generated in the recent review. π βΉοΈ Recent review infoβοΈ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: π Files selected for processing (2)
π WalkthroughWalkthroughBoth documentation files are updated to use ChangesPlaywright CLI Invocation
Estimated code review effortπ― 1 (Trivial) | β±οΈ ~3 minutes Possibly related PRs
Poem
π₯ Pre-merge checks | β 5β Passed checks (5 passed)
βοΈ Tip: You can configure your own custom pre-merge checks in the settings. β¨ Finishing Touchesπ§ͺ Generate unit tests (beta)
Warning Review ran into problemsπ₯ ProblemsStopped waiting for pipeline failures after 30000ms. One of your pipelines takes longer than our 30000ms fetch window to run, so review may not consider pipeline-failure results for inline comments if any failures occurred after the fetch window. Increase the timeout if you want to wait longer or run a Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
π‘ Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 3614f4380c
βΉοΈ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with π.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| - Prefer a live Astro dev server on `127.0.0.1:4321` so markdown/plugin edits reload while you work (`bun run dev` in `tko.io/`). | ||
| - Verify each `Open in Playground` button on the page; if a page has multiple TSX examples, check every one, not just the first. | ||
| - Standard flow: `playwright-cli close-all`, `playwright-cli open http://127.0.0.1:4321/...`, inspect the snapshot for playground refs, click each button, switch to the playground tab, and confirm `[data-role="status"]` (shows "esbuild ready"), `[data-role="compile-time"]`, and `[data-role="error-bar"]`. | ||
| - Standard flow: `bunx @playwright/cli close-all`, `bunx @playwright/cli open http://127.0.0.1:4321/...`, inspect the snapshot for playground refs, click each button, switch to the playground tab, and confirm `[data-role="status"]` (shows "esbuild ready"), `[data-role="compile-time"]`, and `[data-role="error-bar"]`. |
There was a problem hiding this comment.
Run the package's
playwright-cli binary via bunx
For docs verification, these examples need to invoke the binary that @playwright/cli actually exposes. I checked Bun's bunx docs, which direct using --package <pkg> when the binary name differs from the package name, and @playwright/cli's package.json declares only the playwright-cli bin; in that context, bunx @playwright/cli close-all misleads agents into running a non-existent @playwright/cli executable instead of closing/opening the browser session. Use a form like bunx -p @playwright/cli playwright-cli close-all/open ... here and in the general AGENTS.md guidance.
Useful? React with πΒ / π.
There was a problem hiding this comment.
Pull request overview
This PR updates agent-facing documentation to use the bunx @playwright/cli invocation for Playwright browser automation.
Changes:
- Replaces the AGENTS.md browser automation command with
bunx @playwright/cli <cmd>. - Updates the detailed docs verification workflow to use
bunx @playwright/cli. - Keeps the headless/docs verification guidance otherwise unchanged.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
AGENTS.md |
Updates the prerequisite guidance for browser automation command usage. |
tko.io/public/agents/process.md |
Updates the detailed headless Playwright docs verification commands. |
| - Use `bun install` instead of `npm install`; `bunx` instead of `npx`. | ||
| - In repo scripts (`tko.io/scripts`, `tools/`), prefer native Bun APIs β `Bun.Glob`, `Bun.file`, `Bun.write`, `Bun.$` β over `node:fs`, the `glob` export from `node:fs/promises`, or ad-hoc `child_process`. Runtime is pinned by `.tool-versions`, so there's no Node-version portability concern. | ||
| - Browser automation uses `bunx playwright <cmd>` via the repo's `playwright` dependency (not `npx playwright`, not the deprecated `playwright-cli` package). | ||
| - Browser automation uses `bunx @playwright/cli <cmd>`. |
|
Actionable comments posted: 0 |
Replace bare
playwright-clireferences withbunx @playwright/cli(the correct invocation for@playwright/cliv0.1.13). Also drop the prohibition framing fromAGENTS.mdβ just state what to use.https://claude.ai/code/session_01VXbxD98AzZ8pLfN2JmBeuE
Generated by Claude Code