| name | draft-roadmap-rfc |
| description | Write a draft RFC for roadmap updates to Wagtail |
| license | MIT |
| metadata | {"audience":"maintainers","internal":true,"disable-model-invocation":true} |
Overview
Draft a new "Public roadmap updates" RFC, following the structure of past RFCs in the wagtail/rfcs repository (label: roadmap). The output is a new Markdown file in the root of the wagtail/roadmap repository that follows docs/rfc-template.md, populated from the previous RFC, the corresponding Wagtail release notes, and the current state of roadmap issues / project board.
Methodology
Goals
- Produce a draft RFC that mirrors the structure and tone of past roadmap RFCs.
- Pull factual content (issues, sizes, milestones, statuses) from the canonical sources rather than inventing it.
- Use the roadmap style guide: conversational-instructional, link-rich, comfortable hedging.
- Leave parts of the document marked
TBC when the input data does not support a confident draft, rather than guessing.
Guardrails
- Never invent issue numbers, sizes, milestones, or release dates — fetch them.
- Always link to roadmap issues by their full URL (e.g.
https://github.com/wagtail/roadmap/issues/116).
- Don't rephrase existing roadmap item summaries — copy them as-is from the issue body unless the user asks otherwise.
- Don't propose anything for sections marked
TBC (next+1, Future, items to close, items that didn't make the cut). The user will fill those in.
- Don't open a PR or push commits. The skill ends with a file on disk for the user to review.
Inputs
To detect from the context or request from the user if unclear:
- Author name for the RFC frontmatter. Default: read
git config user.name.
- RFC date in
YYYY-MM-DD for the Created / Last Modified fields. Default: today.
- Previous roadmap RFC. Default: most recent merged or open PR with the
roadmap label in wagtail/rfcs. Resolve to its raw text/NNN-roadmap-updates.md file on the main branch (or the PR head ref if not yet merged).
- New RFC number. Default:
latest wagtail/roadmap PR / issue number + 1. The user may have already created an empty rfc-NNN.md placeholder in the repo root — prefer that filename if present.
- Output file path. Default:
rfc-<NNN>.md in the repo root. Reuse an empty placeholder if it exists.
Reference data sources
Always fetch the latest data from these sources rather than relying on local caches.
- Previous RFC raw Markdown:
https://raw.githubusercontent.com/wagtail/rfcs/refs/heads/main/text/<NNN>-roadmap-updates.md
- Wagtail release notes (Markdown view):
https://docs.wagtail.org/en/latest/releases/<X.Y>.html.md
- Wagtail release schedule: https://github.com/wagtail/wagtail/wiki/Release-schedule
- Roadmap repo issues:
https://github.com/wagtail/roadmap/issues and the corresponding milestones.
- Roadmap GitHub Project (for the
Size custom field): https://github.com/orgs/wagtail/projects/16 ("Wagtail public roadmap").
If present, project-local data already synced via the gh-issue-sync skill is the fastest source for issue titles, milestones, labels, and bodies:
.issues/open/*.md and .issues/closed/*.md — synced issues with frontmatter (title, labels, milestone, projects, state).
.issues/.sync/milestones.json — full list of milestones with state and due dates.
The local issue files do not include the project's Size custom field, so that has to come from gh project item-list 16 --owner wagtail.
Reporting
- After writing the file, summarize what was filled in vs. left as
TBC, and link to the inputs used (previous RFC URL, release notes URL, project URL).
- Flag any roadmap issues that were skipped (e.g. closed but not in last release, missing size, ambiguous milestone) so the user can decide what to do.
- Don't invent a title — keep it
RFC <NNN>: Public roadmap updates to match the series.
Steps
1. Determine versions and the previous RFC
2. Pull the previous release's release notes
3. Build the "Roadmap for the previous release" table
For each roadmap item that had milestone equal to the previous "next release" version (e.g. v7.4):
4. Build the "Roadmap for the next release" sections
For each roadmap item with milestone equal to the new "next release" version (e.g. v7.5):
5. Fill in the remaining sections as TBC
Per the user's instructions, the following sections are left for the user to refine. Don't generate content for them.
Keep each heading from the template intact so the user can fill in directly without restructuring.
6. Assemble the document
7. Write the file and report