ballerina-vscode: Skill for Claude Code

.claude/skills/ballerina-e2e-writer/SKILL.md

ballerina-e2e-writer is a skill for Claude Code from ballerina-platform/ballerina-vscode. It costs 38 tokens per session (1,682 once invoked), scanned A, original, Apache-2.0.

A workflow for creating or updating end-to-end tests for the Ballerina extension in Visual Studio Code. End-to-end tests check a complete user flow, rather than one small piece of code.

In plain words
What is it for?
It is for checking existing coverage, preparing a Ballerina extension build, and writing scenario descriptions and test steps for user flows.
Why use it?
It helps avoid duplicating tests and keeps new scenarios in the extension's authoring and Playwright test process.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is ballerina-platform/ballerina-vscode's own configuration. It tells Claude Code how to work on ballerina-vscode itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything ballerina-vscode configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is bash packages/ballerina-extension/e2e-test/e2e-authoring/scripts/run-steps.sh <scenario-name> packages/ballerina-extension/e2e-test/e2e-authoring/scenarios/<sce.

Reuse

Borrowing it

Nothing to install: this file belongs to ballerina-platform/ballerina-vscode. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/ballerina-platform/ballerina-vscode/main/.claude/skills/ballerina-e2e-writer/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/ballerina-platform/ballerina-vscode

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ballerina-e2e-writer

README.md
[![agentmods](https://agentmods.dev/badge/skills/ballerina-platform/ballerina-vscode/ballerina-e2e-writer/github.svg)](https://agentmods.dev/skills/ballerina-platform/ballerina-vscode/ballerina-e2e-writer)
Your own site
<a href="https://agentmods.dev/skills/ballerina-platform/ballerina-vscode/ballerina-e2e-writer"><img src="https://agentmods.dev/badge/skills/ballerina-platform/ballerina-vscode/ballerina-e2e-writer/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ballerina-e2e-writer

Your own site · 80×15
<a href="https://agentmods.dev/skills/ballerina-platform/ballerina-vscode/ballerina-e2e-writer"><img src="https://agentmods.dev/badge/skills/ballerina-platform/ballerina-vscode/ballerina-e2e-writer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,682 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00038 $0.01682
Opus 5.5 $0.00015 $0.00673
Sonnet 5.5 $0.00008 $0.00336
Haiku 4.5 $0.00004 $0.00168

Measured 3d ago against content hash 59ed0d0a71f0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ballerina-e2e-writer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/ballerina-e2e-writer/SKILL.md · 155 lines

How it starts

The opening of the file, as written. The whole thing — 155 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Ballerina E2E Writer

Use this skill when adding new Ballerina extension user-flow E2E coverage in packages/ballerina-extension.

Scope: work only inside packages/ballerina-extension. Do not edit the submodules/ tree or shared/common libraries.

For user-facing instructions and prompt examples, see USER_GUIDE.md in this skill directory.

Workflow

  1. Read the requested scenario and existing tests in packages/ballerina-extension/e2e-test/e2e-playwright-tests. Before writing anything, check whether an existing spec already covers the scenario — the tracking sheet can be out of date. If covered, document the real flow and flag gaps instead of duplicating.

  2. Ensure the Ballerina VSIX exists locally. The e2e harness installs from packages/ballerina-extension/vsix/*.vsix. If none is found, build it:

    rush build -t ballerina
    
  3. Create scenario.md under the authoring scenario directory before writing any step files:

    packages/ballerina-extension/e2e-test/e2e-authoring/scenarios/<scenario-name>/scenario.md
    

    If the user only described the scenario in the prompt, derive the steps and write scenario.md now. If the user provided a scenario.md path, read it first. Keep it short: a prose paragraph describing one concrete, verifiable end-to-end flow, optionally with a steps table and a "Gaps" section.

  4. Write small step files in steps/*.step.js. Keep each step focused and rerunnable. For diagram flows, steps must build the flow through the product UI: click the diagram plus button, open the node palette, search or select the node, fill the form, then save.

  5. Run the steps through the named daemon:

    bash packages/ballerina-extension/e2e-test/e2e-authoring/scripts/run-steps.sh <scenario-name> packages/ballerina-extension/e2e-test/e2e-authoring/scenarios/<scenario-name>/steps
    
  6. If a selector is unstable or an element cannot be found by data-testid, add a stable data-testid attribute to that element in the relevant packages/*/src UI package. Do not use dynamic/generated class names as selectors, including Emotion class names. After adding any data-testid — even a single attribute in one file — always rebuild the VSIX and reinstall it before rerunning steps:

Read the full file on GitHub · 155 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 155 lines · 38 tokens per session scan A 59ed0d0a71f0

Subscribe to this mod's changes

ballerina-e2e-writer is a skill published in the GitHub repository ballerina-platform/ballerina-vscode (49 stars, last pushed today), licensed Apache-2.0. It adds 38 tokens to every session and 1,682 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-26.

Related

Other skills, from other repositories

verify-omnigent

Drive Omnigent the way a user does and prove a behavior with recorded evidence, using an isolated server, runner, and mock model plus a feature map of every user entry point. Load before reproducing a user-facing bug, before claiming a fix works, or when reviewing whether a change covered every surface (session vs.…

omnigent-ai/omnigent · 100 tokens

test-master

Generates test files, creates mocking strategies, analyzes code coverage, designs test architectures, and produces test plans and defect reports across functional, performance, and security testing disciplines. Use when writing unit tests, integration tests, or E2E tests; creating test strategies or automation…

Jeffallan/claude-skills · 104 tokens

eval-dataset-design

A guide to creating reliable test sets for AI agents. Each evaluation task includes the request, the simulated user's behaviour, a reset starting state, and a success check that can be independently verified.

bojieli/ai-agent-book · 138 tokens

dogfood

Systematically explore and test a mobile app on iOS/Android with agent-device to find bugs, UX issues, and other problems. Use when asked to dogfood, QA, exploratory test, find issues, bug hunt, or test this app on mobile.

callstack/agent-device · 55 tokens

cua-driver

Use Cua Driver for desktop or browser tasks that are awkward or unavailable through Bash/APIs, or when the user explicitly wants GUI interaction: app testing, visual bug reproduction, form filling, calendar entry, screenshots, and demo recording. Also covers Cua setup; not OpenAI Codex Computer Use or web research.

davidondrej/skills · 68 tokens

test-warp-ui

Guides testing Warp UI features and changes using the computer use tool. Use this skill only when computer-use testing was requested (explicit request or accepted offer) and the computeruse tool is available to the agent. Covers launching Warp and verifying UI behavior.

warpdotdev/warp · 55 tokens