MCP HubMCP Hub
スキル一覧に戻る

iiot-seed/core

majiayu000
更新日 2 days ago
18 閲覧
58
9
58
GitHubで表示
デザインdesigndata

について

iiot-seed/coreは、産業用IoTデータベースにモックテストデータを投入するためのCLIツールです。開発者はこれを使用して、アセット、測定値、アラームなどのデータをデータベースに投入したり、現在のデータ統計を表示したり、既存のモックデータをクリアしたりできます。@gbg/ctlで構築されており、高速モード、検証モード、アセット専用モードなど、異なるシーディングモードをサポートしています。

クイックインストール

Claude Code

推奨
プラグインコマンド推奨
/plugin add https://github.com/majiayu000/claude-skill-registry
Git クローン代替
git clone https://github.com/majiayu000/claude-skill-registry.git ~/.claude/skills/iiot-seed/core

このコマンドをClaude Codeにコピー&ペーストしてスキルをインストールします

ドキュメント

iiot-seed/core

CLI tool for seeding the IIoT database with mock data.

When to Use

  • Need to seed IIoT database with test data
  • Need to check current data statistics
  • Need to clear mock data

Commands

seed

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

stats

Show current data statistics.

bun run src/lib/iiot/seed/ctl/src/index.ts stats

clear

Clear all mock data.

bun run src/lib/iiot/seed/ctl/src/index.ts clear

Options

OptionAliasDescription
--mode-mfast (generate_series) or validated (repo batch)
--clear-cClear existing mock data before seeding
--assets-only-aOnly seed assets (skip readings/alarms)
--verbose-vShow detailed output

Architecture

Uses tiered seeding approach:

  • Tier 1: Assets/Alarms via repos (full validation)
  • Tier 2: Readings via generate_series (performance)

Layer Composition

const FullSeedLayer = Layer.merge(
  SeedPgClientWithMigrations,  // PgClient + Migrator
  IIoTRepositoriesLive         // All repos
)

Database

  • Host: localhost:5433
  • Database: iiot_mock
  • User: iiot

Ensure database is running:

docker compose -f docker/docker-compose.iiot.yml up -d

GitHub リポジトリ

majiayu000/claude-skill-registry
パス: skills/core

関連スキル

content-collections

メタ

This skill provides a production-tested setup for Content Collections, a TypeScript-first tool that transforms Markdown/MDX files into type-safe data collections with Zod validation. Use it when building blogs, documentation sites, or content-heavy Vite + React applications to ensure type safety and automatic content validation. It covers everything from Vite plugin configuration and MDX compilation to deployment optimization and schema validation.

スキルを見る

creating-opencode-plugins

メタ

This skill provides the structure and API specifications for creating OpenCode plugins that hook into 25+ event types like commands, files, and LSP operations. It offers implementation patterns for JavaScript/TypeScript modules that intercept and extend the AI assistant's lifecycle. Use it when you need to build event-driven plugins for monitoring, custom handling, or extending OpenCode's capabilities.

スキルを見る

polymarket

メタ

This skill enables developers to build applications with the Polymarket prediction markets platform, including API integration for trading and market data. It also provides real-time data streaming via WebSocket to monitor live trades and market activity. Use it for implementing trading strategies or creating tools that process live market updates.

スキルを見る

langchain

メタ

LangChain is a framework for building LLM applications using agents, chains, and RAG pipelines. It supports multiple LLM providers, offers 500+ integrations, and includes features like tool calling and memory management. Use it for rapid prototyping and deploying production systems like chatbots, autonomous agents, and question-answering services.

スキルを見る