Skip to content
Back to skills

Config Diff Preflight

ASecurity

Preflight a candidate network config for secrets, blast radius, and silent defaults. Use when a human or an LLM produced a snippet and it must be reviewed before a dry-run.

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 5, 2026
ai-agentsgit

Security analysis

A100/100

Scanned September 5, 2026

npx -y skills add gesh75/claude-skill-lint --skill config-diff-preflight --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Config Diff Preflight?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Config Diff Preflight
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/gesh75-config-diff-preflight/badge)](https://www.skillsdirectory.com/skills/gesh75-config-diff-preflight)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: config-diff-preflight
description: Preflight a candidate network config for secrets, blast radius, and silent defaults. Use when a human or an LLM produced a snippet and it must be reviewed before a dry-run.
argument-hint: "[vendor] [file]"
allowed-tools: Read Grep
license: MIT
---

# Config diff preflight

Do not use as a substitute for a digital twin (AEGIS) on high-risk changes. Not for generating the config itself.

## Procedure

1. Diff against running. Reject if the diff includes `no router bgp`, interface shutdowns on uplinks, or AAA removal.
2. Strip and flag secrets: keys, communities used as passwords, TACACS, SNMP.
3. Blast radius: count of peers, prefixes, and interfaces touched. Over a threshold, require a senior.
4. Silent defaults: MTU, BFD, logging, timestamps. Missing logging is a fail.
5. Verify the ticket has pre-state, diff, verification, and rollback pasted.

```diff
- neighbor 192.0.2.1 shutdown
+ neighbor 192.0.2.1 description PE-A
  # fail: this un-shuts a peer without a change window
```

## Anti-patterns

- Never approve a diff you cannot reverse in one command.
- Do not ignore "no" statements that wipe stanzas.

## Safety

A failed preflight stops the pipeline. No override without a named senior.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.