Skip to content

docs: rework READMEs — narrated quickstart + simplified npm README#37

Merged
ilbertt merged 8 commits into
mainfrom
docs/quickstart-steps
Jul 21, 2026
Merged

docs: rework READMEs — narrated quickstart + simplified npm README#37
ilbertt merged 8 commits into
mainfrom
docs/quickstart-steps

Conversation

@ilbertt

@ilbertt ilbertt commented Jul 21, 2026

Copy link
Copy Markdown
Owner

Reworks both READMEs for approachability:

  • Root README — split the single quickstart block into four narrated steps (expose a public relation → add access policies → mount & serve → send requests), each leading with its code so attention lands on the snippet.
  • npm README (packages/apigen/pkg/README.md) — simplified to mirror the root's flow: punchy intro, the same narrated quickstart, and a far more scannable reference. Trimmed the dense query-parameter / response / schema walls (~209 lines removed) down to what an npm user needs, with pointers to the examples for the rest.

No code changes — docs only.

🤖 Generated with Claude Code

ilbertt and others added 4 commits July 21, 2026 14:02
Break the single setup block into connect / public relation / private
relation / mount steps so the access-policy and WinterTC benefits are
easier to spot.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Fold the two api.gen imports into step 1 and bring the database client
in via `import { db }` where it's used, removing the standalone
connection step.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Lead each quickstart step with its code so attention lands on the
snippet, with the prose underneath.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Rework packages/apigen/pkg/README.md to match the root README's flow —
punchy intro, narrated quickstart, scannable reference — trimming the
dense query/response/schema walls. Promote "Send requests" to a numbered
step 4 in both READMEs.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
@ilbertt ilbertt changed the title docs: split quickstart example into narrated steps docs: rework READMEs — narrated quickstart + simplified npm README Jul 21, 2026
ilbertt and others added 4 commits July 21, 2026 14:21
The quickstart snippets and their comments carry the steps on their own,
so remove the explanatory paragraphs under each. Fold the WinterTC note
into the mount-step comment. Record the "published README links must be
absolute" convention in AGENTS.md.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Match the root README's package-manager-neutral commands instead of
bun-specific ones — apigen runs on Node and Deno too.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
@ilbertt
ilbertt merged commit dbb13e8 into main Jul 21, 2026
7 checks passed
@ilbertt
ilbertt deleted the docs/quickstart-steps branch July 21, 2026 13:42
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