reset-netalertx-database

Wipe and regenerate the NetAlertX development database and config.

6.9k|426|Updated Dec 23, 2021
One-click install
npx skills add https://github.com/netalertx/NetAlertX --skill reset-netalertx-database
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: reset-netalertx-database
Source: https://github.com/netalertx/NetAlertX/tree/main/.github/skills/database-reset
Command: npx skills add https://github.com/netalertx/NetAlertX --skill reset-netalertx-database

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill completely wipes the devcontainer database and config, then regenerates them from scratch.

Core Features & Use Cases

  • Wipes the database and configuration to a clean state.
  • Reinitializes the database using first-run provisioning.
  • Useful for onboarding, CI environments, or recovering from corrupted data.

Quick Start

After reset, run the startup script to restart services: /workspaces/NetAlertX/.devcontainer/scripts/setup.sh

Frequently Asked Questions about reset-netalertx-database

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I reset a SQLite database to a clean state for development?

Reset the SQLite database by wiping existing data and configuration files, then running first-run provisioning and initialization scripts. This restores a reproducible baseline environment for local development, devcontainers, or after data corruption.

Can I reinitialize a NetAlertX devcontainer database without losing the entire setup?

Yes. The reset process wipes only the database and config while preserving your devcontainer environment. After reset, restart services using the setup script to bring the database back online with clean state.

What's the fastest way to recover from a corrupted development database?

Execute a full database and config wipe followed by first-run provisioning to regenerate all initialization data. This is faster than manual repair and guarantees a consistent, known-good state.

How do I set up a fresh NetAlertX database for CI environments or onboarding?

Run the database reset procedure to wipe and reinitialize from scratch, applying provisioning and initialization scripts. This creates a reproducible baseline suitable for automated testing pipelines and new developer onboarding.

Do I need to manually recreate configuration after a database reset?

No. The reset automates both database deletion and config regeneration through first-run provisioning scripts, eliminating manual setup steps and ensuring consistency.