DjangoBaseAi Agent Pack: Quickstart, Extension, Conventions

    1

    Includes shared docs for unified JSON (code 2000 / token 402) and Authorization: JWT.

    Free

    Security scanned

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    DjangoBaseAi Agent Pack: Quickstart, Extension, Conventions

    Example session with this skill installed

    Scaffold a new Django product app called 'warehouse' that uses CoreModel for a 'StockItem' model and registers it with the django-base-ai menu system.

    • Read your context and instructions
    • Compiled the djangobaseai agent

    I have scaffolded the warehouse product app. It follows the django-base-ai conventions by inheriting from CoreModel and SoftDeleteModel, and includes the necessary fixture structure for menu registration.

    Product App: Warehouse

    1. Model Definition

    from django.db import models
    from django_base_ai.utils.models import CoreModel, SoftDeleteModel
    
    class StockItem(CoreModel, SoftDeleteModel):
        name = models.CharField(max_length=255)
        sku = models.CharField(max_length=50, unique=True)
        quantity = models.IntegerField(default=0)
    
        class Meta:
            db_table = "warehouse_stock_item"
    

    2. Serializer and ViewSet

    from django_base_ai.utils.serializers import CustomModelSerializer
    from django_base_ai.utils.viewset import CustomModelViewSet
    
    class StockItemSerializer(CustomModelSerializer):
        class Meta:
            model = StockItem
            fields = ["id", "name", "sku", "quantity"]
    
    class StockItemViewSet(CustomModelViewSet):
        queryset = StockItem.objects.all()
        serializer_class = StockItemSerializer
    

    3. Initial Fixture (your_product/fixtures/init_stockitem.json)

    [
      {
        "model": "system.menu",
        "fields": {
          "name": "Warehouse",
          "code": "warehouse",
          "sort": 100
        }
      },
      {
        "model": "system.menu_button",
        "fields": {
          "menu": ["warehouse"],
          "name": "View Stock",
          "api_url": "/api/product/warehouse/stockitems/",
          "method": 0
        }
      }
    ]
    

    Next steps

    • Add warehouse to INSTALLED_APPS in your host settings.py.
    • Include path("api/product/warehouse/", include("warehouse.urls")) in your host urls.py.
    • Run python manage.py migrate and python manage.py init to load the new menus.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Teach coding agents to install and run the open-source django-base-ai (Django 5.2 + DRF) base with JWT/RBAC in minutes—no MySQL/Redis required—then extend product apps the DjangoBaseAi way (CoreModel, CustomModelViewSet, fixtures, menus) without polluting the package. Includes shared docs for unified JSON (code 2000 / token 402) and Authorization: JWT. Ideal for teams building enterprise Django/AI products on this MIT base.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Agents & Orchestration.

    Requires Python 3.9+. Product routes must be hosted in the product app, not the base package. Quickstart defaults to SQLite and local memory cache.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free to use

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 14 days ago

    • Free with an Agensi account

    Software
    PythonGit

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Environment Variables
    Listed14 days ago

    What's inside

    Frequently Asked Questions

    This skill provides a disciplined framework for bootstrapping Django projects with pre-configured enterprise features like Role-Based Access Control (RBAC), JWT authentication, and AI session utilities, preventing architectural bloat.

    The pack is built for Django 5.2 and requires Python 3.9+; it is designed to work seamlessly with LLMs like DeepSeek and OpenAI through a unified chat session wrapper.

    The skill automates the setup of settings.py, middleware, and JWT schemes, and provides tools to initialize database menus, roles, and system dictionaries via simple commands.

    Unlike generic code generation, this skill enforces specific inheritance requirements and a strict 'edit map' that keeps your custom domain logic separate from the core framework, making future package upgrades seamless.

    You receive the standardized bootstrapping scripts, scaffolding templates for domain extension using CoreModel/SoftDeleteModel, and pre-configured quality gates for ruff and pytest.

    While the skill scaffolds product-specific apps and logic, developers must manually include their new product-specific HTTP routes in the host URL configuration to maintain total control over the site structure.

    New in Agents & Orchestration

    Free