Agent skill

Browser Javascript TDD

by hashgraph-online in hashgraph-online/awesome-codex-plugins

Test-drive browser JavaScript behavior with DOM fixtures, test runners, smoke tests, onload timing, selector refactors, and integration tradeoffs with Selenium or end-to-end tests.

MITAuto-check passedTesting & QA

Install Browser Javascript TDD

skills CLI
$ npx skills add hashgraph-online/awesome-codex-plugins --skill browser-javascript-tdd -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install hashgraph-online/awesome-codex-plugins browser-javascript-tdd --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/hashgraph-online/awesome-codex-plugins.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/LVTD-LLC/skills/skills/browser-javascript-tdd .claude/skills/browser-javascript-tdd && rm -rf skills-src

Use ~/.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/

Facts

Skill name
browser-javascript-tdd
GitHub stars
1.2k
Token cost
~797 tokens
SKILL.md length
351 words
Files
4 (incl. references)
Skills in repo
736
Repo updated
First seen
Licence
MIT

At a glance

Test-drive browser JavaScript behavior with DOM fixtures, test runners, smoke tests, onload timing, selector refactors, and integration tradeoffs with Selenium or end-to-end tests.

  • Works in 4 steps: Start with the user-visible browser… → Choose the test boundary. → Build a stable DOM fixture. → …
  • Adding client-side behavior
  • SKILL.md covers Source Traceability, Workflow, Decision Rules and Guardrails, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Browser Javascript TDD is an agent skill from hashgraph-online/awesome-codex-plugins. Test-drive browser JavaScript behavior with DOM fixtures, test runners, smoke tests, onload timing, selector refactors, and integration tradeoffs with Selenium or end-to-end tests. Use when adding client-side behavior, debugging DOM tests, choosing between JS unit tests and browser functional tests, or making JavaScript testable without overusing Selenium.

Its SKILL.md is about 800 tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including reference files (for example `agents/openai.yaml`, `evals/evals.json` and `references/browser-js-patterns.md`). Compatibility notes: Codex, Claude Code, and other Agent Skills-compatible clients.

It sits in Testing & QA, covering Test-driven development, Browser testing and Unit testing. It works with JavaScript and Selenium. The repository describes itself as: A curated list of awesome OpenAI Codex / ChatGPT plugins, skills, and resources. The 1 Codex Marketplace. See live plugins at: https://hol.org/plugins/best-codex-plugins. The licence is MIT.

When your agent uses it

  • Adding client-side behavior
  • Debugging DOM tests
  • Choosing between JS unit tests and browser functional tests
  • Making JavaScript testable without overusing Selenium

Example prompts

  • “/browser-javascript-tdd”

Requirements

  • Compatibility (from SKILL.md): Codex, Claude Code, and other Agent Skills-compatible clients.

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Start with the user-visible browser behavior.
  2. Choose the test boundary.
  3. Build a stable DOM fixture.
  4. Red/green/refactor the JavaScript.

What it can do on your machine

Read from SKILL.md and the folder at commit 16b4156. It shows what the files ask for, not the result of running them.

  • Tool permissions

    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.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Codex, Claude Code, and other Agent Skills-compatible clients.

    From compatibility in the SKILL.md frontmatter.

Context cost

Browser Javascript TDD loads about 797 tokens when it runs, and up to ~1.3k if it reads all its reference files. Until then it costs about 95 tokens; SKILL.md has 351 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~95
When it runs · the whole SKILL.md, loaded when a task matches
~797
With references · SKILL.md plus every file in references/, read only if the agent opens them
~1.3k

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.

Safety

Auto-check passed

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.

SKILL.md

The full file from hashgraph-online/awesome-codex-plugins at commit 16b4156, republished under its MIT licence (© hashgraph-online). 351 words, ~797 tokens.

Download SKILL.mdSave it as .claude/skills/browser-javascript-tdd/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
browser-javascript-tdd
description
Test-drive browser JavaScript behavior with DOM fixtures, test runners, smoke tests, onload timing, selector refactors, and integration tradeoffs with Selenium or end-to-end tests. Use when adding client-side behavior, debugging DOM tests, choosing between JS unit tests and browser functional tests, or making JavaScript testable without overusing Selenium.
compatibility
Codex, Claude Code, and other Agent Skills-compatible clients.
license
MIT
metadata.version
0.1.0
metadata.displayName
Browser JavaScript TDD
metadata.category
Testing
metadata.tags
javascript,tdd,testing,browser,frontend

Browser JavaScript TDD

Use this skill when browser-side behavior needs fast feedback before or alongside end-to-end tests. Keep JavaScript unit tests focused on DOM behavior and use broader browser tests only for integration confidence.

Source Traceability

