Web Application Testing
anthropics/skills
Tests local web applications with Python Playwright scripts, checking frontend behavior, capturing screenshots and reading browser console logs.
Runs the json_repair docs demo against a local Flask API and static server, so changes to docs/app.py or the docs UI are checked end to end before publishing.
$ npx skills add mangiucugna/json_repair --skill docs-demo-local-test -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install mangiucugna/json_repair docs-demo-local-test --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/mangiucugna/json_repair.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/docs-demo-local-test .claude/skills/docs-demo-local-test && 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 "docs-demo-local-test" agent skill from https://github.com/mangiucugna/json_repair/tree/main/.agents/skills/docs-demo-local-test into .claude/skills/docs-demo-local-test/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "docs-demo-local-test", 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/mangiucugna/json_repair/tree/main/.agents/skills/docs-demo-local-testType 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 mangiucugna/json_repair --skill docs-demo-local-test -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install mangiucugna/json_repair docs-demo-local-test --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/mangiucugna/json_repair.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/docs-demo-local-test .agents/skills/docs-demo-local-test && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "docs-demo-local-test" agent skill from https://github.com/mangiucugna/json_repair/tree/main/.agents/skills/docs-demo-local-test into .agents/skills/docs-demo-local-test/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "docs-demo-local-test", 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 mangiucugna/json_repair --skill docs-demo-local-test -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install mangiucugna/json_repair docs-demo-local-test --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/mangiucugna/json_repair.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/docs-demo-local-test .cursor/skills/docs-demo-local-test && 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 "docs-demo-local-test" agent skill from https://github.com/mangiucugna/json_repair/tree/main/.agents/skills/docs-demo-local-test into .cursor/skills/docs-demo-local-test/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "docs-demo-local-test", 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/mangiucugna/json_repair.git --path .agents/skills/docs-demo-local-test--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 mangiucugna/json_repair --skill docs-demo-local-test -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install mangiucugna/json_repair docs-demo-local-test --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/mangiucugna/json_repair.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/docs-demo-local-test .gemini/skills/docs-demo-local-test && 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 "docs-demo-local-test" agent skill from https://github.com/mangiucugna/json_repair/tree/main/.agents/skills/docs-demo-local-test into .gemini/skills/docs-demo-local-test/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "docs-demo-local-test", 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 mangiucugna/json_repair docs-demo-local-testInstalls 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 mangiucugna/json_repair --skill docs-demo-local-test -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/mangiucugna/json_repair.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/docs-demo-local-test .github/skills/docs-demo-local-test && 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 "docs-demo-local-test" agent skill from https://github.com/mangiucugna/json_repair/tree/main/.agents/skills/docs-demo-local-test into .github/skills/docs-demo-local-test/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "docs-demo-local-test", 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 mangiucugna/json_repair --skill docs-demo-local-test -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install mangiucugna/json_repair docs-demo-local-test --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/mangiucugna/json_repair.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/docs-demo-local-test .opencode/skills/docs-demo-local-test && 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 "docs-demo-local-test" agent skill from https://github.com/mangiucugna/json_repair/tree/main/.agents/skills/docs-demo-local-test into .opencode/skills/docs-demo-local-test/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "docs-demo-local-test", 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.
docs-demo-local-testRuns the json_repair docs demo against a local Flask API and static server, so changes to docs/app.py or the docs UI are checked end to end before publishing.
This workflow checks the docs demo with local code only, without calling the deployed PythonAnywhere API. It is the default way to verify changes to `docs/app.py`, `docs/index.js`, `docs/index.html`, `docs/index.zh.html` and `docs/styles.css`. The agent starts the demo API with `uv run --with flask --with flask-cors python docs/app.py`, serves the docs folder with Python's http.server on port 4173 and opens the page in a browser.
Because the page normally calls the hosted API, a snippet in devtools patches `fetch` so requests go to the local server on port 5000. The agent then runs a schema coercion check: a JSON object whose value is the string 1, with a trailing comma, and an integer schema should come back with the number 1 and a log line saying a string was coerced to an integer. It confirms the POST goes to the local repair-json endpoint, optionally takes a screenshot and stops both servers with Ctrl+C. Troubleshooting notes cover uv cache permission errors, missing Flask modules and a fetch patch that did not apply.
5 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 975ea5f. 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:
uvpython3From 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:
mangiucugna.pythonanywhere.comFrom 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.
JSON Repair Docs Demo Local Test loads about 549 tokens when it runs. Until then it costs about 49 tokens; SKILL.md has 159 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 mangiucugna/json_repair at commit 975ea5f, republished under its MIT licence (© mangiucugna). 159 words, ~549 tokens.
.claude/skills/docs-demo-local-test/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.Use this workflow to validate docs demo behavior with local code only, without relying on the deployed PythonAnywhere API. This is the default verification path for docs/app.py, docs/index.js, docs/index.html, docs/index.zh.html, and docs/styles.css changes.
UV_CACHE_DIR=/tmp/uv-cache uv run --with flask --with flask-cors python docs/app.pypython3 -m http.server 4173 --directory docshttp://127.0.0.1:4173/index.html.fetch so the page hits local API instead of PythonAnywhere:() => {
const target = "https://mangiucugna.pythonanywhere.com/api/repair-json";
const local = "http://127.0.0.1:5000/api/repair-json";
const originalFetch = window.fetch.bind(window);
window.fetch = (input, init) => {
let nextInput = input;
if (typeof input === "string" && input === target) {
nextInput = local;
} else if (input instanceof Request && input.url === target) {
nextInput = new Request(local, input);
}
return originalFetch(nextInput, init);
};
return "fetch patched";
}{"value":"1",}{"type":"object","properties":{"value":{"type":"integer"}},"required":["value"]}{"value": 1}Coerced string to integerPOST http://127.0.0.1:5000/api/repair-jsonCtrl+C.uv run fails with cache permission errors, rerun with UV_CACHE_DIR=/tmp/uv-cache.uv run --with flask --with flask-cors ....© mangiucugna, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 1 other file in .agents/skills/docs-demo-local-test of mangiucugna/json_repair.
Open the folder on GitHubat commit 975ea5f
JSON Repair Docs Demo Local Test 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 |
|---|---|---|---|---|---|---|
| JSON Repair Docs Demo Local Test this skillmangiucugna/json_repair | 5.1k | — | ~549 | Automated safety check: Pass | MIT | |
| Web Application Testinganthropics/skills | 180k | 51 repos | ~966 | Automated safety check: Pass | Apache-2.0 | |
| RStudio Selenium to Playwright Migrationrstudio/rstudio | 5.1k | — | ~3.6k | Automated safety check: Pass | Custom licence | |
| Webapp TestingxenitV1/Antigravity-Workflows | 130 | 1 repos | ~947 | Automated safety check: Notes | MIT | |
| Python Testingmacalbert/envilder | 138 | — | ~3.1k | Automated safety check: Pass | MIT | |
| Error Explanation GeneratorArabelaTso/Skills-4-SE | 253 | — | ~3.8k | Automated safety check: Pass | Apache-2.0 |
anthropics/skills
Tests local web applications with Python Playwright scripts, checking frontend behavior, capturing screenshots and reading browser console logs.
rstudio/rstudio
Converts RStudio Python Selenium electron tests into TypeScript Playwright tests, checking each against a live RStudio before counting it as migrated.
xenitV1/Antigravity-Workflows
Web application testing principles. An agent skill from xenitV1/Antigravity-Workflows.
macalbert/envilder
Mandatory testing conventions including AAA pattern, test naming, assertions, and mocks.
ArabelaTso/Skills-4-SE
Explains test failures and provides actionable debugging guidance.
secondsky/claude-skills
Browser automation and E2E testing with Playwright. An agent skill from secondsky/claude-skills.
Categories
Runs the json_repair docs demo against a local Flask API and static server, so changes to docs/app.py or the docs UI are checked end to end before publishing. This workflow checks the docs demo with local code only, without calling the deployed PythonAnywhere API.css`.
JSON Repair Docs Demo Local Test fits situations like: verifying changes to docs/app.py before publishing the demo; testing docs UI edits against the local repair API; confirming schema coercion behavior in the browser demo.
Run `npx skills add mangiucugna/json_repair --skill docs-demo-local-test -a claude-code`. Or copy the skill folder (.agents/skills/docs-demo-local-test in mangiucugna/json_repair) into .claude/skills/docs-demo-local-test in your project. Claude Code loads it when a task matches its description.
Run `npx skills add mangiucugna/json_repair --skill docs-demo-local-test -a codex`. Or copy the skill folder (.agents/skills/docs-demo-local-test in mangiucugna/json_repair) into .agents/skills/docs-demo-local-test 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 mangiucugna/json_repair --skill docs-demo-local-test -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/docs-demo-local-test, .gemini/skills/docs-demo-local-test, .github/skills/docs-demo-local-test and .opencode/skills/docs-demo-local-test in your project.
Going by SKILL.md and its folder, JSON Repair Docs Demo Local Test needs the command-line tools its instructions call (uv and python3). Our summary lists: uv and Python 3; Flask and flask-cors, installed through uv run; A browser with devtools.
SKILL.md names 1 domain. In commands or code: mangiucugna.pythonanywhere.com; 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.
JSON Repair Docs Demo Local Test is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 549 tokens (SKILL.md is roughly 2.2k 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 JSON Repair Docs Demo Local Test: Web Application Testing (anthropics/skills, 180k stars), RStudio Selenium to Playwright Migration (rstudio/rstudio, 5.1k stars), Webapp Testing (xenitV1/Antigravity-Workflows, 130 stars) and Python Testing (macalbert/envilder, 138 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
mangiucugna (a GitHub user) maintains it in mangiucugna/json_repair, which has 5,120 GitHub stars. The repository was last updated on October 9, 2026.
Source: mangiucugna/json_repair on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.