Pattern: Trunk-based development

Integrate into a single shared trunk continuously via short-lived branches and small, atomic commits (~100 lines of change), keeping the trunk always releasable. Each commit is a save-point that can be reverted cleanly; unfinished work hides behind pattern-feature-flags rather than long-lived branches. Small changes are faster to review and safer to ship, which is the same “faster is safer” logic behind pattern-shift-left.

Addy Osmani — Agent Skills:

  • addy-git-workflow — trunk-based development, atomic commits, commit-as-save-point.
  • addy-ci-cd — pipelines that keep the trunk green.

Compound Engineering:

gstack:

  • gstack-ship — atomic commits, short branches, PR flow; filter-squashes WIP checkpoint commits so bisect stays clean.

Superpowers:

See Also