Web Application Testing
anthropics/skills
Tests local web applications with Python Playwright scripts, checking frontend behavior, capturing screenshots and reading browser console logs.
A skill your agent uses when authoring or validating Typst documents from canonical grammar examples, especially when you need compile, HTML, or SVG-based validation workflows.
$ npx skills add typst-doc-cn/tutorial --skill typst-grammar-authoring -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install typst-doc-cn/tutorial typst-grammar-authoring --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/typst-doc-cn/tutorial.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.codex/skills/typst-grammar-authoring .claude/skills/typst-grammar-authoring && 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 "typst-grammar-authoring" agent skill from https://github.com/typst-doc-cn/tutorial/tree/main/.codex/skills/typst-grammar-authoring into .claude/skills/typst-grammar-authoring/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "typst-grammar-authoring", 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/typst-doc-cn/tutorial/tree/main/.codex/skills/typst-grammar-authoringType 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 typst-doc-cn/tutorial --skill typst-grammar-authoring -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install typst-doc-cn/tutorial typst-grammar-authoring --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/typst-doc-cn/tutorial.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.codex/skills/typst-grammar-authoring .agents/skills/typst-grammar-authoring && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "typst-grammar-authoring" agent skill from https://github.com/typst-doc-cn/tutorial/tree/main/.codex/skills/typst-grammar-authoring into .agents/skills/typst-grammar-authoring/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "typst-grammar-authoring", 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 typst-doc-cn/tutorial --skill typst-grammar-authoring -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install typst-doc-cn/tutorial typst-grammar-authoring --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/typst-doc-cn/tutorial.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.codex/skills/typst-grammar-authoring .cursor/skills/typst-grammar-authoring && 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 "typst-grammar-authoring" agent skill from https://github.com/typst-doc-cn/tutorial/tree/main/.codex/skills/typst-grammar-authoring into .cursor/skills/typst-grammar-authoring/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "typst-grammar-authoring", 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/typst-doc-cn/tutorial.git --path .codex/skills/typst-grammar-authoring--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 typst-doc-cn/tutorial --skill typst-grammar-authoring -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install typst-doc-cn/tutorial typst-grammar-authoring --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/typst-doc-cn/tutorial.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.codex/skills/typst-grammar-authoring .gemini/skills/typst-grammar-authoring && 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 "typst-grammar-authoring" agent skill from https://github.com/typst-doc-cn/tutorial/tree/main/.codex/skills/typst-grammar-authoring into .gemini/skills/typst-grammar-authoring/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "typst-grammar-authoring", 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 typst-doc-cn/tutorial typst-grammar-authoringInstalls 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 typst-doc-cn/tutorial --skill typst-grammar-authoring -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/typst-doc-cn/tutorial.git skills-src && mkdir -p .github/skills && cp -r skills-src/.codex/skills/typst-grammar-authoring .github/skills/typst-grammar-authoring && 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 "typst-grammar-authoring" agent skill from https://github.com/typst-doc-cn/tutorial/tree/main/.codex/skills/typst-grammar-authoring into .github/skills/typst-grammar-authoring/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "typst-grammar-authoring", 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 typst-doc-cn/tutorial --skill typst-grammar-authoring -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install typst-doc-cn/tutorial typst-grammar-authoring --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/typst-doc-cn/tutorial.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.codex/skills/typst-grammar-authoring .opencode/skills/typst-grammar-authoring && 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 "typst-grammar-authoring" agent skill from https://github.com/typst-doc-cn/tutorial/tree/main/.codex/skills/typst-grammar-authoring into .opencode/skills/typst-grammar-authoring/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "typst-grammar-authoring", 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.
typst-grammar-authoringA skill your agent uses when authoring or validating Typst documents from canonical grammar examples, especially when you need compile, HTML, or SVG-based validation workflows.
Typst Grammar Authoring is an agent skill from typst-doc-cn/tutorial. Use when authoring or validating Typst documents from canonical grammar examples, especially when you need compile, HTML, or SVG-based validation workflows.
Its SKILL.md is about 2.6k 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. It works with Playwright. The licence is Apache-2.0.
5 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit b2e19b6. 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:
rgFrom the folder's file list and the shell code blocks in SKILL.md.
Hosts in commands or code, which the agent is likely to contact:
zh.wikipedia.orgFrom 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.
Typst Grammar Authoring loads about 2.6k tokens when it runs. Until then it costs about 45 tokens; SKILL.md has 650 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 typst-doc-cn/tutorial at commit b2e19b6, republished under its Apache-2.0 licence (© typst-doc-cn). 650 words, ~2,561 tokens.
.claude/skills/typst-grammar-authoring/SKILL.md (or your agent's skills folder).Use this skill when the user wants help drafting, fixing, or validating Typst documents. Everything needed for grammar lookup lives in this file so it can be copied into another repository without sibling scripts or reference files.
typst compile after each meaningful edit. Any non-zero exit code is a
blocking failure.Compile validation:
typst compile --root . path/to/document.typ target/typst-grammar-authoring-check/document.pdfText validation through HTML:
typst compile --root . --features html path/to/document.typ target/typst-grammar-authoring-check/document.html
rg "expected text" target/typst-grammar-authoring-check/document.htmlVisual validation through SVG:
typst compile --root . path/to/document.typ target/typst-grammar-authoring-check/document.svg
typst compile --root . path/to/document.typ target/typst-grammar-authoring-check/document-{0p}.svgPlaywright inspection:
{p} or {0p} in multi-page SVG output paths.This section is embedded on purpose so the skill stays self-contained. Examples are derived from the unofficial tutorial grammar samples and kept compact so the lookup remains usable in a single file.
<!-- BEGIN GENERATED GRAMMAR LOOKUP -->
paragraph: writing-markupheading: = Heading; == Headingstrong: *Strong*emph: _emphasis_; *_emphasis_*list:+ List 1
+ List 2continue-list:4. List 1
+ List 2emum:- Enum 1
- Enum 2mix-list-emum:- Enum 1
+ Item 1
- Enum 2raw:`code`long-raw:``` code```lang-raw:```rs trait World```blocky-raw:```typ
= Heading
```image: #image("/assets/files/香風とうふ店.jpg", width: 50pt)image-stretch: #image("/assets/files/香風とうふ店.jpg", width: 50pt, height: 50pt, fit: "stretch")image-inline: 在一段话中插入一个#box(baseline: 0.15em, image("/assets/files/info-icon.svg", width: 1em))图片。figure:#figure(```typ
#image("/assets/files/香風とうふ店.jpg")
```, caption: [用于加载香風とうふ店送外卖的宝贵影像的代码])link: #link("https://zh.wikipedia.org")[维基百科]http-link: https://zh.wikipedia.orginternal-link:== 某个标题 <ref-internal-link>
#link(<ref-internal-link>)[链接到某个标题]table: #table(columns: 2, [111], [2], [3])table-align: #table(columns: 2, align: center, [111], [2], [3])inline-math: $sum_x$display-math: $ sum_x $escape-sequences: >\_<unicode-escape-sequences: \u{9999}newline-by-space: A \ Bnewline:A \
Bshorthand: 北京--上海shorthand-space: A~Binline-comment: // 行内注释cross-line-comment:/* 行间注释
*/box: 在一段话中插入一个#box(baseline: 0.15em, image("/assets/files/info-icon.svg", width: 1em))图片。highlight: #highlight[高亮一段内容]underline: #underline[Language]underline-evade:#underline(
evade: false)[ጿኈቼዽ]overline: #overline[ጿኈቼዽ]strike: #strike[ጿኈቼዽ]subscript: 威严满满#sub[抱头蹲防]superscript: 香風とうふ店#super[TM]text-size: #text(size: 24pt)[一斤鸭梨]text-fill: #text(fill: blue)[蓝色鸭梨]text-font: #text(font: "Microsoft YaHei")[板正鸭梨]enter-script: #1code-block: #{"a"; "b"}content-block: #[内容块]none-literal: #nonefalse-literal: #falsetrue-literal: #trueinteger-literal: #(-1), #(0), #(1)n-adecimal-literal: #(-0xdeadbeef), #(-0o644), #(-0b1001)float-literal: #(0.001), #(.1), #(2.)exp-repr-float: #(1e2), #(1.926e3), #(-1e-3)string-literal: #"Hello world!!"str-escape-sequences: #"\""str-unicode-escape-sequences: #"\u{9999}"array-literal: #(1, "OvO", [一段内容])dict-literal: #(neko-mimi: 2, "utterance": "喵喵喵")empty-array: #()empty-dict: #(:)paren-empty-array: #(())single-member-array: #(1,)var-decl: #let x = 1func-decl: #let f(x) = x * 2closure: #let f = (x, y) => x + ynamed-param: #let g(named: none) = namedvariadic-param: #let g(..args) = args.pos().join([、])destruct-array: #let (one, hello-world) = (1, "Hello, World")destruct-array-eliminate: #let (_, second, ..) = (1, "Hello, World", []); #seconddestruct-dict: #let (neko-mimi: mimi) = (neko-mimi: 2); #mimiarray-remapping:#let (a, b, c) = (1, 2, 3)
#let (b, c, a) = (a, b, c)
#a, #b, #carray-swap:#let (a, b) = (1, 2)
#((a, b) = (b, a))
#a, #bplaceholder:#let last-two(t) = {
let _ = t.pop()
t.pop()
}
#last-two((1, 2, 3, 4))if:#if true { 1 },
#if false { 1 } else { 0 }if-if:#if false { 0 } else if true { 1 },
#if false { 2 } else if false { 1 } else { 0 }while:#{
let i = 0;
while i < 10 {
(i * 2, )
i += 1;
}
}for:#for i in range(10) {
(i * 2, )
}for-destruct: #for (特色, 这个) in (neko-mimi: 2) [猫猫的 #特色 是 #这个\ ]break: #for i in range(10) { (i, ); (i + 1926, ); break }continue:#for i in range(10) {
if calc.even(i) { continue }
(i, )
}return:#let never(..args) = return
#type(never(1, 2))include: #include "other-file.typ"set:#set text(size: 24pt)
四斤鸭梨scope:两只#[兔#set text(fill: rgb("#ffd1dc").darken(15%))
#[兔白#set text(fill: orange)
又白],真可爱
]set-if:#let is-dark-theme = true
#set rect(fill: black) if is-dark-theme
#set text(fill: white) if is-dark-theme
#rect([wink!])show-set:#show: set text(fill: blue)
wink!show:#show raw: it => it.lines.at(1)
获取代码片段第二行内容:```typ
#{
set text(fill: true)
}
```text-selector:#show "cpp": strong(emph(box("C++")))
在古代,cpp是一门常用语言。regex-selector:#show regex("[”。]+"): it => {
set text(font: "KaiTi")
highlight(it, fill: yellow)
}
“无名,万物之始也;有名,万物之母也。”label-selector:#show <一整段话>: set text(fill: blue)
#[$lambda$语言是世界上最好的语言。] <一整段话>
另一段话。selector-exp:#show heading.where(level: 2): set text(fill: blue)
= 一级标题
== 二级标题here: #context here().position()here-calc: #context [ 页码是偶数:#calc.even(here().page()) ]query: #context query(<ref-internal-link>).at(0).bodystate: #state("my-state", 1)func-call: #calc.pow(4, 3)content-param: #emph[emphasis]member-exp:#`OvO`.textmethod-exp: #"Hello World".split(" ")dict-member-exp:#let cat = (neko-mimi: 2)
#cat.neko-mimicontent-member-exp:#`OvO`.textrepr: #repr[ 一段文本 ]type: #type[一段文本]eval: #type(eval("1"))eval-markup-mode: #eval("== 一个标题", mode: "markup")array-in:#let pol = (1, "OvO", [])
#(1 in pol)array-not-in:#let pol = (1, "OvO", [])
#([另一段内容] not in pol)dict-in:#let cat = (neko-mimi: 2)
#("neko-mimi" in cat)logical-cmp-exp:#(1 < 0), #(1 >= 2),
#(1 == 2), #(1 != 2)logical-calc-exp: #(not false), #(false or true), #(true and false)plus-exp: #(+1), #(+0), #(1), #(++1)minus-exp:#(-1), #(-0), #(--1),
#(-+-1)arith-exp:#(1 + 1), #(1 + -1),
#(1 - 1), #(1 - -1)assign-exp: #let a = 1; #repr(a = 10), #a, #repr(a += 2), #astring-concat-exp: #("a" + "b")string-mul-exp: #("a" * 4), #(4 * "ab")string-cmp-exp: #("a" == "b"), #("a" != "b"), #("a" < "ab"), #("a" >= "a")int-to-float: #float(1), #(type(float(1)))bool-to-int: #int(true), #(type(int(true)))float-to-int: #int(1), #(type(int(1)))dec-str-to-int: #int("1"), #(type(int("1")))nadec-str-to-int:#let safe-to-int(x) = {
let res = eval(x)
assert(type(res) == int, message: "should be integer")
res
}
#safe-to-int("0xf"), #(type(safe-to-int("0xf"))) \
#safe-to-int("0o755"), #(type(safe-to-int("0o755"))) \
#safe-to-int("0b1011"), #(type(safe-to-int("0b1011"))) \num-to-str:#repr(str(1)),
#repr(str(.5))int-to-nadec-str: #str(501, base:16), #str(0xdeadbeef, base:36)bool-to-str: #repr(false)int-to-bool:#let to-bool(x) = x != 0
#repr(to-bool(0)),
#repr(to-bool(1))<!-- END GENERATED GRAMMAR LOOKUP -->
© typst-doc-cn, 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 .codex/skills/typst-grammar-authoring of typst-doc-cn/tutorial.
Open the folder on GitHubat commit b2e19b6
Typst Grammar Authoring 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 |
|---|---|---|---|---|---|---|
| Typst Grammar Authoring this skilltypst-doc-cn/tutorial | 220 | — | ~2.6k | Automated safety check: Pass | Apache-2.0 | |
| Web Application Testinganthropics/skills | 180k | 51 repos | ~966 | Automated safety check: Pass | Apache-2.0 | |
| Playwright CLIsanity-io/sanity | 6.4k | 18 repos | ~1.9k | Automated safety check: Pass | MIT | |
| Write and Verify Playwright Testsappsmithorg/appsmith | 41k | — | ~2.9k | Automated safety check: Notes | Apache-2.0 | |
| playwright-cli Browser Automationgithub/gh-aw | 5.4k | 23 repos | ~2.8k | Automated safety check: Pass | MIT | |
| Cucumber and Playwright E2E Testslanggenius/dify | 158k | — | ~682 | Automated safety check: Pass | Custom licence |
anthropics/skills
Tests local web applications with Python Playwright scripts, checking frontend behavior, capturing screenshots and reading browser console logs.
sanity-io/sanity
Automates browser interactions for web testing, form filling, screenshots, and data extraction.
appsmithorg/appsmith
Writes a Playwright end-to-end test from a prompt, runs it against a live Appsmith deployment and retries with fixes up to three times until it passes.
github/gh-aw
Drives a real browser from the command line with playwright-cli to open pages, interact, mock requests, save state and work with Playwright tests.
langgenius/dify
Guides changes and reviews of the Cucumber and Playwright end-to-end suite under `e2e/`: feature files, step definitions, support code, tags, locators and assertions.
OpenHands/OpenHands
This skill should be used to "verify OpenHands features", "test the Canvas UI like a user", "drive Agent Canvas", "check a UI change in the real app", "create or update the feature map", "run the…
typst-doc-cn/tutorial
A skill your agent uses when maintaining the portable typst-grammar-authoring skill from this repository's canonical Typst grammar source.
Works with
Categories
A skill your agent uses when authoring or validating Typst documents from canonical grammar examples, especially when you need compile, HTML, or SVG-based validation workflows. Typst Grammar Authoring is an agent skill from typst-doc-cn/tutorial. Use when authoring or validating Typst documents from canonical grammar examples, especially when you need compile, HTML, or SVG-based validation workflows.
Typst Grammar Authoring fits situations like: validating Typst documents from canonical grammar examples; especially when you need compile; SVG-based validation workflows.
Run `npx skills add typst-doc-cn/tutorial --skill typst-grammar-authoring -a claude-code`. Or copy the skill folder (.codex/skills/typst-grammar-authoring in typst-doc-cn/tutorial) into .claude/skills/typst-grammar-authoring in your project. Claude Code loads it when a task matches its description.
Run `npx skills add typst-doc-cn/tutorial --skill typst-grammar-authoring -a codex`. Or copy the skill folder (.codex/skills/typst-grammar-authoring in typst-doc-cn/tutorial) into .agents/skills/typst-grammar-authoring 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 typst-doc-cn/tutorial --skill typst-grammar-authoring -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/typst-grammar-authoring, .gemini/skills/typst-grammar-authoring, .github/skills/typst-grammar-authoring and .opencode/skills/typst-grammar-authoring in your project.
Going by SKILL.md and its folder, Typst Grammar Authoring needs the command-line tools its instructions call (rg).
SKILL.md names 1 domain. In commands or code: zh.wikipedia.org; the agent is likely to contact it when it follows the instructions. 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.
Typst Grammar Authoring 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 2.6k tokens (SKILL.md is roughly 10k 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 Typst Grammar Authoring: Web Application Testing (anthropics/skills, 180k stars), Playwright CLI (sanity-io/sanity, 6.4k stars), Write and Verify Playwright Tests (appsmithorg/appsmith, 41k stars) and playwright-cli Browser Automation (github/gh-aw, 5.4k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
typst-doc-cn (a GitHub organization) maintains it in typst-doc-cn/tutorial, which has 220 GitHub stars. The repository holds 2 skills in this directory. The repository was last updated on June 21, 2026.
Source: typst-doc-cn/tutorial on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.