slicc: Skill for Claude Code

.agents/skills/writing-slicc-tests/SKILL.md

writing-slicc-tests is a skill for Claude Code, Codex from ai-ecoverse/slicc. It costs 101 tokens per session (10,802 once invoked), scanned A, original, Apache-2.0.

A testing guide for SLICC projects using Vitest and browser-based tests. It documents test commands, fake browser and database environments, security test patterns, end-to-end tests, and coverage checks.

In plain words
What is it for?
Use it when adding or updating Vitest tests, testing virtual filesystems or IndexedDB, checking coverage, or writing browser and end-to-end tests.
Why use it?
It prevents test changes from breaking project conventions or lowering required coverage thresholds by hand.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is ai-ecoverse/slicc's own configuration. It tells Claude Code and Codex how to work on slicc 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 slicc configures →

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is import { VirtualFS } from '../fs/index.js';.

Reuse

Borrowing it

Nothing to install: this file belongs to ai-ecoverse/slicc. 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/ai-ecoverse/slicc/main/.agents/skills/writing-slicc-tests/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/ai-ecoverse/slicc

Made for: Claude Code, Codex.

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 writing-slicc-tests

README.md
[![agentmods](https://agentmods.dev/badge/skills/ai-ecoverse/slicc/writing-slicc-tests/github.svg)](https://agentmods.dev/skills/ai-ecoverse/slicc/writing-slicc-tests)
Your own site
<a href="https://agentmods.dev/skills/ai-ecoverse/slicc/writing-slicc-tests"><img src="https://agentmods.dev/badge/skills/ai-ecoverse/slicc/writing-slicc-tests/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 writing-slicc-tests

Your own site · 80×15
<a href="https://agentmods.dev/skills/ai-ecoverse/slicc/writing-slicc-tests"><img src="https://agentmods.dev/badge/skills/ai-ecoverse/slicc/writing-slicc-tests.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 101 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 10,802 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 10 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 18
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 19
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 20
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 501
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 559
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 560
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 561
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 562
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 630
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 646
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
How audits are shown
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.00101 $0.10802
Opus 5 $0.00051 $0.05401
Sonnet 5 $0.00020 $0.02160
Haiku 4.5 $0.00010 $0.01080

Measured 5d ago against content hash 722c8a150416, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

writing-slicc-tests 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 5d 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.

.agents/skills/writing-slicc-tests/SKILL.md · 1,009 lines

How it starts

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

writing-slicc-tests

Use these patterns, conventions, and procedures when writing tests for SLICC.

Quick Reference

Command Purpose
npm run test Run Node-mode Vitest projects
npm test -w @slicc/webcomponents Run Chromium browser-mode component tests
npm test -w @ai-ecoverse/spoon Run Chromium launcher tests
npx vitest run packages/webapp/tests/fs/virtual-fs.test.ts Run a single test file
npx vitest run packages/webapp/tests/fs/ Run all tests in a directory
npx vitest run --reporter=verbose Show full stack traces
npm run test:coverage:<package> Check a TypeScript package's coverage floor
./packages/dev-tools/tools/swift-coverage-check.sh <pkg-dir> <bundle> Check Swift package coverage floors
npm run test:server-integration Node-server integration tests
npm run test:e2e Run Playwright and fake-LLM E2E tests

Set Up the Framework

  • Framework: Vitest with globals: true, environment: node
  • Convention: foo.test.ts in packages/*/tests/ mirroring the src/ structure
  • Import fake-indexeddb when VirtualFS is used: import 'fake-indexeddb/auto'

Note: npm run test runs the default Node-mode Vitest projects only. It does not include:

  • Browser-mode suites: npm test -w @slicc/webcomponents and npm test -w @ai-ecoverse/spoon (real Chromium via @vitest/browser)
  • Server integration: npm run test:server-integration
  • Playwright E2E: npm run test:e2e

Read the full file on GitHub · 1,009 lines

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. 5d ago First seen · 1,009 lines · 101 tokens per session scan A 722c8a150416

Subscribe to this mod's changes

writing-slicc-tests is a skill published in the GitHub repository ai-ecoverse/slicc (30 stars, last pushed today), licensed Apache-2.0. It adds 101 tokens to every session and 10,802 once invoked, about $0.0005 per session on Opus 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-09-05.

Related

Other skills, from other repositories

actionbook-web-test

Run browser-based web tests against websites using Actionbook CLI. Activate when the user wants to test a website workflow, run smoke tests, verify a user flow, check if a web application works, run regression tests, or validate browser-based interactions. Supports test definition, execution, assertion, reporting, and…

actionbook/actionbook · 71 tokens

browser-viz-verify

Verifies that a NetClaw-generated visualization HTML file (three.js, canvas, drawio, UML, markmap) actually renders correctly — screenshot, console-error check, and an optional Lighthouse audit. Use immediately after generating any browser-based visualization output, to close the QA gap that otherwise requires a human…

automateyournetwork/netclaw · 84 tokens

BrowserBash Browser Automation

BrowserBash is a vendor-independent, natural-language browser automation CLI. Drive a real browser from plain-English objectives or committable Markdown tests, run on local Chrome, CDP/Playwright MCP, Browserbase, LambdaTest, or BrowserStack, and stream NDJSON results with CI exit codes — using free local Ollama…

PramodDutta/qaskills · 79 tokens

Geb Testing

Browser automation testing with Geb framework for Groovy/JVM using jQuery-like content DSL, Page Object pattern, Spock integration, and WebDriver abstraction.

PramodDutta/qaskills · 34 tokens

dogfood

QA testing workflow for CamoFox Browser — systematic testing with console capture, error detection, and Playwright tracing. Use when the user needs to test a web application, perform QA validation, do exploratory testing, or verify web app behavior. Triggers include "test this website", "QA", "dogfood", "exploratory…

redf0x1/camofox-browser · 86 tokens

Author and Run Regression Tests with Agent QA

Use Agent QA's CLI and MCP server to author, validate, run, debug, and triage natural-language web and mobile regression tests with persistent test memory and reviewable run evidence.

agentskillexchange/skills · 46 tokens