Updates an existing Wagtail/Django package to align with the latest cookiecutter-wagtail-package template
Instalação
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Updates an existing Wagtail/Django package to align with the latest cookiecutter-wagtail-package template
license
MIT
Overview
Structured review and update of an existing Wagtail or Django package against the latest cookiecutter-wagtail-package template. Compares the current package setup with the template, reports differences and recommended actions, and optionally applies updates.
Methodology
Goals
Understand what the user wants to achieve with the update and any constraints on scope.
Compare the package's current setup with the template to identify meaningful differences.
Produce an actionable report: what changed, what matters, what to do about it.
If the user wants direct updates, apply changes incrementally with QA checks at each step.
Guardrails
Prefer minimal, reviewable changes. Do not bundle unrelated improvements into the update.
Distinguish between differences that are template drift (the package fell behind) and intentional customizations (the package diverged for a reason). Ask when unsure.
Do not overwrite intentional customizations unless the user explicitly asks.
When a change is ambiguous, present the trade-off rather than assuming. Choose the option with the least technical debt if forced to decide.
Base findings on observable project state and authoritative sources. Do not speculate about intent.
Input
To detect from the context or request from the user if unclear:
Agent mode: whether to produce an audit report, or directly apply updates. Default: assume "audit first, then ask before applying changes".
Package location: path to the package to update. Default: current working directory.
Template version: which version of the template to compare against. Default: latest from main branch of the cookiecutter-wagtail-package repository.
Scope: full comparison or focused on specific areas (e.g. CI only, dependencies only). Default: full comparison.
Any files or patterns the user considers intentional deviations from the template.
Reference data sources
Always fetch latest information from authoritative sources so findings are current.
Template and ecosystem:
cookiecutter-wagtail-package repository -- the template source of truth. Read the CHANGELOG.md, pyproject.toml, src/, template/, and other root configuration files.
Compile all findings into the report format below.
Write the executive summary.
Organize findings into the differences overview.
Rate each finding for effort and impact.
Identify the top 10 recommended actions by impact-to-effort ratio.
Present the report to the user.
Apply updates (if requested)
Only proceed with this step if the user confirms they want direct changes.
Create a branch for the update (check any conventions for branch names, or update-from-template).
Apply changes in logical groups, committing after each group.
Run QA checks after each group of changes.
Report any issues encountered and how they were resolved.
Produce a final summary of all changes applied.
Report format
# Template update report: {package name}
Compared on {date} against [cookiecutter-wagtail-package](https://github.com/wagtail/cookiecutter-wagtail-package) (`main` branch).
## Executive summary
{1-3 paragraphs: what was compared, methodology, high-level findings. How many differences found, how many need action, overall alignment with the template.}
## Differences overview
{For each comparison area, a subsection with findings.}
### {Area name}
| Aspect | Package | Template | Status |
|--------|---------|----------|--------|
| {aspect} | {current value} | {template value} | {Aligned / Drifted / Intentional / New in template} |
{Brief notes on context or trade-offs where relevant.}
## Recommended actions
The top 10 differences ranked by impact relative to effort:
| # | Action | Effort | Impact | Area |
|---|--------|--------|--------|------|
| 1 | {description} | {XS-XL} | {XS-XL} | {area} |
### Effort and impact scales-**XS**: Super quick. Change a config value, add a line.
-**S**: Small task. Add a CI job, update a dependency, write a short doc section.
-**M**: Decent task. Set up a new tool, write a contributing guide.
-**L**: Major task. Redesign documentation, set up a new CI pipeline.
-**XL**: Epic. Major structural changes, comprehensive test suite overhaul.