Skip to content
Back to skills

Forge Test Data Factories

ASecurity

Create test data with factories and builders: minimal valid defaults, explicit overrides and no shared fixtures

  • 7 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 30, 2026
ai-agents

Security analysis

A100/100

Scanned November 30, 2026

npx -y skills add ansh44233/forge --skill forge-test-data-factories --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Forge Test Data Factories?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Forge Test Data Factories
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ansh44233-forge-test-data-factories/badge)](https://www.skillsdirectory.com/skills/ansh44233-forge-test-data-factories)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: forge-test-data-factories
description: "Create test data with factories and builders: minimal valid defaults, explicit overrides and no shared fixtures"
---

<!-- Generated from catalog/skills/test-data-factories/SKILL.md by scripts/build-plugin.ts. Edit the catalog, not this file. -->

# Test data factories

Tests should show only the data that matters to them.

## Factories
- One factory per model with minimal valid defaults (factory_bot, factory_boy, Fishery, test builders).
- Override only the fields the test is about; use sequences for unique values.
- Build in memory when persistence isn't needed; create in the DB only for integration tests.

## Isolation
- No shared mutable fixtures across tests; each test creates its own data.
- Wrap DB tests in transactions or truncate between tests.

## Verify
Run the suite in random order (and in parallel if supported) and confirm it passes.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.