dj-scaffold

Initialize and configure Django projects with the op-django layered architecture.

109|6|Updated Apr 4, 2026
One-click install
npx skills add https://github.com/dvf/opinionated-django --skill dj-scaffold
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dj-scaffold
Source: https://github.com/dvf/opinionated-django/tree/main/skills/dj-scaffold
Command: npx skills add https://github.com/dvf/opinionated-django --skill dj-scaffold

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Manually setting up a Django project with clean layered architecture, strict separation of concerns, and testability best practices is time-consuming and prone to inconsistency, especially when following opinionated patterns like op-django's repository/DTO/service layer structure.

Core Features & Use Cases

  • Full Project Scaffolding: Creates the complete op-django directory structure including the src/ layout, per-app packages for models, DTOs, repositories, and services, plus standard test directory conventions.
  • Core Configuration Setup: Installs all required dependencies with uv, configures prefixed ULID primary key generators, svcs service registry, django-ninja API instance with central exception handlers, and reliable Celery-powered async signals.
  • Use Case: Perfect for starting new Django projects from scratch or converting existing projects to follow op-django's maintainable, testable patterns without hours of manual setup and configuration.

Quick Start

Use the dj-scaffold skill to initialize a new op-django project for a customer relationship management application.

Frequently Asked Questions about dj-scaffold

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

FAQPage Schema
How do I set up a new Django project with layered architecture and strict separation of concerns?

Set up a Django project with layered architecture by automating the initialization of the op-django repository, DTO, and service layer structure, ensuring testability best practices and consistent directory scaffolding without manual configuration.

Can I convert an existing Django project to the op-django structure?

Yes, you can convert an existing Django project to the op-django structure by applying the scaffolding process to establish layered architecture, prefixed ULID primary keys, and svcs service registry integration.

Does the op-django scaffolding include django-ninja API and Celery async signal configuration?

The op-django scaffolding includes django-ninja API instance bootstrapping with central exception handlers and reliable Celery-powered async signal configuration for robust background task processing.

What is the best way to configure ULID primary keys and svcs service registry in Django?

The best way to configure ULID primary keys and svcs service registry is through automated project scaffolding, which handles dependency installation with uv and core component setup for maintainable Django applications.

How do I add linting and type checking tools to a new Django project?

Add linting and type checking tools to a Django project by running the scaffolding process, which automatically sets up the complete op-django directory structure alongside required static analysis configurations.