Craig Ayre

Technical Lead on HubSpot’s web team, building customer-facing experiences, developer tooling and automation.

  1. 🏅 Smooth Operator Award

    Boston

    Received HubSpot's Smooth Operator Award for removing everyday engineering friction and sharing tools used across a department of around 50 people. The nomination said I find a better way to work, then actively bring the rest of the team along with me. At UNBOUND in Boston, I met HubSpot leaders, customers and partners.

  2. Fall 2026 Spotlight

  3. Added regex_match to HubL

    Replaced convoluted string checks for pattern matching:

    {% if var and var|regex_replace('^foobarbaz$', '') == '' %}

    With the new helpers:

    {% if var|regex_match('^foobarbaz$') %}
    {% if var is search '[0-9]+' %}
    {{ items|selectattr('name', 'search', '^foo') }}
  4. Spring 2026 Spotlight

  5. 🐝 Ally Pally

    Alexandra Palace, London

    Went as a bee to the World Darts Championship and got picked for the crowd challenge. £60,000 for a nine-darter, but Luke Woodhouse misses the D12.

  6. Fall 2025 Spotlight

  7. ⚽ Sunderland AFC are Premier League 🔴⚪

    Wembley Stadium

    Celebrated with 35,000+ other Mackems. Maybe VAR isn't so bad after all.

  8. Joined HubSpot

    Joined HubSpot as a Technical Lead on the Web team, building HubSpot on HubSpot.

  9. 🎯 First 180

    Three darts landed tightly together in the treble-20 ring of a Winmau dartboard, scoring 180.
  10. 🎤 Automating Continuous Improvement

    Talked about codemods and custom linting, using tooling to make continuous improvement less reliant on good intentions.

    Craig stands beside a projector screen showing the opening slide for Automating Continuous Improvement, with a laptop and projector set up in front of him at a pub venue.
  11. Ran Softwayre

    Ran an independent software consultancy, building products for clients in sport, retail, automotive and healthcare, and grew the team along the way.

  12. 🎤 The Future of JavaScript

    Talked about where JavaScript was heading and how TC39 evolves the language. Still looking forward to the pipeline operator and pattern matching.

    Craig gives a talk beside a projected slide titled Optional chaining, Stage 1, showing a JavaScript code example at JavaScript North East.
  13. Scott Logic

    Senior consultant working on large financial applications, from customer-facing features to the underlying platform and codebase.

  14. Built a Pokémon Emerald bot

    Used screenshot and pixel analysis rather than reading game memory through Lua. A small state machine tracked the screen; optimised code and regression tests kept it quick. It could catch specific Pokémon or hunt for shinies.

  15. ⌨️ Switched to Dvorak

    ASDFG AOEUI

    Switched to Dvorak and stuck with it. Started with Programmer Dvorak, but eventually settled on the standard layout.

  16. Ran an IRC bot on Freenode

    #html#css!docs

    Ran in the #html and #css channels on Freenode, answering common documentation queries. IRC bots are one of my favourite ways to learn a language: get one working, then find the most ergonomic syntax and syntactic sugar.