templates/skills/frameworks/django/SKILL.md
Language: Python
npx skillsauth add hivellm/rulebook DjangoInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Language: Python
Version: Django 4.2+ (LTS) or 5.0+
# settings.py
SECRET_KEY = env('SECRET_KEY') # Never hardcode
DEBUG = env.bool('DEBUG', default=False)
ALLOWED_HOSTS = env.list('ALLOWED_HOSTS')
INSTALLED_APPS = [
# Django apps
'django.contrib.admin',
'django.contrib.auth',
# Third-party
'rest_framework',
'corsheaders',
# Local apps
'apps.users',
]
DATABASES = {
'default': env.db('DATABASE_URL') # Use django-environ
}
# Code quality
black . # Format
ruff check . # Lint
mypy . # Type check
# Tests
python manage.py test # Run tests
pytest --cov=apps --cov-report=html # With coverage
# Security
python manage.py check --deploy # Production checks
bandit -r apps/ # Security scan
✅ DO:
❌ DON'T:
DEBUG=True in productionproject/
├── manage.py
├── requirements.txt
├── apps/
│ ├── users/
│ ├── api/
│ └── core/
├── config/
│ ├── settings.py
│ ├── urls.py
│ └── wsgi.py
└── tests/
<!-- DJANGO:END -->research
Author a rulebook task spec interactively — research, draft, ask the user clarifying questions, confirm, then create the tasks in rulebook ready for /rulebook-driver. Use when the user wants to plan/spec a feature before implementing.
development
Behavioral guidelines to reduce common LLM coding mistakes — overcomplication, sloppy refactors, hidden assumptions, weak goals. Use when writing, reviewing, or refactoring code. Auto-applies; invoke explicitly via /karpathy-guidelines or 'follow karpathy discipline'.
data-ai
Autonomous AI agent loop for iterative task implementation (@hivehub/rulebook ralph)
data-ai
Use SQL Server for enterprise relational data storage with advanced features, high availability, and Windows integration.