Agent skill

Frontend Testing

by nightscout in nightscout/nocturne

A skill your agent uses when writing, editing, or reviewing frontend tests in the Nocturne Web app (src/Web/packages/app).

No licenceAuto-check passedTesting & QA

Install Frontend Testing

skills CLI
$ npx skills add nightscout/nocturne --skill frontend-testing -a claude-code

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

GitHub CLI
$ gh skill install nightscout/nocturne frontend-testing --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/nightscout/nocturne.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/frontend-testing .claude/skills/frontend-testing && 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
frontend-testing
GitHub stars
139
Token cost
~1.7k tokens
SKILL.md length
371 words
Files
1
Skills in repo
4
Repo updated
First seen
Licence
None found

At a glance

A skill your agent uses when writing, editing, or reviewing frontend tests in the Nocturne Web app (src/Web/packages/app).

  • Works in 4 steps: page.getByRole("button", { name:… → page.getByLabel("Email") - form inputs → page.getByText("Hello") - visible text → …
  • Reviewing frontend tests in the Nocturne Web app (src/Web/packages/app)
  • SKILL.md covers Unbreakable Rules, Test Architecture, Commands and Browser Component Tests…, plus 4 more sections
  • Calls pnpm

What it does

Frontend Testing is an agent skill from nightscout/nocturne. Use when writing, editing, or reviewing frontend tests in the Nocturne Web app (src/Web/packages/app). Covers vitest-browser-svelte component tests, Node unit tests, and Playwright e2e tests. Triggers on .test.ts, .svelte.test.ts, vitest, test patterns, testing questions.

Its SKILL.md is about 1.7k 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 Unit testing and End-to-end testing. It works with Svelte, Vitest and Playwright. The repository describes itself as: A next-generation platform for diabetes management.

When your agent uses it

  • Reviewing frontend tests in the Nocturne Web app (src/Web/packages/app)
  • .svelte.test.ts
  • Testing questions

Example prompts

  • “/frontend-testing”

Workflow steps

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

  1. page.getByRole("button", { name: "Submit" }) - accessible role + name
  2. page.getByLabel("Email") - form inputs
  3. page.getByText("Hello") - visible text
  4. page.getByTestId("chart") - last resort

What it can do on your machine

Read from SKILL.md and the folder at commit 8e1de90. 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

    Shell commands in SKILL.md call:

    • pnpm

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

  • Network

    No URLs in SKILL.md. Its commands use pnpm, which can reach the network depending on how they are called.

    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.

Context cost

Frontend Testing loads about 1.7k tokens when it runs. Until then it costs about 72 tokens; SKILL.md has 371 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~72
When it runs · the whole SKILL.md, loaded when a task matches
~1.7k

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

Without a licence we can't republish the file, so here is its outline and opening line. It has 371 words (~1,710 tokens).

“Never mock the Nocturne API client (apiClient). Tests that need API data should either:”

— opening of SKILL.md by nightscout
name
frontend-testing

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .claude/skills/frontend-testing of nightscout/nocturne.

Open the folder on GitHubat commit 8e1de90

Compare with similar skills

Frontend Testing 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.

Frontend Testing compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Frontend Testing this skillnightscout/nocturne139—~1.7kAutomated safety check: PassNone
Svelte Testingspences10/sveltest113—~579Automated safety check: PassMIT
Control UI E2Eopenclaw/openclaw392k—~2.9kAutomated safety check: PassMIT
Playwright Testingchongdashu/vibejam-starter-pack149—~2.1kAutomated safety check: PassNone
Ha Frontend Testinghome-assistant/frontend5.7k—~1.7kAutomated safety check: PassApache-2.0
Playwright Testingchongdashu/vibejam-starter-pack149—~2.2kAutomated safety check: PassNone

Similar skills

  • Svelte Testing

    spences10/sveltest

    Fix and create Svelte 5 tests with vitest-browser-svelte and Playwright.

    113 GitHub stars~579 tokensUpdated today
    Testing & QAAuto-check passed
  • Control UI E2E

    openclaw/openclaw

    A skill your agent uses when designing, testing, fixing, or extending the OpenClaw Control UI GUI, including UI stress-test galleries with feedback inputs, Vitest + Playwright end-to-end checks…

    392k GitHub stars~2.9k tokensUpdated today
    Testing & QAAuto-check passed
  • Playwright Testing

    chongdashu/vibejam-starter-pack

    Plan, implement, and debug frontend tests: unit/integration/E2E/visual/a11y.

    149 GitHub stars~2.1k tokensUpdated 5 mo ago
    Testing & QAAuto-check passed
  • Ha Frontend Testing

    home-assistant/frontend

    Home Assistant frontend testing and validation workflow. An agent skill from home-assistant/frontend.

    5.7k GitHub stars~1.7k tokensUpdated today
    Testing & QAAuto-check passed
  • Playwright Testing

    chongdashu/vibejam-starter-pack

    Plan, implement, and debug frontend tests: unit/integration/E2E/visual/a11y.

    149 GitHub stars~2.2k tokensUpdated 5 mo ago
    Testing & QAAuto-check passed
  • Frontend Playwright E2E

    ansible/ansible-ui

    Write, run, and debug Playwright E2E / integration / live tests.

    113 GitHub stars~2.5k tokensUpdated today
    Testing & QAAuto-check: notes

More from nightscout/nocturne

  • Dev Tenant API

    nightscout/nocturne

    Interact with Nocturne's local dev-only API: seed a loginable tenant preloaded with realistic sample data, obtain a browser session (loginLink) or bearer token headlessly, export/re-seed the dev…

    139 GitHub stars~1.4k tokensUpdated 3 days ago
    Auto-check passed
  • Docs Screenshots

    nightscout/nocturne

    Add, re-capture or debug the screenshots the portal docs embed (@nocturne/screenshots + the <Screenshot component).

    139 GitHub stars~1.3k tokensUpdated 3 days ago
    Auto-check passed
  • Nocturne Remote Functions

    nightscout/nocturne

    A skill your agent uses when adding API endpoints, creating frontend data fetching, writing +page.server.ts, or connecting Svelte components to backend data in the Nocturne project.

    139 GitHub stars~2.3k tokensUpdated 3 days ago
    Auto-check passed

Categories

Questions about Frontend Testing

What does Frontend Testing do?

A skill your agent uses when writing, editing, or reviewing frontend tests in the Nocturne Web app (src/Web/packages/app). Frontend Testing is an agent skill from nightscout/nocturne. Use when writing, editing, or reviewing frontend tests in the Nocturne Web app (src/Web/packages/app).

When should I use Frontend Testing?

Frontend Testing fits situations like: reviewing frontend tests in the Nocturne Web app (src/Web/packages/app); .svelte.test.ts; testing questions.

How do I install Frontend Testing in Claude Code?

Run `npx skills add nightscout/nocturne --skill frontend-testing -a claude-code`. Or copy the skill folder (.claude/skills/frontend-testing in nightscout/nocturne) into .claude/skills/frontend-testing in your project. Claude Code loads it when a task matches its description.

How do I install Frontend Testing in Codex?

Run `npx skills add nightscout/nocturne --skill frontend-testing -a codex`. Or copy the skill folder (.claude/skills/frontend-testing in nightscout/nocturne) into .agents/skills/frontend-testing in your project. Codex loads it when a task matches its description.

Can I use Frontend Testing 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 nightscout/nocturne --skill frontend-testing -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/frontend-testing, .gemini/skills/frontend-testing, .github/skills/frontend-testing and .opencode/skills/frontend-testing in your project.

What does Frontend Testing need to run?

Going by SKILL.md and its folder, Frontend Testing needs the command-line tools its instructions call (pnpm).

Does Frontend Testing 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 Frontend Testing 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 Frontend Testing use?

No licence was found for Frontend Testing or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Frontend Testing use?

About 1.7k tokens (SKILL.md is roughly 6.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Frontend Testing?

Skills that share tags, products or a category with Frontend Testing: Svelte Testing (spences10/sveltest, 113 stars), Control UI E2E (openclaw/openclaw, 392k stars), Playwright Testing (chongdashu/vibejam-starter-pack, 149 stars) and Ha Frontend Testing (home-assistant/frontend, 5.7k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Frontend Testing?

nightscout (a GitHub organization) maintains it in nightscout/nocturne, which has 139 GitHub stars. The repository holds 4 skills in this directory. The repository was last updated on October 5, 2026.

Source: nightscout/nocturne on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.