/django-studio:djs-bootstrapfrom django-studio
Scaffolds a new Django project from the django-studio Copier template, gathering answers and running copier copy non-interactively.
Ships in django-studio. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Create a new Django project from the django-studio Copier template. Copier does the
generating: this skill gathers the answers, runs copier copy non-interactively, and
checks the result. The project is identical to one made with uvx copier copy, so
copier update and /djs-sync work on it.
Arguments: $ARGUMENTS — a free-text description of the project, e.g.
"recipe sharing site for home cooks". May be empty.
Never ask for something the arguments or earlier answers already give. Before each question, check whether the prompt states or clearly implies the answer, and use it.
for cmd in uv just docker gh git; do command -v "$cmd" >/dev/null || echo "missing: $cmd"; done
docker info >/dev/null 2>&1 || echo "docker daemon not running"
ls -A
If a tool is missing or Docker is not running, stop and tell the user what to install or start:
| Tool | Install |
|---|---|
uv | https://docs.astral.sh/uv/getting-started/installation/ |
just | https://just.systems/man/en/packages.html |
docker | https://docs.docker.com/get-started/get-docker/ |
gh | https://cli.github.com/ |
The target directory is the current directory when it is empty. Otherwise it is
./<project_slug>, which must not exist or must be empty; decide this after step 2,
once the slug is known. Stop if neither works.
The questions come from the template's copier.yml:
| Answer | Source |
|---|---|
project_name | Ask if the prompt doesn't name the project. Suggest a name based on the purpose |
description | The one-line purpose, taken from the prompt when it has one |
project_slug | Default: project_name lower-cased, spaces and hyphens replaced by _ |
package_name | Always equal to project_slug |
author | git config user.name |
author_email | git config user.email |
domain | From the prompt, else example.com (can be changed before deploying) |
license | From the prompt, else MIT. One of: MIT, Apache-2.0, GPL-3.0, AGPL-3.0, LGPL-3.0, MPL-2.0, BSD-2-Clause, BSD-3-Clause, ISC, EUPL-1.2, None |
Ask only for the project name and purpose, if missing. Fill in the rest from the sources above, then show all answers in one summary, with the target directory, and ask the user to confirm or change any of them.
project_slug must be a valid Python identifier that doesn't shadow a standard library
or installed package (e.g. not test, django, site). Propose a different slug if it
does.
Run Copier with every answer passed as --data, quoting each value:
uvx copier copy --trust --defaults \
--data project_name="<project_name>" \
--data project_slug="<project_slug>" \
--data package_name="<project_slug>" \
--data description="<description>" \
--data author="<author>" \
--data author_email="<author_email>" \
--data domain="<domain>" \
--data license="<license>" \
gh:danjac/django-studio <target>
When the user names another template source, such as a fork or a local checkout,
use it in place of gh:danjac/django-studio. Add --vcs-ref <branch> only when the
user asks for a specific template branch.
If Copier fails, show the error and stop.
Ask about the product and record the answers in <target>/docs/this-project.md,
the project's permanent overview. It is committed with the scaffold, the project's
AGENTS.md tells agents to read it, and /djs-kickoff and /djs-doc build on it.
Follow <target>/.agents/skills/djs-kickoff/references/overview.md for the
questions and how to fill in the page. Use what the prompt and the Copier answers
already say (such as the purpose) instead of asking again.
From the target directory, run each step in order and stop at the first failure:
just start # Docker services
just install # .env, git init, Python deps, pre-commit hooks, Playwright
just dj makemigrations # the users app ships without an initial migration
just dj migrate
just check-all # lint, typecheck, Django checks, unit and E2E tests
On failure, show the failing command and the relevant output, and stop. A freshly
generated project should pass every step, so a failure is a template bug: suggest
reporting it with /djs-feedback from inside the project. Don't edit generated files
to make the checks pass.
just install has run git init. Make the first commit:
git add -A
git commit -m "chore: initial commit from django-studio"
Ask whether to create a GitHub repository. It publishes the code, so wait for a yes, and ask whether it should be private (the default) or public:
gh repo create <project_slug> --private --source=. --push
Ask whether to kick off the project now: the project's /djs-kickoff skill turns
docs/this-project.md into a user model, domain apps and models, and languages.
If yes, follow <target>/.agents/skills/djs-kickoff/SKILL.md from the target
directory, and continue here when it finishes. This session hasn't loaded the
project's skills, so read the file rather than running the command.
Then print the next steps:
cd <target> (when it is a subdirectory) and start
Claude Code again. The project's own /djs-* skills and docs load only in a
session started in the project./djs-kickoff, if it didn't run above.just dj set_default_site localhost:8000 "<project_name>"just dj createsuperuserjust serve, then open http://localhost:8000/djs-deploy when you are ready to go live.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
django-studio, copier, project-scaffolding, project-generation
npx claudepluginhub danjac/django-studio --plugin django-studioOther plugins' skills for the same job