- Home
- Skills
- Agents & Orchestration
- DjangoBaseAi Agent Pack: Quickstart, Extension, Conventions
DjangoBaseAi Agent Pack: Quickstart, Extension, Conventions
Includes shared docs for unified JSON (code 2000 / token 402) and Authorization: JWT.
Free
Works with the AI Agents you already use
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
warehousetoINSTALLED_APPSin your hostsettings.py. - Include
path("api/product/warehouse/", include("warehouse.urls"))in your hosturls.py. - Run
python manage.py migrateandpython manage.py initto 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
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
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 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
Python
Git