affaan-m avatar

Network Config Validation

This does pre-deployment validation on router and switch configs with pattern matching for dangerous commands (reload, erase, crypto key zeroize), duplicate IPs, overlapping subnets, and stale references to ACLs or route-maps. The hygiene checks flag things like Telnet on VTY lines, default SNMP communities, and missing NTP or logging config. It's designed for Cisco IOS style syntax and works best as a lightweight gate before change windows or automation runs, not as a full parser. The block iteration logic for VTY sections is worth stealing if you're building your own tooling. Treat the output as evidence that still needs a network engineer's review, especially for management plane changes where a misconfigured access-class can lock you out.

skills.sh installs
5.4K
GitHub stars
300.3K
last updated
Aug 21, 2026

Install

$ npx -y skills add affaan-m/ecc --skill network-config-validation --agent claude-code

Installs into .claude/skills of the current project.

Files

Network Config Validation

Use this skill to review network configuration before a change window or before an automation run touches production devices.

When to Use

  • Reviewing Cisco IOS or IOS-XE style snippets before deployment.
  • Auditing generated config from scripts or templates.
  • Looking for dangerous commands, duplicate IP addresses, or subnet overlaps.
  • Checking whether ACLs, route-maps, prefix-lists, or line policies are referenced but not defined.
  • Building lightweight pre-flight scripts for network automation.

How It Works

Treat config validation as layered evidence, not as a complete parser. Regex checks are useful for pre-flight warnings, but final approval still needs a network engineer to review intent, platform syntax, and rollback steps.

Validate in this order:

  1. Destructive commands.
  2. Credential and management-plane exposure.
  3. Duplicate addresses and overlapping subnets.
  4. Stale references to ACLs, route-maps, prefix-lists, and interfaces.
  5. Operational hygiene such as NTP, timestamps, remote logging, and banners.

Dangerous Command Detection

import re

Sponsors

Details

Repository
github.com/affaan-m/ecc
Categories
Security, Code Review & Quality, Mobile Development
First seen
Jul 14, 2026

More from affaan-m/ecc

All 263

Recommended

More Security
1affaan-m avatarreturns-reverse-logisticsaffaan-m/eccCodified expertise for returns authorization, receipt and inspection, disposition decisions, refund processing, fraud detection, and warranty claims management.5.4Kskills.sh installs
2jeffallan avatarshopify-expertjeffallan/claude-skillsBuilds and debugs Shopify themes (.liquid files, theme.json, sections), develops custom Shopify apps (shopify.app.toml, OAuth, webhooks), and implements Storefr5.3Kskills.sh installs
3forcedotcom avatarexperience-ui-bundle-salesforce-data-accessforcedotcom/sf-skillsMUST activate when a uiBundles/*/src/ project does ANY Salesforce record operation — reading, creating, updating, deleting, or caching/refreshing query results.5.3Kskills.sh installs
4assistant-ui avatarcloudassistant-ui/skillsSets up assistant-ui Cloud persistence and authorization with the assistant-cloud package and AssistantCloud client. Use when adding cross-session thread/messag5.2Kskills.sh installs
5forcedotcom avatarexperience-ui-bundle-features-generateforcedotcom/sf-skillsMUST activate when the project contains a uiBundles/*/src/ directory and the user wants to add a pre-built feature — such as authentication (login, logout, prot5.1Kskills.sh installs
6gokapso avatarintegrate-whatsappgokapso/agent-skillsConnect WhatsApp to your product with Kapso: onboard customers with setup links, detect connections, receive events via webhooks, and send messages/templates/me5.1Kskills.sh installs