Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

remove-model-field

Skill by netbox-community

Lists the steps for removing a field from an existing NetBox model. It covers the model, migration, serializer, forms, filterset, table, panels, search, GraphQL, tests and docs. Built for developers editing the NetBox codebase.

  • Score 90
  • 22k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install remove-model-field

Built from the published package, never by AI.

git clone --depth 1 https://github.com/netbox-community/netbox /tmp/netbox && mkdir -p ~/.claude/skills && cp -r /tmp/netbox/.claude/skills/remove-model-field ~/.claude/skills/remove-model-field

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install remove-model-field in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The remove-model-field skill is a step-by-step checklist for removing a field from an existing NetBox model. It lists the files to change, working outside-in, starting with tests, docs and GraphQL and ending with the model definition. The checklist covers the model, serializer, forms, filterset, table, detail panel, search index and tests.

It also explains how to find references with grep before editing and how to clean up Meta ordering, constraints, indexes and FK companions. Migrations are not written by hand. The assistant tells the user to run makemigrations and then migrate. The skill is for developers working on the NetBox codebase who need to delete a model field safely.

Written from the project's SKILL.md and checked against it.

What it can do

  • Reference searchRuns a broad grep for the field name across the netbox and docs directories before any edits.
  • Test cleanupLists which test files and test methods to update when a field is removed.
  • Documentation updateRemoves the field entry from the model's Fields section in the docs.
  • GraphQL and serializer updatesCovers removing filter declarations, type annotations and serializer fields for the deleted field.
  • Form and filterset updatesExplains which fieldsets, Meta fields and filter declarations to remove in each form file.
  • Table and panel updatesCovers removing table columns, default columns and detail panel attributes.
  • Model cleanupCovers removing the field, clone_fields entries, clean() logic and Meta ordering, constraints and indexes.
  • Migration guidanceTells the user to run makemigrations with a named migration and then migrate, rather than writing it by hand.

What you need

  • A NetBox codebase checkout
  • Python with access to manage.py
  • ruff for lint checks

Try asking

  • Remove the serial_number field from the Device model in NetBox
  • List every file I must change to delete a field from a NetBox model
  • Give me the makemigrations command to remove a field from the Site model

Good to know

  • Migrations must be generated with makemigrations, not written manually.
  • Use ruff check only on existing files, not ruff format.
  • If makemigrations is blocked, DEVELOPER = True must be set in configuration.py.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .claude/skills/remove-model-field/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md10 KB

Alternatives to remove-model-field

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

remove-model-field: common questions

What does the remove-model-field skill do?

It gives a checklist of every file and code location to update when a field is removed from an existing NetBox model. The checklist runs from tests and docs through to the model and migration.

Should I write the migration by hand?

No. The skill says migrations must be generated with makemigrations, then reviewed and applied with migrate. It should contain only a RemoveField operation, plus any index removal for GFK fields.

Why does the order of changes matter?

The skill says to remove outer consumers first, such as tests, docs, GraphQL and API code, before touching the model. This avoids import errors during the process.

How do I install remove-model-field?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is remove-model-field free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is remove-model-field safe to use?

It scores 90 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to remove-model-field?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

remove-model-field Install

Add to stack

Loading.