generate-isolation-tests

Community

Generate cross-tenant isolation tests fast

Authoraz9713
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Generating isolation tests for shared resource writes across tenants helps ensure data boundaries are respected and reduces the risk of cross-tenant data leakage by providing ready-to-adapt test scaffolds.

Core Features & Use Cases

  • Generates a three-test scaffold for same-tenant, cross-tenant, and key-collision scenarios.
  • Writes to tests/isolation/<module-name>-isolation.test.<ext> and optionally updates BEHAVIORAL_CONTRACTS.md with an Isolation guarantee.
  • Supports targeting a module or a specific file:line for focused isolation checks in a multi-resource codebase.

Quick Start

Invoke /generate-isolation-tests with the path to your module to generate the isolation test scaffold.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: generate-isolation-tests
Download link: https://github.com/az9713/dark-code-skills/archive/main.zip#generate-isolation-tests

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.