bakerydemo
AGENTS.md1.1k starsChanged 3 months agoBSD-3-ClauseView on GitHub
Additional guidance for AI coding agents working on bakerydemo. bakerydemo is a Wagtail demo site for learning and showcasing common patterns. The codebase is organized as a multi-app demo project: For render or template-focused Django tests, prefer the test settings: This avoids manifest-staticfiles issues from bakerydemo.settings.dev.
Trending
More talk lately.about the whole repository
Who's talking about wagtail/bakerydemo
- wagtail/wagtail“Add srcset_image and picture tags for responsive images”GitHub · Aug 11, 2023 · 4 reactions
- wagtail/wagtail“Fixes Redirect old path not consistent with Page.url_path”GitHub · Oct 10, 2024 · 2 reactions
- wagtail/wagtail“Fix/5919 nested inline panels ordering buttons”GitHub · Feb 2, 2024 · 2 reactions
- @wagtail.org“Today’s the day, exactly 1000 stars on GitHub for the Wagtail bakery demo site github.com/wagtail/bake...! …”Bluesky · Apr 3, 2025 · 1 likes
- wagtail/wagtail“Update Node tooling to align with Node 22 (active LTS)”GitHub · Nov 2, 2024 · 1 reactions
The biggest 5 of 58 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 58
Talked about on GitHub, Stack Overflow and Bluesky (58 times).
On GitHub · 50
- Aug 11, 2023Add srcset_image and picture tags for responsive images — wagtail/wagtail4 reactions · 5 comments
- Oct 10, 2024Fixes Redirect old path not consistent with Page.url_path — wagtail/wagtail2 reactions · 17 comments
- Feb 2, 2024Fix/5919 nested inline panels ordering buttons — wagtail/wagtail2 reactions · 7 comments
- Nov 2, 2024Update Node tooling to align with Node 22 (active LTS) — wagtail/wagtail1 reaction · 1 comment
- Feb 5, 2024Fix crash when accessing workflow reports with a deleted snippet — wagtail/wagtail1 reaction · 5 comments
45 more on GitHub
- Nov 9, 2021Keyboard navigation breaks with links in paragraph in Chrome on MacOS — wagtail/wagtail1 reaction · 1 comment
- Jul 20, 2018KeyError on republished pages containing rich text links to removed documents — wagtail/wagtail1 reaction · 1 comment
- Jun 29, 2018Navigation shows edit button on pages for which user has no edit permission. — wagtail/wagtail1 reaction · 8 comments
- Nov 6, 2026Add markdown variant — torchbox/torchbox.com0 reactions
- Oct 25, 2026Decide how to treat reference material that is not a package (12) — djangopackages/djangopackages0 reactions · 2 comments
- Oct 22, 2026Migrate API usage to v3 — wagtail/bakerydemo-headless0 reactions
- Oct 19, 2026Add page metadata to content checks — wagtail/wagtail0 reactions
- Oct 19, 2026Document how to cache sitemap — wagtail/wagtail0 reactions
- Oct 6, 2026Handle nested inline panels in write API v3 — wagtail/wagtail0 reactions
- Oct 6, 2026Add form data handling for TypedTableBlock in write API v3 — wagtail/wagtail0 reactions
- Oct 6, 2026Ensure custom id is respected in write API schema for inline panels — wagtail/wagtail0 reactions
- Oct 5, 2026Fix API v3 child relations with related_query_name or default accessor being ignored — wagtail/wagtail0 reactions
- Sep 1, 2026Use wagtail-localize's features in the demo site — wagtail/wagtail-localize0 reactions · 2 comments
- Aug 28, 2026Migrate API usage to v3 — wagtail/bakerydemo-headless0 reactions
- Jul 10, 2026End-to-end integration tests with Playwright — wagtail/guide0 reactions
- Feb 6, 2026Docs how-to for programmatic page creation for content migration — wagtail/wagtail0 reactions · 7 comments
- Sep 12, 2025Add prompt() method to backends and implement contextual alt text feature — wagtail/wagtail-ai0 reactions
- Aug 27, 2025Add Stimulus, meta description generator, and more — wagtail/wagtail-ai0 reactions
- Jul 8, 2025Add docs for headless user bar and accessibility checker — wagtail/wagtail0 reactions
- Jun 13, 2025Implement scroll restoration for cross-domain preview iframes — wagtail/wagtail0 reactions
- Jun 13, 2025Improve userbar and previews support for headless setups — wagtail/wagtail0 reactions · 2 comments
- Feb 17, 2025Headless demo site — wagtail/roadmap0 reactions · 2 comments
- Feb 9, 2025Fix validation of duplicate field names in formsets with deleted fields — wagtail/wagtail0 reactions · 11 comments
- Jan 29, 2025Fix `Block.is_previewable` detection on blocks with non-`None` unset default values — wagtail/wagtail0 reactions · 1 comment
- Jan 24, 2025Wagtail choosers ignore Django's ForeignKey.limit_choices_to — wagtail/wagtail0 reactions · 2 comments
- Nov 27, 2024Create sample data to develop with — wagtail/wagtail.org0 reactions
- Aug 23, 2024Fixes Redirect old path not consistent with Page.url_path — fbarnea/wagtail0 reactions
- Apr 23, 2024Demo site setup — wagtail/wagtail-newsletter0 reactions
- Apr 19, 20246.1rc1. Strange positioning of the language label on dashboard or page explorer — wagtail/wagtail0 reactions · 1 comment
- Apr 8, 2024Improve exception handling in `AbstractImage.create_renditions()` — wagtail/wagtail0 reactions · 2 comments
- Feb 11, 2024Investigate & update documentation broken links — wagtail/wagtail0 reactions
- Jan 19, 2024Documentation request: pytest fixtures for Wagtail pages — wagtail/wagtail0 reactions · 7 comments
- Dec 20, 2023uploaded media check / cleanup — Princeton-CDH/cdh-web0 reactions
- Nov 10, 2023`bakerydemo-settings-local.py.example` is invalid and not used — wagtail/docker-wagtail-develop0 reactions
- Oct 19, 2023Comms — djangonaut-space/wagtail-indymeet0 reactions · 3 comments
- Jun 24, 2023Use CSS instead of JavaScript for responsive embed video iframes — WesternFriend/westernfriend.org0 reactions · 5 comments
- Apr 11, 2023Set PYTHONPATH variable — wagtail/docker-wagtail-develop0 reactions
- Mar 19, 2023Implement Django4 and python project types and nginx-gunicorn webserver_type, for #3709 — ddev/ddev0 reactions · 9 comments
- Feb 20, 2023Use correct settings file — wagtail/docker-wagtail-develop0 reactions · 2 comments
- Feb 20, 2023Use postgres when running database — wagtail/docker-wagtail-develop0 reactions · 1 comment
- Feb 15, 2023Documentation démarrage — numerique-gouv/sites-conformes0 reactions · 9 comments
- Jan 30, 2023Handle deprecations for 5.0 — wagtail/wagtail0 reactions · 3 comments
- Dec 16, 2022Feature/generic wagtail pages — oeglobal/oeweek20220 reactions
- Sep 6, 2022Pasting list-like content to rich text fields may result in content loss — wagtail/wagtail0 reactions · 5 comments
- May 12, 2022"Upload one now" link on document chooser is broken — wagtail/wagtail0 reactions
On Stack Overflow · 7
- Mar 2, 2024Wagtail: How to filter children of index page, when index page is accessed through foreign key1 vote · 1 answer
- Mar 28, 2023How do I change the menu sequence from "left to right" to "right to left" in backerydemo?1 vote
- Mar 27, 2023How do I change the menu sequence from "left to right" to "right to left" in backerydemo?0 votes
- Aug 8, 2022Migrate / MakeMigrations conundrum0 votes · 1 answer
- Jan 11, 2022wagtail translation parent_url() 'NoneType' object has no attribute 'strip'0 votes
2 more on Stack Overflow
- Apr 17, 2020Adding StreamField call-to-actions to base.html using Wagtail CMS0 votes
- Jan 24, 2018wagtail - menus how to include homepage as well?0 votes · 1 answer
On Bluesky · 1
- Apr 3, 2025Today’s the day, exactly 1000 stars on GitHub for the Wagtail bakery demo site github.com/wagtail/bake...! This demo site is what our… — @wagtail.org1 likes and repost
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 32,671 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repositoryOne other file it gives its agents.
The file
We split this AGENTS.md into the rules it gives an agent
8 rules. About 0 are common, 5 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 38
When implementing theming, prefer built-in CSS and browser features such as light-dark() and color-scheme instead of a more complex custom …
- Distinctive: line 39
Keep visual effect tokens (for example overlays, gradients, inverse-on-image text) separate from general page theme tokens.
- Distinctive: line 44
Prefer focused model and page setup over loading the full demo fixture, unless the fixture itself is under test.
- Very specific: line 45
When testing search, remember bakerydemo/search/views.py intentionally hard-codes the searchable page models for the demo.
- Very specific: line 50
If fixture content changes, follow the documented fixture export and formatting steps in CONTRIBUTING.md.
- Distinctive: line 51
Avoid unnecessary fixture changes in unrelated pull requests.
- Distinctive: line 55
Keep changes tightly scoped to the issue being worked on.
- Distinctive: line 57
Call out any areas that need careful visual or editorial review.
≈ “Common” is an estimate: at least 1 in 5 of the 41,581 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
AGENTS Instructions
Additional guidance for AI coding agents working on bakerydemo.
Project overview
bakerydemo is a Wagtail demo site for learning and showcasing common patterns.
The codebase is organized as a multi-app demo project:
bakerydemo/base/for shared models, blocks, fixtures, and testsbakerydemo/blog/,breads/,locations/,recipes/,people/,search/for feature-specific appsbakerydemo/templates/andbakerydemo/static/for site-wide templates and frontend assets
Key commands
npm ci # Install frontend dependencies
make lint # Ruff, djhtml, curlylint, frontend linting
make format # Ruff, djhtml, frontend formatting/fixes
./manage.py check # Run Django system checks
./manage.py test # Default local test run
prek install # Install local git hooksFor render or template-focused Django tests, prefer the test settings:
env DJANGO_SETTINGS_MODULE=bakerydemo.settings.test ./manage.py testThis avoids manifest-staticfiles issues from bakerydemo.settings.dev.
Frontend workflow
- JavaScript is intentionally minimal and framework-free.
- CSS is plain vanilla CSS, no Sass.
- When implementing theming, prefer built-in CSS and browser features such as
light-dark()andcolor-schemeinstead of a more complex custom theme system. - Keep visual effect tokens (for example overlays, gradients, inverse-on-image text) separate from general page theme tokens.
Testing guidance
- Render tests should generally live in
bakerydemo/<app>/tests/. - Prefer focused model and page setup over loading the full demo fixture, unless the fixture itself is under test.
- When testing search, remember
bakerydemo/search/views.pyintentionally hard-codes the searchable page models for the demo.
Demo data and content
- The main demo fixture lives in
bakerydemo/base/fixtures/bakerydemo.json. - If fixture content changes, follow the documented fixture export and formatting steps in
CONTRIBUTING.md. - Avoid unnecessary fixture changes in unrelated pull requests.
Pull request guidance
- Keep changes tightly scoped to the issue being worked on.
- Explain the "why" of the change, not only the implementation.
- Call out any areas that need careful visual or editorial review.
- Tell us how to test the changes.
Bakerydemo-specific pitfalls
- Be careful when changing theme tokens: some existing tokens are used for fixed visual effects and should not become theme-dependent.
- The repo may have ongoing frontend-tooling migration work; if Stylelint or pre-commit config is mid-transition, prefer targeted checks and report the limitation clearly.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

