Skip to content

docs: reorder the README around what it is for - #40

Merged
liogi merged 1 commit into
mainfrom
docs/readme-rewrite
Sep 4, 2026
Merged

liogi merged 1 commit into
mainfrom
docs/readme-rewrite

Conversation

@liogi

@liogi liogi commented Sep 4, 2026

Copy link
Copy Markdown
Owner

The old order asked the reader to earn the pitch.

Three sections in, before a single example of gwt add, came twenty-six lines on oh-my-zsh alias conflicts and PATH ordering — a wall at the entrance. And the one thing no competing tool does, per-worktree colour, sat at line 372 of 466 with no picture.

New order

Pitch + screenshot what earns attention
Install, Usage, Commands what you do
Configuration, hooks, .env what reassures
Shell integration the one-time setup
Troubleshooting (gwt doctor) when something is wrong
For maintainers Development, Releasing — a user of the package has no use for how it gets published

The pitch

git worktree add gives you an empty directory. gwt add gives you a working one — your .env files copied, your dependencies installed, and its own colour in VS Code so you can tell your windows apart.

It positions against git own behaviour, not against another tool. Anyone who has run git worktree add recognises the disappointment; nobody gets free advertising.

What was kept

Usage still carries the warning the old order carried by accident: gwt needs the shell integration, and without it oh-my-zsh answers instead. Six lines and a link rather than a section at the door.

Every section survives — nothing dropped, only moved, with two renamed (Worktree theming → How the colours work) and a new Troubleshooting grouping.

One detail

The screenshot is referenced by absolute URL. npmjs.com renders this README too, and files does not ship docs/, so a relative path would render broken there.

The old order asked the reader to earn the pitch. Three sections in,
before a single example of `gwt add`, came twenty-six lines on oh-my-zsh
alias conflicts and PATH ordering — a wall at the entrance. The one
thing no competing tool does, per-worktree colour, sat at line 372 of
466, four fifths of the way down and with no picture.

Reordered so that what earns attention comes first, what reassures comes
next, and what troubleshoots comes last:

  - the pitch names the gap it fills, against `git worktree add` rather
    than against another tool
  - the screenshot sits under it, two windows and two colours
  - commands, then configuration, then shell integration
  - `gwt doctor` moves under Troubleshooting, where it belongs
  - Development and Releasing move to the end under 'For maintainers':
    a user of the package has no use for how it gets published

Usage keeps the warning the old order carried by accident: `gwt` needs
the shell integration, and without it oh-my-zsh answers instead. Six
lines and a link rather than a section.

The image is referenced by absolute URL. npmjs.com renders this README
too, and `files` does not ship docs/, so a relative path would render
broken there.
@liogi
liogi merged commit 7e0fb98 into main Sep 4, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant