What agents should know before contributing
microsoft/playwright
Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
Read by Bluet from 2 files written for agents and 300 merged pull requests on 2026-09-24. Not reviewed by the maintainers.
Rules its files tell agents (6)
- CLAUDE.md
mustNever amend commits.
Never amend commits. Always create a new commit for follow-up changes, even when iterating on an open PR. Amending rewrites history and forces a force-push, losing the incremental review trail. Only amend if the user explicitly says so.
- CLAUDE.md
mustNever git push without an explicit instruction to push.
Never git push without an explicit instruction to push. Applies even when a PR is already open for the branch — additional commits are immediately visible to reviewers. Commit locally, report what was committed, and wait. Only push when the user's message contains "push", "upload", "create PR", "ship it", or equivalent.
- CLAUDE.md
mustKey rule: Client code NEVER imports server code.
Key rule: Client code NEVER imports server code. Server code NEVER imports client code. Communication is only through the protocol. When creating or moving files, update the relevant DEPS.list to declare allowed imports. Files marked "strict" can only import what is explicitly listed.
- CLAUDE.md
mustNever add test plan to PR description.
Never add test plan to PR description. Keep PR description short — a few bullet points at most. Branch naming for issue fixes: fix-<issue-number>
- CONTRIBUTING.md
shouldLow-Quality AI Contributions: PRs that do not meet our quality standards or lack human oversight (including lo…
Low-Quality AI Contributions: PRs that do not meet our quality standards or lack human oversight (including low-quality agentic submissions) will be closed without explanation.
- CLAUDE.md
shouldDo not use tsc --noEmit or individual lint commands separately.
Always run flint before committing. Do not use tsc --noEmit or individual lint commands separately.
Decisions its pull requests settled (1)
- #42365drop the backend after browser_close with a shared browser