Desktop
gridaco/grida
Grida Desktop Electron shell and release-impact work: BrowserWindow, preload, window.grida, menus, protocol/deep links, file associations, Forge, path-scoped bridge security, Electron-only UI bugs…
Conventions for authoring rustdoc doctests in playwright-rust — the norun annotation, module-level placement, hidden scaffolding lines, and how doctests are exercised in CI vs pre-commit.
$ npx skills add padamson/playwright-rust --skill doctest-conventions -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install padamson/playwright-rust doctest-conventions --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/padamson/playwright-rust.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/doctest-conventions .claude/skills/doctest-conventions && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "doctest-conventions" agent skill from https://github.com/padamson/playwright-rust/tree/main/.claude/skills/doctest-conventions into .claude/skills/doctest-conventions/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "doctest-conventions", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/padamson/playwright-rust/tree/main/.claude/skills/doctest-conventionsType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add padamson/playwright-rust --skill doctest-conventions -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install padamson/playwright-rust doctest-conventions --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/padamson/playwright-rust.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/doctest-conventions .agents/skills/doctest-conventions && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "doctest-conventions" agent skill from https://github.com/padamson/playwright-rust/tree/main/.claude/skills/doctest-conventions into .agents/skills/doctest-conventions/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "doctest-conventions", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add padamson/playwright-rust --skill doctest-conventions -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install padamson/playwright-rust doctest-conventions --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/padamson/playwright-rust.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/doctest-conventions .cursor/skills/doctest-conventions && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "doctest-conventions" agent skill from https://github.com/padamson/playwright-rust/tree/main/.claude/skills/doctest-conventions into .cursor/skills/doctest-conventions/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "doctest-conventions", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/padamson/playwright-rust.git --path .claude/skills/doctest-conventions--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add padamson/playwright-rust --skill doctest-conventions -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install padamson/playwright-rust doctest-conventions --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/padamson/playwright-rust.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/doctest-conventions .gemini/skills/doctest-conventions && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "doctest-conventions" agent skill from https://github.com/padamson/playwright-rust/tree/main/.claude/skills/doctest-conventions into .gemini/skills/doctest-conventions/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "doctest-conventions", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install padamson/playwright-rust doctest-conventionsInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add padamson/playwright-rust --skill doctest-conventions -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/padamson/playwright-rust.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/doctest-conventions .github/skills/doctest-conventions && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "doctest-conventions" agent skill from https://github.com/padamson/playwright-rust/tree/main/.claude/skills/doctest-conventions into .github/skills/doctest-conventions/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "doctest-conventions", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add padamson/playwright-rust --skill doctest-conventions -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install padamson/playwright-rust doctest-conventions --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/padamson/playwright-rust.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/doctest-conventions .opencode/skills/doctest-conventions && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "doctest-conventions" agent skill from https://github.com/padamson/playwright-rust/tree/main/.claude/skills/doctest-conventions into .opencode/skills/doctest-conventions/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "doctest-conventions", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
doctest-conventionsConventions for authoring rustdoc doctests in playwright-rust — the norun annotation, module-level placement, hidden scaffolding lines, and how doctests are exercised in CI vs pre-commit.
Doctest Conventions is an agent skill from padamson/playwright-rust. Conventions for authoring rustdoc doctests in playwright-rust — the norun annotation, module-level placement, hidden scaffolding lines, and how doctests are exercised in CI vs pre-commit.
Its SKILL.md is about 750 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Testing & QA, covering Browser testing and Project scaffolding. It works with Playwright and Rust. The repository describes itself as: Rust language bindings for Microsoft Playwright. The licence is Apache-2.0.
Read from SKILL.md and the folder at commit 0cf5194. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
cargoFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Doctest Conventions loads about 749 tokens when it runs. Until then it costs about 53 tokens; SKILL.md has 256 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from padamson/playwright-rust at commit 0cf5194, republished under its Apache-2.0 licence (© padamson). 256 words, ~749 tokens.
.claude/skills/doctest-conventions/SKILL.md (or your agent's skills folder).Every rustdoc example is compile-checked on every cargo test --doc
(pre-commit and CI). Browser automation can't execute in a doctest
harness, so examples are compiled but not run — same contract as the
agent-doc snippets (verify-agent-docs) and landing-page snippets
(verify-site-snippets).
no_runno_run — compiled every time, never executed. ← use this
ignore — never compiled, never executed; rustdoc only highlights it.
(none) — compiled AND executed; only for pure, browser-free examples.**Use ```no_run for anything that would launch a browser or talk to
the Playwright server.** Plain ```rust is fine for pure logic
(selector builders, option construction) that can really execute.
**Never use ```ignore** except when the code genuinely cannot
compile in this crate — the only sanctioned case is the macros/trace
crates' module docs showing downstream playwright-rs usage, which
would need a cyclic dev-dependency to compile.
History. Until 2026-06, the convention was
ignore+ a CI step runningcargo test --doc -- --ignored, believed to execute them. It never did: rustdoc surfacesignoreblocks as empty always-pass stubs (83 "passed" in 0.00s). The examples had zero protection and ~10 had silently rotted.no_runis what the convention always intended.
Prefer one comprehensive module-level doctest (//!) per protocol
file, demonstrating related APIs in a realistic scenario. Per-function
examples are allowed where they pull their weight — they must compile
like everything else.
Use hidden scaffolding lines (# -prefixed) so the rendered docs
show only the instructive lines while the compiler sees a complete
program:
/// # Example
///
/// ```no_run
/// # use playwright_rs::Playwright;
/// # async fn example() -> Result<(), Box<dyn std::error::Error>> {
/// # let pw = Playwright::launch().await?;
/// # let page = pw.chromium().launch().await?.new_page().await?;
/// page.goto("https://example.com", None).await?;
/// let title = page.title().await?;
/// # Ok(())
/// # }
/// ```Module-level (//!) doctests use //! # for hidden lines. A full
#[tokio::main] async fn main() is also fine when showing the whole
program is the point.
# Compile-check all doctests (pre-commit AND CI run exactly this)
cargo test --doc --workspace
# Pure examples without no_run also execute in the same passBoth run the same command — there is no separate execution lane:
- name: Compile doc-tests
run: cargo test --doc --workspace© padamson, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .claude/skills/doctest-conventions of padamson/playwright-rust.
Open the folder on GitHubat commit 0cf5194
Doctest Conventions next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Doctest Conventions this skillpadamson/playwright-rust | 154 | — | ~749 | Automated safety check: Pass | Apache-2.0 | |
| Desktopgridaco/grida | 2.7k | — | ~3.2k | Automated safety check: Notes | Apache-2.0 | |
| Playwright Component Testingmellowagain/gitarena | 115 | 1 repos | ~2.6k | Automated safety check: Pass | MIT | |
| UI Regression Recorderxuxh21/ui-regression-recorder-skill | 112 | — | ~4.4k | Automated safety check: Pass | None | |
| Playwright Tracemellowagain/gitarena | 115 | 1 repos | ~1.2k | Automated safety check: Pass | MIT | |
| Hydra Devstreamband/hydra-srt | 147 | — | ~995 | Automated safety check: Pass | Apache-2.0 |
gridaco/grida
Grida Desktop Electron shell and release-impact work: BrowserWindow, preload, window.grida, menus, protocol/deep links, file associations, Forge, path-scoped bridge security, Electron-only UI bugs…
mellowagain/gitarena
Set up component testing with Playwright using a story gallery — scaffold stories and a gallery dev page driven by the built-in mount fixture, no dedicated component-testing runtime.
xuxh21/ui-regression-recorder-skill
A skill your agent uses when the user says to initialize the current project for UI regression, record an operation, convert Playwright codegen recordings into stable tests, extract shared helpers…
mellowagain/gitarena
Inspect Playwright trace files from the command line — list actions, view requests, console, errors, snapshots and screenshots.
streamband/hydra-srt
Run HydraSRT development workflows: mix q quality gate, Elixir unit/E2E tests, native Rust tests, web Vitest/Playwright, and make dev.
debs-obrien/playwright-movies-app
Coach a learner through the learn/ Playwright Movies curriculum.
padamson/playwright-rust
Procedural reference for using playwright-rs in Rust browser-automation code — object model (Browser/Context/Page/Locator), the locator!() macro, builder pattern for options, auto-wait semantics…
padamson/playwright-rust
End-to-end release runbook for playwright-rust — version bump, supply-chain refresh, per-crate CHANGELOGs, tag-prefix routing for the three workspace crates, the safer push-then-tag workflow that…
padamson/playwright-rust
Procedure for keeping playwright-rust's cargo audit / cargo deny / cargo vet checks green when bumping the project's own version, when external crates change, and when a security advisory drops.
Works with
Categories
Conventions for authoring rustdoc doctests in playwright-rust — the norun annotation, module-level placement, hidden scaffolding lines, and how doctests are exercised in CI vs pre-commit. Doctest Conventions is an agent skill from padamson/playwright-rust. Conventions for authoring rustdoc doctests in playwright-rust — the norun annotation, module-level placement, hidden scaffolding lines, and how doctests are exercised in CI vs pre-commit.
Doctest Conventions fits situations like: tasks that involve Browser testing; tasks that involve Project scaffolding.
Run `npx skills add padamson/playwright-rust --skill doctest-conventions -a claude-code`. Or copy the skill folder (.claude/skills/doctest-conventions in padamson/playwright-rust) into .claude/skills/doctest-conventions in your project. Claude Code loads it when a task matches its description.
Run `npx skills add padamson/playwright-rust --skill doctest-conventions -a codex`. Or copy the skill folder (.claude/skills/doctest-conventions in padamson/playwright-rust) into .agents/skills/doctest-conventions in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add padamson/playwright-rust --skill doctest-conventions -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/doctest-conventions, .gemini/skills/doctest-conventions, .github/skills/doctest-conventions and .opencode/skills/doctest-conventions in your project.
Going by SKILL.md and its folder, Doctest Conventions needs the command-line tools its instructions call (cargo).
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Doctest Conventions is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 749 tokens (SKILL.md is roughly 3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Doctest Conventions: Desktop (gridaco/grida, 2.7k stars), Playwright Component Testing (mellowagain/gitarena, 115 stars), UI Regression Recorder (xuxh21/ui-regression-recorder-skill, 112 stars) and Playwright Trace (mellowagain/gitarena, 115 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
padamson (a GitHub user) maintains it in padamson/playwright-rust, which has 154 GitHub stars. The repository holds 4 skills in this directory. The repository was last updated on October 4, 2026.
Source: padamson/playwright-rust on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.