executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
django-integrationUse ChatterBot Django app integration, DjangoStorageAdapter, CHATTERBOT settings, migrations, swappable models, admin, views, and example project workflows.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this sub-skill when a task asks how to add ChatterBot to a Django project, configure chatterbot.ext.django_chatterbot, run migrations, use DjangoStorageAdapter, customize statement/tag models, debug Django settings, or adapt the ChatterBot Django example app.
ImproperlyConfigured, missing apps, migrations, database aliases, and swappable model issues.A Django project must install both Django and ChatterBot:
python -m pip install django chatterbot
Add the app:
INSTALLED_APPS = [
# ...
"chatterbot.ext.django_chatterbot",
]
Run migrations:
python manage.py migrate django_chatterbot
Then create a bot with Django storage:
from chatterbot import ChatBot
bot = ChatBot(
"Django Bot",
storage_adapter="chatterbot.storage.DjangoStorageAdapter",
)
The extension provides default settings in chatterbot.ext.django_chatterbot.settings:
CHATTERBOT = {
"name": "ChatterBot",
"storage_adapter": "chatterbot.storage.DjangoStorageAdapter",
"django_app_name": "django_chatterbot",
}
In project settings, override CHATTERBOT as needed, but keep the Django storage adapter when using Django ORM tables.
The default models are swappable:
CHATTERBOT_STATEMENT_MODELCHATTERBOT_TAG_MODELUse custom models only when you understand Django swappable model migration rules. For ordinary projects, prefer the default Statement and Tag models.
get_response, use core-chatbot.