Primary source: Harry Percival, Test-Driven Development with Python, 3rd ed. Guidance is transformed and paraphrased from chapters 17, 25, and Appendix B, especially browser-based Jasmine tests, DOM fixtures, onload timing, selector refactoring, and JavaScript CI integration.

Workflow

  1. Start with the user-visible browser behavior.

    • Decide what the JavaScript owns: DOM update, class toggle, client-side validation, enhancement, or integration hook.
    • Keep server-owned state out of client unit tests.
  2. Choose the test boundary.

    • Use JavaScript unit tests for pure functions and DOM manipulation.
    • Use one end-to-end test when Django/server, CSS, and browser wiring must be proven together.
    • Do not use Selenium to exhaustively test JavaScript branches.
  3. Build a stable DOM fixture.

    • Include only the markup required by the behavior.
    • Reset global state between tests.
    • Make initialization explicit instead of relying on incidental page load order.
  4. Red/green/refactor the JavaScript.

    • First smoke-test the runner.
    • Add a failing DOM behavior test.
    • Implement minimal code.
    • Refactor selectors and initialization while tests are green.

Read browser-js-patterns.md for DOM fixtures, initialization, and CI patterns.

Show full SKILL.md (146 more words)Show less

Decision Rules

  • If the behavior is DOM-local, prefer JavaScript tests.
  • If the risk is server-client integration, keep a small browser functional test.
  • If the code depends on page load timing, expose an initialization function and test it directly.
  • If selectors are duplicated across tests and code, introduce named selectors or data attributes deliberately.
  • If the test needs CSS behavior, decide whether style is truly the contract or only incidental.

Guardrails

  • Do not let global DOM or event listeners leak between tests.
  • Do not test third-party framework behavior.
  • Do not hide asynchronous timing with sleeps.
  • Do not make JS unit tests pass while the real page never calls the code.

Verification

Before finishing, record:

  • Test runner command and result.
  • DOM fixture or setup reset strategy.
  • Integration check when the real page wiring changed.
  • CI step or artifact change when browser JS tests were added to the pipeline.

© hashgraph-online, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 3 other files (references) in plugins/LVTD-LLC/skills/skills/browser-javascript-tdd of hashgraph-online/awesome-codex-plugins.

  • SKILL.md
  • agents/openai.yaml
  • evals/evals.json
  • references/browser-js-patterns.md

Open the folder on GitHubat commit 16b4156

Compare with similar skills

Browser Javascript TDD 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.

Browser Javascript TDD compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Browser Javascript TDD this skillhashgraph-online/awesome-codex-plugins1.2k—~797Automated safety check: PassMIT
Test Coveragescott-fryxell/brayness124—~1.6kAutomated safety check: PassMIT
TDD WorkflowhellangleZ/burn-in-cceverywhere-ralph11211 repos~2.4kAutomated safety check: PassNone
Pest Testingluadotsh/lua3421 repos~1.2kAutomated safety check: PassMIT
Test Guidelinesgetsentry/sentry-react-native1.8k—~1.3kAutomated safety check: PassMIT
Pest Testingliberusoftware/real-estate-laravel1121 repos~1.8kAutomated safety check: PassMIT

Similar skills

  • Test Coverage

    scott-fryxell/brayness

    Write Vitest specs for Vue 3 JavaScript (Vite Plus, happy-dom, @vue/test-utils) and analyze V8 coverage + Fallow health to prioritize test-first refactors.

    124 GitHub stars~1.6k tokensUpdated 9 days ago
    Testing & QAAuto-check passed
  • TDD Workflow

    hellangleZ/burn-in-cceverywhere-ralph

    A skill your agent uses when writing new features, fixing bugs, or refactoring code.

    112 GitHub starsUsed in 11 repos~2.4k tokens
    Testing & QAAuto-check passed
  • Pest Testing

    luadotsh/lua

    A skill your agent uses for Pest PHP testing in Laravel projects only.

    342 GitHub starsUsed in 1 repo~1.2k tokens
    Testing & QAAuto-check passed
  • Test Guidelines

    getsentry/sentry-react-native

    Official

    Enforce Sentry React Native SDK test conventions for naming, structure, mocking, and fixtures with Jest.

    1.8k GitHub stars~1.3k tokensUpdated today
    Testing & QAAuto-check passed
  • Pest Testing

    liberusoftware/real-estate-laravel

    A skill your agent uses for Pest PHP testing in Laravel projects only.

    112 GitHub starsUsed in 1 repo~1.8k tokens
    Testing & QAAuto-check passed
  • Pest Testing

    mnapoli/vibephp

    A skill your agent uses for Pest PHP testing in Laravel projects only.

    158 GitHub stars~1.4k tokensUpdated 3 mo ago
    Testing & QAAuto-check passed

More from hashgraph-online/awesome-codex-plugins

