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 (11,907 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 11,907 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.11907
Opus 5.5 $0.00040 $0.04763
Sonnet 5.5 $0.00020 $0.02381
Haiku 4.5 $0.00010 $0.01191

Measured 13d ago against content hash d51972bd93a6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 13d 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,077 lines

How it starts

The opening of the file, as written. The whole thing — 1,077 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,077 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. 13d ago Changed · +19 lines d51972bd93a6
  2. 1mo ago Changed · -1 lines 8f4c4b35b0b2
  3. 2mo ago Changed · +3 lines 6efd7e9a9454
  4. 2mo ago Changed a98aea77b30b
  5. 2mo ago Changed · +43 lines 189dc6ac44e8
  6. 2mo ago Changed · +4 lines 83720ec6252c
  7. 3mo 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 (38 stars, last pushed yesterday), licensed Apache-2.0. It adds 101 tokens to every session and 11,907 once invoked, about $0.0004 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-09-05.

Related

writing-slicc-tests compared with skills from other repositories

writing-slicc-tests next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
writing-slicc-testsai-ecoverse/sliccSkill38yesterdayApache-2.0A101Claude Code, Codex
browser-viz-verifyautomateyournetwork/netclawSkill7394d agoApache-2.0A84Claude Code, Codex
actionbook-web-testactionbook/actionbookSkill1.6k1mo agoApache-2.0A71Claude Code
dogfoodredf0x1/camofox-browserSkill46211d agoMITA86Claude Code
BrowserBash Browser AutomationPramodDutta/qaskillsSkill2531mo agoMITA79Claude Code, Codex
Geb TestingPramodDutta/qaskillsSkill2531mo agoMITA34Claude Code, Codex
checking-a-pageawss1i/assaySkill1093d agoMITA49Claude Code