{
  "skill_name": "newsletter-designer",
  "evals": [
    {
      "id": 0,
      "name": "cybersecurity-newsletter",
      "prompt": "Create a newsletter PDF for Cyber Ethos (website: https://cyberethos.com.au). The newsletter is for September and the content is:\n\nHeadline: Securing Australian Critical Infrastructure\nSubtitle: Navigating the Global Cybersecurity Threat Landscape\n\nAt Cyber Ethos, we are here to raise awareness because cyber risk is business risk.\n\nAfter our previous editions on Cybersecurity Risk and AI and Cybersecurity, this edition focuses on Cybersecurity in Critical Infrastructure, an area I have worked in extensively. If you run a utility, port, or logistics operation, these risks are closer than you think.\n\nCritical infrastructure organisations such as water, electricity, logistics, telecoms, gas, ports; they keep the economy running. But their importance also makes them prime targets for cyber criminals.\n\nDid you know that by 2018 nearly 60 percent of critical infrastructure organisations globally had already experienced breaches in their industrial control systems? The fallout isn't just technical, means real world disruption, financial losses, and reputational harm.\n\nKey questions:\n- How do we strengthen our cyber capability?\n- What investments will protect us from growing risks?\n\nHigh-profile attacks highlight the risk. From phishing to power and water outages, these incidents show that a single breach can ripple across entire industries. Remember CS Energy and Colonial Pipeline in 2021?\n\nCyber Ethos works alongside critical infrastructure providers to close these gaps. With deep IT & OT expertise, we guide Boards and executives through a structured transformation journey.\n\nJoin us in adopting a proactive and comprehensive cybersecurity approach to protect your crown jewels from evolving threats.\n\nTwo takeaways:\n1. Standard IT security does not work in industrial settings.\n2. Protecting critical infrastructure begins with making cybersecurity a boardroom priority.\n\nStay secure!!\nSigning off till next week,\nDr. Kiran Kewalramani\nCEO & Founder, Cyber Ethos",
      "expected_output": "A professionally designed PDF newsletter with Cyber Ethos branding (dark theme, teal/green accent), FLUX hero image related to cybersecurity, and all content laid out following the newsletter template structure.",
      "files": [],
      "assertions": [
        {
          "name": "pdf_exists",
          "type": "file_exists",
          "description": "A PDF file was generated in the output directory",
          "check": "outputs directory contains a .pdf file"
        },
        {
          "name": "html_exists",
          "type": "file_exists",
          "description": "An HTML file was generated as intermediate step",
          "check": "outputs directory contains a .html file"
        },
        {
          "name": "hero_image_present",
          "type": "content_check",
          "description": "The HTML contains an embedded hero image (base64 or local file)",
          "check": "HTML file contains an <img> tag with src attribute for hero image"
        },
        {
          "name": "brand_colors_extracted",
          "type": "content_check",
          "description": "CSS custom properties are populated with brand-specific colors (not default fallbacks)",
          "check": "HTML contains --color-primary or --color-accent with non-default values"
        },
        {
          "name": "all_content_present",
          "type": "content_check",
          "description": "All user-provided content appears in the HTML without being rewritten",
          "check": "HTML contains key phrases: 'Securing Australian Critical Infrastructure', 'cyber risk is business risk', 'Dr. Kiran Kewalramani'"
        },
        {
          "name": "layout_structure",
          "type": "content_check",
          "description": "HTML follows the newsletter layout structure (header, headline, hero, highlight box, body, takeaways, footer)",
          "check": "HTML contains sections for header, headline, hero-image, highlight-box, main-content, takeaways"
        }
      ]
    },
    {
      "id": 1,
      "name": "realestate-newsletter",
      "prompt": "Design a newsletter PDF for Ray White real estate (website: https://www.raywhite.com). This is the March edition.\n\nHeadline: Brisbane Property Market Update\nSubtitle: What Sellers and Buyers Need to Know This Autumn\n\nThe Brisbane property market continues to show resilience heading into autumn 2026, with median house prices holding steady across most suburbs.\n\nKey highlights this month:\n- Median house price in Brisbane reached $850,000\n- Auction clearance rates sitting at 62%\n- Rental vacancy rates below 1% across inner-city suburbs\n- New infrastructure projects driving growth in western corridor\n\nFor sellers, now is still a strong time to list. Buyer demand remains healthy, particularly for family homes in the $600K-$900K bracket. Properties that are well-presented and priced correctly are selling within 21 days on average.\n\nFor buyers, competition has eased slightly compared to the peak of 2025, giving more room for negotiation. First-home buyers should look at emerging suburbs like Springfield, Ripley, and Greater Flagstone where new developments offer great value.\n\nInvestor spotlight: The rental market remains exceptionally tight. Gross yields in Logan and Ipswich corridors are averaging 5.2%, making these areas attractive for investors seeking cash flow positive properties.\n\nLooking ahead, interest rate stability and population growth will continue to support the Brisbane market through 2026.\n\nKey takeaway: Brisbane remains one of Australia's strongest property markets. Whether you're buying, selling, or investing, the fundamentals are solid.\n\nGet in touch with your local Ray White agent to discuss your property goals.\n\nThe Ray White Team",
      "expected_output": "A professionally designed PDF newsletter with Ray White branding (likely yellow/gold on white/light theme), FLUX hero image related to Brisbane real estate, and all content properly laid out.",
      "files": [],
      "assertions": [
        {
          "name": "pdf_exists",
          "type": "file_exists",
          "description": "A PDF file was generated",
          "check": "outputs directory contains a .pdf file"
        },
        {
          "name": "html_exists",
          "type": "file_exists",
          "description": "An HTML file was generated",
          "check": "outputs directory contains a .html file"
        },
        {
          "name": "hero_image_present",
          "type": "content_check",
          "description": "Hero image is present in the HTML",
          "check": "HTML contains hero image element"
        },
        {
          "name": "brand_colors_extracted",
          "type": "content_check",
          "description": "Ray White brand colors are applied (yellow/gold tones)",
          "check": "CSS contains brand-appropriate color values"
        },
        {
          "name": "all_content_present",
          "type": "content_check",
          "description": "All content is present without rewriting",
          "check": "HTML contains 'Brisbane Property Market Update', '$850,000', 'Ray White Team'"
        },
        {
          "name": "layout_structure",
          "type": "content_check",
          "description": "Follows newsletter layout structure",
          "check": "HTML has header, headline, hero image, highlight box, body, footer sections"
        }
      ]
    },
    {
      "id": 2,
      "name": "wellness-newsletter",
      "prompt": "Create a newsletter for Grow Your Mind wellness (website: https://growyourmind.life). April edition.\n\nHeadline: Building Resilience in Children\nSubtitle: Practical Strategies for Parents and Educators\n\nAt Grow Your Mind, we believe every child deserves the tools to thrive emotionally and mentally.\n\nThis month, we're exploring resilience — what it is, why it matters, and how adults can nurture it in children.\n\nResilience isn't about toughening kids up. It's about helping them develop the emotional skills to bounce back from setbacks, adapt to change, and keep going when things get hard.\n\nHere are 5 evidence-based strategies:\n\n1. Model emotional regulation — Children learn by watching. When you manage stress calmly, they learn to do the same.\n2. Create safe spaces for big feelings — Let children know all emotions are valid. It's what we do with them that matters.\n3. Encourage problem-solving — Instead of fixing everything, ask 'What could you try?' This builds agency and confidence.\n4. Foster connections — Strong relationships are the foundation of resilience. Prioritise quality time and active listening.\n5. Celebrate effort, not just outcomes — Praise the process, not just the result. This builds a growth mindset.\n\nResearch shows that children who develop strong social-emotional skills in primary school are more likely to succeed academically and have better mental health outcomes into adulthood.\n\nKey insight: Resilience is not a trait children are born with — it's a skill that can be taught and strengthened through everyday interactions.\n\nWarm regards,\nThe Grow Your Mind Team\nwww.growyourmind.life",
      "expected_output": "A professionally designed PDF newsletter with Grow Your Mind branding (likely bright, friendly, educational colours), FLUX hero image related to children's wellbeing/resilience, and all content laid out properly.",
      "files": [],
      "assertions": [
        {
          "name": "pdf_exists",
          "type": "file_exists",
          "description": "A PDF file was generated",
          "check": "outputs directory contains a .pdf file"
        },
        {
          "name": "html_exists",
          "type": "file_exists",
          "description": "An HTML file was generated",
          "check": "outputs directory contains a .html file"
        },
        {
          "name": "hero_image_present",
          "type": "content_check",
          "description": "Hero image present in HTML",
          "check": "HTML contains hero image"
        },
        {
          "name": "brand_colors_extracted",
          "type": "content_check",
          "description": "Grow Your Mind brand colors applied",
          "check": "CSS contains brand colors from growyourmind.life"
        },
        {
          "name": "all_content_present",
          "type": "content_check",
          "description": "All content preserved without rewriting",
          "check": "HTML contains 'Building Resilience in Children', '5 evidence-based strategies', 'Grow Your Mind Team'"
        },
        {
          "name": "layout_structure",
          "type": "content_check",
          "description": "Follows newsletter layout structure",
          "check": "HTML has header, headline, hero image, body, takeaways, footer"
        }
      ]
    }
  ]
}
