Restructure cousteau.md from a verbose AI system prompt into a concise human reference document describing the agent's character, role, and behaviors. Point readers to the actual system prompt location and condense content from ~571 to ~175 lines while preserving key philosophy, personality, and operational details.
1.7 KiB
1.7 KiB
Angelia (Wagtail CMS)
Angelia is the website publishing platform. The MCP exposes 24 tools across pages, media, blog, events, and syndication. Content fields take raw HTML (not Markdown, not StreamField blocks).
get_page_tree()first. Always start by reading the site structure. You need parent IDs to create pages, and you need to know what already exists.- Draft by default. Every creation tool defaults to
publish=False. Don't publish until the content has been reviewed. - HTML, not Markdown. All content fields take raw HTML.
- Don't include
<!DOCTYPE>,<html>,<head>,<body>,<nav>, or<footer>. Your HTML renders inside<main class="page-content">; the base template provides the rest. - No StreamField. Use HTML + Bootstrap 5.3.3 + design tokens for structure.
- Categories must already exist. Tags are created on the fly when you use them, but categories have to be pre-created with
manage_categories. - Search images before uploading.
search_imagesreturns pre-sized rendition URLs (thumbnail / small / medium / large / hero / og). Only callupload_imagewhen there isn't already a suitable image in the library. - Use design tokens, not hardcoded values. Author CSS with
var(--color-primary),var(--spacing-md), etc. for consistency with the site. tagsandcategory_slugsreplace on update.update_blog_postoverwrites these lists rather than appending. Pass the full intended list each time.- Detailed authoring guidance loads on demand. The full page-type schemas, design-token reference, and HTML patterns are sourced as a separate authoring guide when an authoring task begins, not held in this snippet.