Przejdź do treści
Biblioteka skilli
Programowanie · Budowanie i kod

test-data

/test-data

Generuje realistyczne dane testowe, jak użytkownicy, produkty i zamówienia w CSV, JSON lub SQL, z przypadkami brzegowymi.

Licencja
MIT
Ostatnia zmiana repozytorium
31.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
2
Skrypty
1
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 31.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co sprawdzić przed instalacją
  • 1 skrypt w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.

Skrypty: scripts/generate_data.py

Co robi i kiedy

Generuje realistyczne dane testowe, jak użytkownicy, produkty i zamówienia w CSV, JSON lub SQL, z przypadkami brzegowymi.

Oryginalny opis (EN)

Generate realistic test data — users, products, orders as CSV/JSON/SQL files, including edge-case values (unicode, boundaries, injection strings). Use when the user needs test data, dummy data, or data files for testing.

Jak działa

  1. Workflow (mandatory)
  2. If the user needs an entity the script doesn't have
  3. Hard rules
Sekcje z nagłówków SKILL.md, w oryginale · 33 linii, 260 słów
Podgląd SKILL.md
---
name: test-data
description: Generate realistic test data — users, products, orders as CSV/JSON/SQL files, including edge-case values (unicode, boundaries, injection strings). Use when the user needs test data, dummy data, or data files for testing.
---

# Test Data Generator

A ready-made Python generator does the accurate work. DO NOT hand-write rows of data — run the script.

## Workflow (mandatory)

1. Ask only what's not obvious: entity type, how many rows, and format (CSV / JSON / SQL).
2. Run the generator:

```
python .claude/skills/test-data/scripts/generate_data.py --type users --count 50 --format csv --out test-data/users.csv
```

   - `--type`: `users` | `products` | `orders`
   - `--format`: `csv` (Excel-friendly, UTF-8 BOM) | `json` | `sql` (add `--table <name>`)
   - `--seed <n>`: same seed → identical data every run (default 1234)
   - `--no-edge-cases`: plain data only

   By default the script APPENDS edge-case rows (marked in the `_note` column): empty/max-length strings, unicode + Arabic RTL text, SQL/XSS probe strings, zero/negative/huge numbers, leap day and invalid dates. Tell the user these rows exist and what they are for.

3. Show the user the script's output line (row counts + file path) and the first few rows of the file.

## If the user needs an entity the script doesn't have

(e.g. patients, invoices, bookings): copy the pattern in `generate_data.py` — add a `make_<entity>` function and register it in `MAKERS`, then run it. Keep it stdlib-only, keep the `_note` column, keep emails on `@example.com` and phones in the fake `555` range.

## Hard rules

- NEVER generate real personal data. For credit cards use official test numbers only (e.g. Stripe's 4242 4242 4242 4242).
- Output files always go in the `test-data/` folder.
- For a quick copy-paste list of nasty input strings (no file), just print the `EDGE_STRINGS` list from the script.
Pliki w paczce (2)
  • SKILL.md 2 KB
  • scripts/generate_data.py 6 KB

Wersje

RepozytoriumWynikLicencja
Ta strona · MohamedRamadanSalah/claude-qa-toolkit100MIT
katalon-labs/true-skills100MIT
motlin/claude-code-plugins95Apache-2.0
DataWithBaraa/claude-code-data-engineering-skills90MIT

Migawka bazy z 13.11.2026 · wersja paczki 7ddaaf95468b (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100generating-test-data
    Generuje realistyczne dane testowe z przypadkami brzegowymi i warunkami granicznymi, na fixtures i bazy testowe.
  • 100generating-test-data
    Generuje realistyczne dane testowe z przypadkami brzegowymi i warunkami granicznymi, na fixtures i bazy testowe.
  • 95dummy-dataset
    Generuje realistyczne dane testowe z konfigurowalnymi kolumnami i ograniczeniami w formatach CSV, JSON, SQL lub skryptu Python, do testów, makiet i demo.
  • 100seed-data
    Generuje realistyczne dane startowe dla środowisk dev, test, demo i stress, łącznie z przypadkami brzegowymi i skryptami.
  • 100seedmint
    Generuje realistyczne dane testowe i przykładowe ze schematu TypeScript, Zod, Prisma, SQL lub JSON, w wybranej lokalizacji.
  • 90designing-test-data
    Projektuje realistyczne, brzegowe i zależne od ról paczki danych testowych do testów ręcznych i automatycznych wraz z notatkami konfiguracji.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.