Agent skill · Audited from source
Phy Test Data Factory
skill · LeoYeAI/openclaw-master-skillsMIT licenceAudited 8 Oct 2026 · source 4f3b4a2a472e
Is it safe? Yes — SAFE, grade B (89/100). We read this skill's source at commit 4f3b4a2a472e and found no filesystem, network or shell access and no hard-coded secrets. What it does: Schema-driven test data factory generator. Reads your database schema or model definitions — Prisma schema, SQLAlchemy models, Django models, TypeORM entities, Zod schemas, Pydantic models, or raw SQL DDL — and…
Cite
Cite this page
ModelsAtlas. “Phy Test Data Factory (LeoYeAI/openclaw-master-skills)”. Retrieved 8 Oct 2026. https://modelsatlas.com/skills/leoyeai/phy-test-data-factory
Trust audit
Audit 0.4.1 · source read 8 Oct 2026
SAFE means nothing in the source contradicts what the skill says it does. Grade B is shared by 17,406 of 18,389 audited skills.
What the source does
- FilesystemNone observedNo reads or writes in the source
- NetworkNone observedNo outbound calls in the source
- ShellNone observedNo commands run in the source
- DependenciesPinnedNothing floats
- SecretsNone foundNo keys in source
Five audit layers
| Layer | What we check | Result | Findings |
|---|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS | 0 |
L1 Static source | Secrets, path traversal, supply chain, hidden code | WARN | 1 |
L2 Instructions | Prompt injection, authority framing, hidden directives | PASS | 0 |
L3 Inventory | The files and declarations match the source | PASS | 0 |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED why | 0 |
Gates applied: no behavioural pass.
Findings (1)
MEDIUMObfuscation / stealthobf.base64_blob · skills/compdf-conversion-cli/scripts/license.xml:9
<key>k5Ey9KFlkqpj+SDkUw+5ED9lTA3En/qUi0zdrydUCH3kMWTE3Eh65NXnFCaxlY2omY2JHnlEoK7Li7oOEvM7eG5VPdcO/sFlMfoCRdnLYdepJ+uLzYwOWR8W4yQVve/clxVFTVRL4DFleKInGdpAxIbHZT2yi4ADAMENls1N1XSLojRuqXePXDeAT/4Mv4TTx0s
- Why
- No further detail recorded for this rule.
- Fix
- —
Audit 0.4.1 · source sha 4f3b4a2a472e · 8 Oct 2026Report an issue or request a re-scan
Provenance
Who published it, and what the verdict is pinned to
- PublisherLeoYeAI GitHub userOwner of the repository this skill is read from
- Source folderLeoYeAI/openclaw-master-skills/skills/phy-test-data-factoryThe exact folder we audited
- LicenceMITAs the repository states it
- Commit pinned for this verdict4f3b4a2a472eA new audit runs when the source changes
- Repository statusNot archivedLast push 80 days ago
- Sandboxed runNot runSkills are read, not executed; layer L4 is skipped
What it tells the agent
Full source on GitHub ↗Its description: Schema-driven test data factory generator. Reads your database schema or model definitions — Prisma schema, SQLAlchemy models, Django models, TypeORM entities, Zod schemas, Pydantic models, or raw SQL DDL — and…
---
name: phy-test-data-factory
description: Schema-driven test data factory generator. Reads your database schema or model definitions — Prisma schema, SQLAlchemy models, Django models, TypeORM entities, Zod schemas, Pydantic models, or raw SQL DDL — and generates ready-to-use factory functions with realistic fake data. Outputs TypeScript factory files using Faker.js, Python conftest.py using factory_boy + Faker, or raw SQL INSERT seed scripts. Respects foreign key relationships (seeds parents before children), handles enums, nullable fields, unique constraints, and generates edge-case variants (empty strings, max-length values, boundary dates). Zero external API — pure local file analysis + code generation. Triggers on "generate test data", "seed database", "test fixtures", "factory functions", "fake data from schema", "/test-data-factory".
license: Apache-2.0
metadata:
author: PHY041
version: "1.0.0"
tags:
- testing
- test-data
- fixtures
- faker
- factory-boy
- prisma
- sqlalchemy
- django
- seed-data
- developer-tools
---
# Test Data Factory
Writing test setup is slower than writing the test itself. You have a `User` model with 12 fields, a `Post` model that requires a User, and an `Order` model that requires both. Every test file re-invents the same `createTestUser()` boilerplate — with slightly different hardcoded values that don't cover edge cases.
Paste your schema and get a complete factory module: realistic Faker-powered defaults for every field, relationship-aware ordering, and one-line overrides for specific test scenarios.
**Reads any schema format. Outputs TypeScript, Python, or SQL. Zero external APIs.**
---
## Trigger Phrases
- "generate test data", "seed my database", "test fixtures"
- "factory functions", "fake data from schema", "test data setup"
- "create test factories", "Faker from schema", "factory_boy setup"
- "generate seed data", "populate test database"
- "I need fake users/orders/products for testing"
- "/test-data-factory"
---
## How to Provide Input
```bash
# Option 1: Prisma schema
/test-data-factory schema.prisma
/test-data-factory prisma/schema.prisma
# Option 2: SQLAlchemy / Django models file
/test-data-factory models.py
/test-data-factory app/models.py
# Option 3: TypeORM entities directory
/test-data-factory src/entities/
# Option 4: Zod schemas file
/test-data-factory src/schemas/user.schema.ts
# Option 5: Raw SQL DDL
/test-data-factory --sql migrations/001_initial.sql
# Option 6: Output format override
/test-data-factory schema.prisma --output typescript
/test-data-factory models.py --output python
/test-data-factory schema.prisma --output sql
# Option 7: Include edge-case variants
/test-data-factory schema.prisma --edge-cases
# Option 8: Specific count
/test-data-factory schema.prisma --count 50
```
---
## Step 1: Detect and Parse Schema
### Prisma Schema Parser
```python
import re
from dataclasses import dataclass, field
from typing import Any
@dataclass
class PrismaField:
name: str
type: str
is_optional: bool = False
is_list: bool = False
is_id: bool = False
is_unique: bool = False
is_auto: bool = False
default: Any = None
relation: str | None = None
enum_values: list[str] = field(default_factory=list)
def parse_prisma_schema(schema_text: str) -> dict:
"""Parse Prisma schema into model definitions."""
models = {}
enums = {}
# Parse enums first
for enum_match in re.finditer(r'enum\s+(\w+)\s*\{([^}]+)\}', schema_text, re.DOTALL):
enum_name = enum_match.group(1)
values = [v.strip() for v in enum_match.group(2).split('\n')
if v.strip() and not v.strip().startswith('//')]
enums[enum_name] = values
# Parse models
for model_match in re.finditer(r'model\s+(\w+)\s*\{([^}]+)\}', schema_text, re.DOTALL):
model_name = model_match.group(1)
body = model_match.group(2)
fields = []
for line in body.split('\n'):
line = line.strip()
if not line or line.startswith('//') or line.startswith('@@'):
continue
# Parse field: name type? modifiers
parts = line.split()
if len(parts) < 2:
continue
fname = parts[0]
ftype_raw = parts[1]
is_optional = ftype_raw.endswith('?')
is_list = ftype_raw.endswith('[]')
ftype = ftype_raw.rstrip('?').rstrip('[]')
is_id = '@id' in line
is_unique = '@unique' in line
is_auto = '@default(autoincrement())' in line or '@default(auto())' in line or '@default(uuid())' in line or '@default(cuid())' in line
is_relation = '@relation' in line
default_match = re.search(r'@default\((.+?)\)', line)
default_val = default_match.group(1) if default_match else None
fields.append(PrismaField(
name=fname,
type=ftype,
is_optional=is_optional,
is_list=is_list,
is_id=is_id,
is_unique=is_unique,
is_auto=is_auto,
default=default_val,
relation=ftype if is_relation and ftype[0].isupper() else None,
enum_values=enums.get(ftype, []),
))
models[model_name] = fields
return {'models': models, 'enums': enums}
```
### SQL DDL Parser
```python
def parse_sql_ddl(sql_text: str) -> dict:
"""Parse CREATE TABLE statements."""
models = {}
for table_match in re.finditer(
r'CREATE\s+TABLE\s+(?:IF\s+NOT\s+EXISTS\s+)?[`"]?(\w+)[`"]?\s*\(([^;]+)\)',
sql_text, re.IGNORECASE | re.DOTALL
):
table_name = table_match.group(1)
columns_text = table_match.group(2)
fields = []
for col_line in columns_text.split(','):
col_line = col_line.strip()
if not col_line or col_line.upExcerpt, first 6,000 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.
Install
Pinned to the audited commit 4f3b4a2
npm install -D @faker-js/faker pip install factory_boy faker pip install factory_boy faker sqlalchemy
git clone https://github.com/LeoYeAI/openclaw-master-skills git -C openclaw-master-skills checkout 4f3b4a2a472e
Commands as the repository documents them: shown, never run by us. Our verdict covers commit 4f3b4a2a472e only.
Works in which agents?
What its own text says, not a test
| Agent | Status | More |
|---|---|---|
| OpenClaw | Mentioned in its text, not tested | Skills for OpenClaw · About OpenClaw |
Audit history
Every audit, every source change
- ✓SAFE B 89 / 100
first audit · source
4f3b4a2a472e
README badge
For maintainers · shows the latest audit
[](https://modelsatlas.com/skills/leoyeai/phy-test-data-factory/)
The badge shows our verdict and grade for this skill, and links back to this page. It changes when the audit does.
Similar skills
All testing skills →LeoYeAI/openclaw-master-skills
Run tests on BrowserStack. Use when user mentions "browserstack", "cross-browser", "cloud testing", "browser matrix", "test on safari", "test on firefox", or "browser compatibility".
LeoYeAI/openclaw-master-skills
Analyze test coverage gaps. Use when user says "test coverage", "what's not tested", "coverage gaps", "missing tests", "coverage report", or "what needs testing".
LeoYeAI/openclaw-master-skills
Generate Playwright tests. Use when user says "write tests", "generate tests", "add tests for", "test this component", "e2e test", "create test for", "test this page", or "test this feature".
LeoYeAI/openclaw-master-skills
Set up Playwright in a project. Use when user says "set up playwright", "add e2e tests", "configure playwright", "testing setup", "init playwright", or "add test infrastructure".
LeoYeAI/openclaw-master-skills
Use this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding…
LeoYeAI/openclaw-master-skills
PDF conversion toolkit featuring AI layout analysis and OCR. Converts PDFs to Word, Markdown, JSON, PPT, CSV, HTML, and XML for seamless LLM data processing.
Add this badge to your README
[](https://modelsatlas.com/skills/leoyeai/phy-test-data-factory/)
<a href="https://modelsatlas.com/skills/leoyeai/phy-test-data-factory/"><img src="https://modelsatlas.com/skills/leoyeai/phy-test-data-factory/badge.svg" alt="ModelsAtlas: SAFE B"></a>
Questions about Phy Test Data Factory
What does the Phy Test Data Factory skill do?
Is Phy Test Data Factory safe to install?
What can Phy Test Data Factory access on my machine?
Which assistants does Phy Test Data Factory work with?
How current is this page?
Sources
- github.com/LeoYeAI/openclaw-master-skills/tree/main/skills/phy-t — the audited source at commit 4f3b4a2a472e and every finding aboveObserved · 8 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What does the Phy Test Data Factory skill do?
- Is Phy Test Data Factory safe to install?
- What can Phy Test Data Factory access on my machine?