Nodemon Config Validator

v1.0.0

Validate nodemon config files (nodemon.json, .nodemonrc, package.json#nodemonConfig) for watch settings, ignore patterns, exec conflicts, and best practices....

0· 76·0 current·0 all-time

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for charlie-morrison/nodemon-config-validator.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "Nodemon Config Validator" (charlie-morrison/nodemon-config-validator) from ClawHub.
Skill page: https://clawhub.ai/charlie-morrison/nodemon-config-validator
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install nodemon-config-validator

ClawHub CLI

Package manager switcher

npx clawhub@latest install nodemon-config-validator
Security Scan
VirusTotalVirusTotal
Pending
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name/description match the included script and runtime instructions. The validator only needs to read nodemon.json/.nodemonrc/package.json and analyze their contents — no unrelated credentials, binaries, or services are requested.
Instruction Scope
SKILL.md explicitly instructs running the bundled Python script against specific config files. The script reads those files (and sibling package.json) and performs static checks; it does not instruct reading arbitrary system files, environment variables, or sending data externally.
Install Mechanism
No install spec is provided and the skill is instruction-only with a bundled pure-stdlib Python script. Nothing is downloaded or written to disk by an installer step.
Credentials
The skill declares no environment variables, credentials, or config paths. The script accesses project-local files (config files and package.json) which is appropriate for the stated purpose.
Persistence & Privilege
The skill is not forced-always, does not request persistent presence, and does not modify other skills or global agent settings. Autonomous invocation is allowed by default but is normal for skills and not combined with other red flags here.
Assessment
This skill appears coherent and safe for verifying nodemon configs: it only reads project-local config files and reports lint-like findings. Before installing or running it in an automated agent, confirm you trust the project directory you point it at (it will read package.json and sibling config files). If you need absolute assurance, inspect the full script yourself — it uses only Python stdlib and does not perform network calls or execute shell commands based on config values (it flags potentially risky exec strings but does not run them).

Like a lobster shell, security has layers — review code before you run it.

latestvk970zbrn7v38bp454983aw4khs85azhm
76downloads
0stars
1versions
Updated 6d ago
v1.0.0
MIT-0

Nodemon Config Validator

Validate nodemon.json, .nodemonrc, .nodemonrc.json, and package.json#nodemonConfig for watch performance issues, ignore patterns, exec conflicts, delay settings, and best practices. Supports text, JSON, and summary output formats with CI-friendly exit codes.

Commands

# Full validation (all 22+ rules)
python3 scripts/nodemon_config_validator.py validate nodemon.json

# Quick syntax-only check (structure rules only)
python3 scripts/nodemon_config_validator.py check .nodemonrc

# Explain config in human-readable form
python3 scripts/nodemon_config_validator.py explain nodemon.json

# Suggest improvements
python3 scripts/nodemon_config_validator.py suggest package.json

# JSON output (CI-friendly)
python3 scripts/nodemon_config_validator.py validate nodemon.json --format json

# Summary only (pass/fail + counts)
python3 scripts/nodemon_config_validator.py validate nodemon.json --format summary

# Strict mode (warnings become errors)
python3 scripts/nodemon_config_validator.py validate nodemon.json --strict

Rules (22+)

#CategorySeverityRule
S1StructureErrorFile not found or unreadable
S2StructureErrorEmpty config
S3StructureErrorInvalid JSON syntax
S4StructureWarningUnknown top-level keys
S5StructureWarningBoth nodemon.json and .nodemonrc present (conflict)
W1WatchWarningEmpty watch array
W2WatchInfoWatch path uses absolute path (portability)
W3WatchErrorWatching node_modules (severe performance issue)
W4WatchInfoNo watch or ext specified (relying on defaults)
E1ExtensionsWarningEmpty ext string
E2ExtensionsWarningWatching too many extensions (>10, performance)
E3ExtensionsInfoMissing common extensions for detected project type
I1IgnoreWarningEmpty ignore array
I2IgnoreInfonode_modules not explicitly ignored
I3IgnoreWarningOverly broad ignore patterns (e.g. "*")
X1ExecWarningexec command with shell injection risk
X2ExecWarningBoth exec and script specified (conflict)
X3ExecInfoexecMap with unusual/unknown extension
D1DelayWarningDelay too low (<100ms, rapid restarts)
D2DelayWarningDelay too high (>10000ms, slow feedback)
B1Best PracticesInfoverbose not set (useful for debugging)
B2Best PracticesWarningNo ignore patterns at all

Output Formats

  • text (default): Human-readable with severity icons
  • json: Machine-parseable JSON array of findings
  • summary: Pass/fail with error/warning/info counts

Exit Codes

  • 0: No errors (warnings/infos only or clean)
  • 1: One or more errors found
  • 2: File not found or invalid input

Requirements

  • Python 3.8+
  • No external dependencies (pure stdlib)

Comments

Loading comments...