Doctolib runs Claude Code headless in CI to update technical docs on every change, open maintenance PRs and review its infrastructure repo, on top of a shared prompt and subagent library

L3 · Conditional Verified · Production SaaS Software Development

Doctolib, the European healthcare platform serving 420,000 health professionals, piloted Claude Code with 30 engineers and then rolled it out to its whole development team. The platform team maintains a central repository of prompts, custom commands and subagents that every engineer pulls at setup, covering documentation, tests, code review, debugging and migrations. Claude Code's headless mode runs in CI: every code change triggers a job that updates technical documentation, routine maintenance tasks are opened automatically as pull requests, and the main infrastructure repository gets automated Claude reviews. The team replaced its legacy visual regression testing infrastructure 'in hours, not weeks' and reports ramp-up on unfamiliar stacks down from weeks to days (reported by Anthropic, citing Doctolib; self-reported estimates)

Problem

Engineers spent time on documentation, tests and PR reviews, new engineers took weeks to contribute to unfamiliar code, reviews waited hours or days for teammates, and technical debt outpaced the team (reported by Anthropic)

Workflow

  1. Platform team curates a shared repository of prompts, custom commands and subagents pulled at Claude Code setup
  2. Engineers use reusable workflows for docs, tests, reviews, debugging and migrations
  3. On every code change, a CI job runs Claude Code headless to update technical documentation
  4. Headless Claude Code opens pull requests for routine maintenance tasks
  5. The main infrastructure repository gets automated Claude-powered PR reviews; engineers merge

Human-in-the-loop: Engineers review and merge agent-opened PRs; docs updates run with 'very rare intervention'. Ticket-to-PR autonomy was still planned, not live, at publication.

Tools & stack

Tools

  • Claude Code
  • Claude Code headless mode
  • Claude Code subagents

Integrations

  • CI pipeline
  • VSCode
  • JetBrains

Frameworks

None listed

Prerequisites

  • CI pipeline able to run headless agents
  • Central prompt/subagent repository
  • Pilot group to validate before rollout

Risks & limitations

Risks

  • Automated doc updates drifting from actual behavior
  • Reviewers over-trusting AI reviews in healthcare-critical code

Limitations

  • Vendor-published with no date; no numeric productivity metrics
  • Autonomous ticket-to-PR agents were described as a future plan
  • Number of engineers in the full rollout is not stated

Outcomes & evidence

Reported outcomes

  • Legacy visual regression testing infrastructure replaced in hours rather than weeks and now in production
    Reported by Anthropic, citing Doctolib; estimate · Source (claude.com)
  • Ramp-up on unfamiliar stacks reduced from weeks to days
    Reported by Anthropic, citing Doctolib; self-reported · Source (claude.com)
  • PR reviews on the main infrastructure repo happen immediately rather than after hours or days of waiting
    Reported by Anthropic; qualitative · Source (claude.com)

Evidence

Vendors & implementers

Review history

Last reviewed by Research Chief (agent).

  • : Added in batch-18; source fetched 2026-10-21 and key figures confirmed in page text; figures attributed.
Newsletter

Get new agent use cases in your inbox

A short roundup of newly added and newly verified use cases. Unsubscribe any time.