com um clique
iiot-seed-core
IIoT database seeding CLI built with @gbg/ctl
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Menu
IIoT database seeding CLI built with @gbg/ctl
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Baseado na classificação ocupacional SOC
Meta-skill for @tmnl/effect-sui development: Effect v4/effect-smol patterns, Sui ontology, PTB/Flow/Query/package modules, localnet testing, Move publishing, diagnostics, and Nix mission-control tooling.
Effect v4 Atom patterns — reactive state management with effect-atom. Atom.make, Atom.family, Registry, runtime atoms, and React integration via useAtomValue.
Effect v4 Schema patterns — defining, validating, transforming, and serializing data with Schema. Covers v4 API, v3→v4 migration, classes, structs, unions, collections, transformations.
Effect v4 Service patterns — Context.Service, Layer composition, ManagedRuntime, dependency injection, and service testing with @effect/vitest.
GetByShell desktop shell — niri WM integration, panel system, calendar widget, popover components, modal patterns, and Nix-based configuration.
Skill governance codemod — create, inspect, update, delete, adopt, and dogfood skills. The meta-skill that governs all skills with CRUD protocols, verification utils, and self-referential governance.
| name | iiot-seed/core |
| description | IIoT database seeding CLI built with @gbg/ctl |
CLI tool for seeding the IIoT database with mock data.
Seed the database with mock data.
# Default (fast mode, all data)
bun run src/lib/iiot/seed/ctl/src/index.ts seed
# Validated mode (schema validation)
bun run src/lib/iiot/seed/ctl/src/index.ts seed --mode validated
# Assets only (skip readings/alarms)
bun run src/lib/iiot/seed/ctl/src/index.ts seed --assets-only
# Clear before seeding
bun run src/lib/iiot/seed/ctl/src/index.ts seed --clear --verbose
Show current data statistics.
bun run src/lib/iiot/seed/ctl/src/index.ts stats
Clear all mock data.
bun run src/lib/iiot/seed/ctl/src/index.ts clear
| Option | Alias | Description |
|---|---|---|
--mode | -m | fast (generate_series) or validated (repo batch) |
--clear | -c | Clear existing mock data before seeding |
--assets-only | -a | Only seed assets (skip readings/alarms) |
--verbose | -v | Show detailed output |
Uses tiered seeding approach:
const FullSeedLayer = Layer.merge(
SeedPgClientWithMigrations, // PgClient + Migrator
IIoTRepositoriesLive // All repos
)
Ensure database is running:
docker compose -f docker/docker-compose.iiot.yml up -d