All 736 skills in this repo
  • Anime Reaction Gif

    hashgraph-online/awesome-codex-plugins

    Create original anime-style reaction stickers as looping GIFs and MP4 previews, using generated character pose sheets and timed key poses.

    1.2k GitHub stars~922 tokensUpdated today
    Auto-check passed
  • Calibredb

    hashgraph-online/awesome-codex-plugins

    Manage and query Calibre libraries with the calibredb CLI (local paths or Calibre Content server URLs).

    1.2k GitHub stars~1k tokensUpdated today
    Auto-check passed
  • Rust API Test Harness

    hashgraph-online/awesome-codex-plugins

    A skill your agent uses when adding, changing, testing, or debugging Rust HTTP APIs and services, especially when Codex needs black-box integration tests, random-port app startup, real database test…

    1.2k GitHub stars~1.7k tokensUpdated today
    Auto-check passed
  • Art

    hashgraph-online/awesome-codex-plugins

    Make a studio's game look like something at build time — a cover from a real frame of the game (free), painted covers, backdrops, textures and character plates from image models through the…

    1.2k GitHub stars~2.4k tokensUpdated today
    Auto-check passed
  • Calle

    hashgraph-online/awesome-codex-plugins

    Use CALL-E from Codex through the calle CLI. An agent skill from hashgraph-online/awesome-codex-plugins.

    1.2k GitHub stars~2.9k tokensUpdated today
    Auto-check passed
  • Game Balance Economy

    hashgraph-online/awesome-codex-plugins

    Balance game difficulty, resources, rewards, probability, progression, economies, and dominant strategies.

    1.2k GitHub stars~618 tokensUpdated today
    Auto-check passed

Categories

Questions about Browser Javascript TDD

What does Browser Javascript TDD do?

Test-drive browser JavaScript behavior with DOM fixtures, test runners, smoke tests, onload timing, selector refactors, and integration tradeoffs with Selenium or end-to-end tests. Browser Javascript TDD is an agent skill from hashgraph-online/awesome-codex-plugins. Test-drive browser JavaScript behavior with DOM fixtures, test runners, smoke tests, onload timing, selector refactors, and integration tradeoffs with Selenium or end-to-end tests.

When should I use Browser Javascript TDD?

Browser Javascript TDD fits situations like: adding client-side behavior; debugging DOM tests; choosing between JS unit tests and browser functional tests; making JavaScript testable without overusing Selenium.

How do I install Browser Javascript TDD in Claude Code?

Run `npx skills add hashgraph-online/awesome-codex-plugins --skill browser-javascript-tdd -a claude-code`. Or copy the skill folder (plugins/LVTD-LLC/skills/skills/browser-javascript-tdd in hashgraph-online/awesome-codex-plugins) into .claude/skills/browser-javascript-tdd in your project. Claude Code loads it when a task matches its description.

How do I install Browser Javascript TDD in Codex?

Run `npx skills add hashgraph-online/awesome-codex-plugins --skill browser-javascript-tdd -a codex`. Or copy the skill folder (plugins/LVTD-LLC/skills/skills/browser-javascript-tdd in hashgraph-online/awesome-codex-plugins) into .agents/skills/browser-javascript-tdd in your project. Codex loads it when a task matches its description.

Can I use Browser Javascript TDD in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add hashgraph-online/awesome-codex-plugins --skill browser-javascript-tdd -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/browser-javascript-tdd, .gemini/skills/browser-javascript-tdd, .github/skills/browser-javascript-tdd and .opencode/skills/browser-javascript-tdd in your project.

What does Browser Javascript TDD need to run?

SKILL.md names no scripts, command-line tools or credentials: Browser Javascript TDD is instructions for the agent only. Compatibility (from SKILL.md): Codex, Claude Code, and other Agent Skills-compatible clients..

Does Browser Javascript TDD access the network?

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.

Is Browser Javascript TDD safe to install?

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.

What licence does Browser Javascript TDD use?

Browser Javascript TDD is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Browser Javascript TDD use?

About 797 tokens (SKILL.md is roughly 3.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 535 tokens, read only when the agent opens those files.

What are the alternatives to Browser Javascript TDD?

Skills that share tags, products or a category with Browser Javascript TDD: Test Coverage (scott-fryxell/brayness, 124 stars), TDD Workflow (hellangleZ/burn-in-cceverywhere-ralph, 112 stars), Pest Testing (luadotsh/lua, 342 stars) and Test Guidelines (getsentry/sentry-react-native, 1.8k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Browser Javascript TDD?

hashgraph-online (a GitHub organization) maintains it in hashgraph-online/awesome-codex-plugins, which has 1,232 GitHub stars. The repository holds 736 skills in this directory. The repository was last updated on October 6, 2026.

Source: hashgraph-online/awesome-codex-plugins on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.