create-model

Generate Django model files with BaseModel inheritance and project conventions.

2|Updated Mar 4, 2026
One-click install
npx skills add https://github.com/AlSaimun/AI-DEV-AGENT-KIT --skill create-model-alsaimun
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-model
Source: https://github.com/AlSaimun/AI-DEV-AGENT-KIT/tree/main/skills/django%20skills/create-model
Command: npx skills add https://github.com/AlSaimun/AI-DEV-AGENT-KIT --skill create-model-alsaimun

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the creation of Django models, ensuring they adhere to strict project conventions and best practices, saving developers time and reducing errors.

Core Features & Use Cases

  • Standardized Model Creation: Generates models inheriting from BaseModel, with db_table, verbose_name, and __str__ implemented.
  • Convention Enforcement: Ensures correct import order and use of gettext_lazy for labels.
  • Use Case: When a developer needs to add a new data entity to the database, like a 'UserProfile' or 'Product', this skill provides a ready-to-use, convention-compliant model template.

Quick Start

Use the create-model skill to create a new model named 'Product' in the 'catalog' app with fields 'name' and 'price'.

Frequently Asked Questions about create-model

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create Django models that follow best practices automatically?

Django models require consistent structure to avoid errors, which this Skill provides by generating files with BaseModel inheritance, db_table definitions, and gettext_lazy translation wrappers. It enforces strict import order and verbose_name implementation automatically.

What is the best way to add a new database entity to a Django application?

Adding a new database entity requires a properly structured Django model. This Skill generates a ready-to-use template enforcing gettext_lazy translation wrappers and strict import order, ensuring your new data entity adheres to project conventions immediately.

Does this Django model generator support translation wrappers for verbose_name?

Yes, it supports translation wrappers by strictly enforcing gettext_lazy for verbose_name and field labels. This ensures every generated Django model is properly configured for internationalization from the start.

How do I implement BaseModel inheritance and db_table in my Django models?

Implementing BaseModel inheritance and db_table is handled automatically by this Skill. It generates Django model files with the correct class structure and Meta options, enforcing project conventions without manual boilerplate.

Can I generate a Django Product model with specific fields using this convention tool?

Yes, you can generate a Django model like Product by specifying the app and fields. The tool outputs a ready-to-use file with BaseModel inheritance, db_table configuration, and __str__ implementation, strictly following project conventions.