一键导入
create-django-package
Creates a new Wagtail/Django package from the cookiecutter-wagtail-package template
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Creates a new Wagtail/Django package from the cookiecutter-wagtail-package template
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Audits a Django/Wagtail package against the official Wagtail package maintenance guidelines
Updates an existing Wagtail/Django package to align with the latest cookiecutter-wagtail-package template
Keeps a Django/Wagtail project current with dependency updates by assessing current setup, applying safe package updates, and delivering a thorough upgrade report
| name | create-django-package |
| description | Creates a new Wagtail/Django package from the cookiecutter-wagtail-package template |
| license | MIT |
Guided creation of a new Wagtail or Django package using the cookiecutter-wagtail-package template. Covers goal-setting, template rendering, customization for the user's needs, initial QA, and a structured handoff report.
To detect from the context or request from the user if unclear:
Always fetch latest information from authoritative sources when relevant to the package setup.
Template and ecosystem:
Versions and compatibility:
Packaging:
Package creation involves many decisions. Report clearly at each stage so the user stays oriented.
Options to verify the generated package is in good shape, to use as needed through the creation steps:
uv sync --dev)just lint or equivalent)just test or equivalent)just demo or equivalent)Look for any warnings from the package manager or from QA tools.
pyproject.toml) reflects the user's choices.uv, uvx (for cookiecutter), npm, just.node --version, uv run python --version).cookiecutter.json to understand the available parameters.uvx cookiecutter https://github.com/wagtail/cookiecutter-wagtail-package --no-input \
project_name="<name>" \
project_short_description="<description>" \
repository_url="<url>"
Or interactively if the user prefers to answer prompts.pyproject.toml and adjust if needed:
requires-python)src/ directory, adjusting imports and module paths as needed..github/workflows/) and confirm the test matrix matches the intended support targets (does not need full matrix, just representative).uv sync --dev and npm ci.just lint (or the package's equivalent).just test (or the package's equivalent).just demo.# Package creation report: {package name}
## Executive summary
{1-2 paragraphs: what was created, from which template, with which key parameters. Brief note on QA results.}
## Package overview
| Aspect | Value |
|--------|-------|
| Package name | {name} |
| Python package | {snake_case name} |
| PyPI name | {kebab-case name} |
| Repository | {URL} |
| License | {license} |
| Python | {requires-python} |
| Django | {dependency range} |
| Wagtail | {dependency range} |
### Key files
{Brief tour of the generated structure -- what's where and why. Focus on files the user will want to edit first.}
### CI and publishing
{What's configured in GitHub Actions. Mention the two manual setup steps for PyPI publishing (trusted publisher + GitHub environment).}
## Next steps
Recommended actions, roughly in order:
1. {First thing to do -- e.g. initialize a git repo, or start adding package code}
2. {Second thing -- e.g. set up the GitHub repository}
3. ...
### Optional improvements
- {Suggestions for things the user might want to add or change, with links to relevant docs}