Agent Skillsnetalertx/NetAlertX › netalertx-sample-data

netalertx-sample-data

GitHub

用于在开发环境中加载合成设备数据,通过脚本生成CSV并调用API导入数据库,方便测试和演示。

.github/skills/sample-data/SKILL.md netalertx/NetAlertX

Trigger Scenarios

加载示例设备 播种数据 导入测试设备 填充数据库 生成测试数据

Install

npx skills add netalertx/NetAlertX --skill netalertx-sample-data -g -y
More Options

Non-standard path

npx skills add https://github.com/netalertx/NetAlertX/tree/main/.github/skills/sample-data -g -y

Use without installing

npx skills use netalertx/NetAlertX@netalertx-sample-data

指定 Agent (Claude Code)

npx skills add netalertx/NetAlertX --skill netalertx-sample-data -a claude-code -g -y

安装 repo 全部 skill

npx skills add netalertx/NetAlertX --all -g -y

预览 repo 内 skill

npx skills add netalertx/NetAlertX --list

SKILL.md

Frontmatter
{
    "name": "netalertx-sample-data",
    "description": "Load synthetic device data into the devcontainer. Use this when asked to load sample devices, seed data, import test devices, populate database, or generate test data."
}

Sample Data Loading

Generates synthetic device inventory and imports it via the /devices/import API endpoint.

Command

cd /workspaces/NetAlertX/.devcontainer/scripts
./load-devices.sh

Environment

  • CSV_PATH: defaults to /tmp/netalertx-devices.csv

Prerequisites

  • Backend must be running
  • API must be accessible

What It Does

  1. Generates synthetic device records (MAC addresses, IPs, names, vendors)
  2. Creates CSV file at $CSV_PATH
  3. POSTs to /devices/import endpoint
  4. Devices appear in database and UI

Version History

  • 8aec57b Current 2026-07-24 22:14

Same Skill Collection

.gemini/skills/devcontainer-management/SKILL.md
.gemini/skills/mcp-activation/SKILL.md
.gemini/skills/project-navigation/SKILL.md
.gemini/skills/settings/SKILL.md
.gemini/skills/skills-index/SKILL.md
.gemini/skills/testing-workflow/SKILL.md
.github/skills/api-development/SKILL.md
.github/skills/authentication/SKILL.md
.github/skills/code-standards/SKILL.md
.github/skills/database-patterns/SKILL.md
.github/skills/database-reset/SKILL.md
.github/skills/devcontainer-configs/SKILL.md
.github/skills/devcontainer-services/SKILL.md
.github/skills/devcontainer-setup/SKILL.md
.github/skills/docker-build/SKILL.md
.github/skills/docker-prune/SKILL.md
.github/skills/mcp-activation/SKILL.md
.github/skills/plugin-run-development/SKILL.md
.github/skills/project-navigation/SKILL.md
.github/skills/settings-management/SKILL.md
.github/skills/skills-overview/SKILL.md
.github/skills/testing-workflow/SKILL.md

Metadata

Files
0
Version
548d698
Hash
5294c7ca
Indexed
2026-07-24 22:14

- 위키
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-20 18:29
浙ICP备14020137号-1 $방문자$