04.7.5 · Skill in Developer experience

Engineering automation

Automating repetitive engineering tasks.

Automation covers code generation, dependency updates, release notes, environment setup and more. A task done by hand every week is a good candidate. Scripts and bots free attention for product work.

Your status · Engineering automation

Saved in this browser. Sign in to keep it on every device.It colours this skill's tile on your map.

Why it matters for a product engineer

A task done by hand every week costs hours over a year, and it is done a little differently each time. Automation makes it cheap, repeatable and checked. With coding agents, large changes that were never worth the time, such as migrating thousands of files, now are.

How to do it

  1. List the repeated tasks: dependency updates, release notes, environment setup, migrations, and code that follows a known pattern.
  2. Automate the ones that are frequent, boring and easy to check. Start with a script, then move it into CI or a bot.
  3. Let a bot such as Renovate open dependency updates, and let the tests decide whether to merge.
  4. For a large code change, build a pipeline of steps that each end in a check: tests, lint, types. Retry a failed step with its error, and stop after a limit.
  5. Run on a sample first, fix the common failures, then run on everything.
  6. Keep a person reviewing what the checks cannot verify.

Common mistakes

  • Automating a process nobody understands yet.
  • Bots that open more pull requests than people can review.
  • Automation without checks, so mistakes spread faster.
  • Chasing the last few percent with automation, when hand work is cheaper.

Example

Airbnb had nearly 3,500 React test files on Enzyme, a library it had stopped using for new tests in 2020. By hand, the migration was estimated at 1.5 years of engineering time. A pipeline moved each file through steps: convert from Enzyme, fix Jest, fix lint and types. When a check failed, an LLM got the errors and tried again. Some hard files were retried 50 to 100 times. Then the team stopped tuning and fixed the last 3% by hand, in about a week.

Numbers

Airbnb's automated test migration

75%
Files migrated in the first 4 hours
97%
After 4 days of tuning prompts and scripts
6 wk
The whole migration
Estimated at 1.5 years by hand

A check at every step made it safe to run on thousands of files. The last 3% was cheaper by hand.

ReportedCharles Covey-Brandt, Airbnb, 13 Mar 2025

Sources: Accelerating large-scale test migration with LLMs (Airbnb) ↗

Resources

3
Overview for Developer experience
  • docsStart here
    Diátaxis ↗
    Daniele Procida · free guide

    Four kinds of documentation (tutorials, how-to guides, reference, explanation) and why mixing them fails.

  • articleStart here
    Ship / show / ask ↗
    Rouan Wilsenach (martinfowler.com) · 2021 · 9 min

    Not every change needs a review before merging; a simple way to decide which do.

  • articleGo deeper
    Continuous integration ↗
    Martin Fowler · 60 min

    The definitive explanation of continuous integration, recently revised, including what it is not.

Tools

2