A Mercari iOS engineer runs 22 Claude Code sessions in git worktrees to migrate screens to a new design system, opening about 140 PRs
An iOS engineer on Mercari's Mercoin client team migrated app screens from DesignSystem V3 to V4 in phased PRs (feature flag, copy, component swap, wiring, cleanup). He ran 18 Claude Code sessions in git worktrees for the migration work plus four 'brain' and review sessions, all sharing one Obsidian vault symlinked into Claude Code's global CLAUDE.md and 35+ custom slash commands that encode each phase. Worktrees share one Bazel cache behind a file-based build lock, and one session owns each stacked PR chain for rebases. Over several months he opened around 140 PRs, with up to 18 open at once. A simulated Phase 4 'remove and build' check across 21 screens found three with hidden DS3 dependencies, at about a minute per screen.
The numbers (as reported)
| PRs | Around 140 over several months; up to 18 open at once |
|---|---|
| Sessions | 22 Claude Code sessions (18 worktree, 4 planning/review) |
| Screens double-checked | 21 screens; 3 had hidden DS3 dependencies |
| Check speed | About a minute per screen for modify-build-restore cycles |
| Setup time | About two months of iteration |
Facts
- Company / subject
- Mercari (Mercoin client team)
- Tools
- Claude Code
- Codebase
- brownfield
- Work type
- Migration
- Stack
- iOS, Swift, Bazel, Obsidian
- Published
- 2026-06-22
- Last checked
- 2026-11-10
What the source claims Practitioner (own blog/paper)
Claimed by the builder, writing about their own work. Not checked independently.
- Sustained around 140 migration PRs, with up to 18 open at the same time ~140 PRs
“I have created around 140 Pull Requests (PRs), and at one point I had 18 of them open at the same time.”
- Simulated cleanup check found 3 of 21 screens with hidden dependencies, at about a minute per screen 3 of 21 screens
“running 21 sequential modify-build-restore cycles took about a minute per screen”
Caveats
Self-reported by one engineer. No figures on total time saved, defects or how long the migration would have taken by hand. The 'several months' span and PR count are approximate.
More stories by tool: Claude Code
Related topics: MigrationsBrownfield codebases