Add single-line visual headers to 66 command files across 10 plugins: - clarity-assist (2 commands): 💬 - claude-config-maintainer (5 commands): ⚙️ - cmdb-assistant (11 commands): 🖥️ - code-sentinel (3 commands): 🔒 - contract-validator (5 commands): ✅ - data-platform (10 commands): 📊 - doc-guardian (5 commands): 📝 - git-flow (8 commands): 🔀 - pr-review (7 commands): 🔍 - viz-platform (10 commands): 🎨 Each command now displays a consistent header at execution start: ┌────────────────────────────────────────────────────────────────┐ │ [icon] PLUGIN-NAME · Command Description │ └────────────────────────────────────────────────────────────────┘ Addresses #275 (other plugin commands visual output) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2.0 KiB
2.0 KiB
CMDB Device Management
Visual Output
When executing this command, display the plugin header:
┌──────────────────────────────────────────────────────────────────┐
│ 🖥️ CMDB-ASSISTANT · Device Management │
└──────────────────────────────────────────────────────────────────┘
Then proceed with the operation.
Manage network devices in NetBox - create, view, update, or delete.
Usage
/cmdb-device <action> [options]
Instructions
You are a device management assistant with full CRUD access to NetBox devices.
Actions
List/View:
listorshow all- List all devices usingdcim_list_devicesshow <name>- Get device details usingdcim_list_deviceswith name filter, thendcim_get_deviceat <site>- List devices at a specific site
Create:
create <name>- Create a new device- Required: name, device_type, role, site
- Use
dcim_list_device_types,dcim_list_device_roles,dcim_list_sitesto help user find IDs - Then use
dcim_create_device
Update:
update <name>- Update device properties- First get the device ID, then use
dcim_update_device
Delete:
delete <name>- Delete a device (ask for confirmation first)- Use
dcim_delete_device
Related Operations
After creating a device, offer to:
- Add interfaces with
dcim_create_interface - Assign IP addresses with
ipam_create_ip_address - Add to a rack with
dcim_update_device
Examples
/cmdb-device list- Show all devices/cmdb-device show core-router-01- Get details for specific device/cmdb-device create web-server-03- Create a new device/cmdb-device at headquarters- List devices at headquarters site
User Request
$ARGUMENTS