remove-model
OfficialSafely remove a NetBox model everywhere
Software Engineering#django#documentation updates#netbox#migration safety#api cleanup#model removal#graphql cleanup
Authornetbox-community
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Removing a NetBox model cleanly is risky because many parts of the system (UI, APIs, GraphQL, tests, docs, navigation, and database migrations) may reference it, causing import or runtime failures.
Core Features & Use Cases
- End-to-end removal checklist: Guides you through deleting all consumers (tests, docs, nav, search, GraphQL, REST, URLs, views, tables, forms, filtersets, choices) before removing the model itself.
- Safety guardrails: Warns you to identify dependent models and non-nullable foreign keys first, so migrations and startup don’t break.
- Migration-first workflow: Directs you to generate the correct Django migration via makemigrations (including any RemoveField operations) and review it before applying.
Quick Start
Use the remove-model guide when you need to deprecate or delete an existing NetBox model after confirming nothing retained has non-nullable foreign keys pointing to it.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: remove-model Download link: https://github.com/netbox-community/netbox/archive/main.zip#remove-model Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.