Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

test-generation

Skill by fossasia

Writes pytest and anyio tests for VoxBento features, covering booth state, database, routes, auth, invite tokens and WebSockets. It is for developers working on the VoxBento codebase.

  • Score 80
  • 1.6k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install test-generation

Built from the published package, never by AI.

git clone --depth 1 https://github.com/fossasia/eventyay-interpretation /tmp/eventyay-interpretation && mkdir -p ~/.claude/skills && cp -r /tmp/eventyay-interpretation/.agents/skills/test-generation ~/.claude/skills/test-generation

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install test-generation in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill gives an AI assistant the test conventions used in the VoxBento project. It sets out a shared pytest and anyio setup from tests/conftest.py, with an anyio backend fixture, an in-memory SQLite database fixture, and an httpx AsyncClient fixture for FastAPI routes. It also includes example tests for booth state, database CRUD, routes, auth tokens, invite token joins and WebSocket booth joins.

The file maps each test area to its file, such as tests/test_database.py for CRUD and tests/test_join_flow.py for invite tokens. It ends with seven prioritised coverage gaps, including WebSocket token scope mismatches, CaptionAggregator forced finalization and Fernet key rotation. It is aimed at developers who write or extend tests for the VoxBento codebase.

Written from the project's SKILL.md and checked against it.

What it can do

  • Booth state testsWrites tests for BoothRegistry participant joins and active interpreter state.
  • Database testsWrites tests for database CRUD helpers such as create_event.
  • Route testsWrites HTTP route tests, such as the /healthz and /login endpoints.
  • Auth testsWrites tests for creating and decoding user tokens.
  • Invite token testsWrites tests for joining a booth through an invite token link.
  • WebSocket testsWrites tests for booth:join messages sent over a WebSocket.

What you need

  • pytest with the anyio plugin
  • anyio
  • httpx for the FastAPI test client
  • aiosqlite for the in-memory SQLite database
  • The VoxBento codebase with its portal package

Try asking

  • Write a pytest test for BoothRegistry.join_participant in VoxBento
  • Add a route test for the /login endpoint using the client fixture
  • Show which VoxBento coverage gaps still have no tests

Good to know

  • Written for the VoxBento project and its own modules, not general testing.
  • The WebSocket example leaves its setup step as a placeholder.
  • The seven coverage gaps are listed as untested areas.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .agents/skills/test-generation/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md5 KB

Alternatives to test-generation

All alternatives →
hugging-face-datasetssickn33
94

Creates, configures and manages datasets on the Hugging Face Hub, including SQL-based querying and transformation. Built for people who edit dataset content and metadata directly, alongside the HF MCP server.

AAA Skill 50k
db-repairgarrytan
94

Diagnoses and repairs gbrain's Postgres access when a command or MCP result shows a GBRAIN_DB_ACCESS marker, or when the operator reports the brain database is down. It runs the hardcoded gbrain db-repair ladder and verifies the result with a re-probe.

AAA Skill 34k
alloydb-basicsgoogle
94

Manages clusters, instances, and backups for AlloyDB for PostgreSQL. Built for creating, configuring, and administering AlloyDB databases, not general PostgreSQL or Cloud SQL instances.

AAA Skill 26k
clickhouse-logs-queriessupabase
94

Writes, reviews and migrates Supabase logs queries against the ClickHouse logs table served by the logs.all.otel endpoint. Built for developers who write Logs Explorer SQL or convert older BigQuery logs queries.

AAA Skill 116k
fix-slow-queriespaperclipai
94

Diagnoses and fixes slow Paperclip PostgreSQL queries using Cloud and Neon evidence, local benchmarks, regression tests, and a pull request with passing checks. Built for engineers working on Paperclip.

AAA Skill 119k
prisma-8prisma
94

Guides AI assistants through Prisma 8 projects built on @prisma/orm-postgres, @prisma/orm-sqlite, or @prisma/orm-mongo. It covers data contracts, migrations, typed queries and runtime setup for developers on Prisma 8.

AAA Skill 48k

Compare with hugging-face-datasets, db-repair or alloydb-basics

test-generation: common questions

Which test tools does this skill use?

The skill uses pytest with the anyio plugin. Async tests are marked with anyio or asyncio, and the anyio backend is set to asyncio.

Where should new VoxBento test files go?

A table maps each test area to a file, such as tests/test_fastapi_app.py for routes and tests/test_roles.py for roles and permissions.

What VoxBento areas are still untested?

The skill lists seven prioritised gaps, including the WS token scope mismatch that should close with code 4003 and Fernet key rotation with two keys.

How do I install test-generation?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is test-generation free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is test-generation safe to use?

It scores 80 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to test-generation?

Similar skills: hugging-face-datasets, db-repair, alloydb-basics, clickhouse-logs-queries.

test-generation Install

Add to stack

Loading.