Skip to content

Docs redesign — week 3 persona quickstarts#631

Closed
kiryl-xyz wants to merge 2 commits into
feat/ia-cutoverfrom
feat/persona-quickstarts
Closed

Docs redesign — week 3 persona quickstarts#631
kiryl-xyz wants to merge 2 commits into
feat/ia-cutoverfrom
feat/persona-quickstarts

Conversation

@kiryl-xyz
Copy link
Copy Markdown
Contributor

Stacked on #630#629#628. Week 3 of the redesign plan: the 5 persona quickstarts called out in PRD §WS-4.

Quickstarts

Each follows the PRD's 7-section template (Outcome, Prerequisites, Install, Run-it, Expected output, Troubleshooting, 3 Next-step cards) and is meant to be <5 minutes from sign-up to first working call.

Persona What it does Uses
Trader Send tx via Sender + optimal priority fee Sender, Priority Fee API
Wallet SOL + SPL + NFT + history snapshot Wallet API, DAS, RPC
Indexer Subscribe to Jupiter txs via gRPC LaserStream
DeFi Watch Pump AMM swaps with parsed swap events Enhanced WSS, Enhanced Tx
NFT Fetch portfolio with metadata DAS getAssetsByOwner

Seed projects

Each quickstart has a matching runnable Node project under `examples/quickstarts//` with `package.json`, `src/index.ts`, `README.md`, `.env.example`, and `tsconfig.json`. Following the existing `examples/gtfa-historical-token-accounts/` convention (ESM, tsx, dotenv).

StackBlitz embed URL pattern: `github.com/helius-labs/docs/tree/main/examples/quickstarts/?file=src/index.ts`. Each quickstart page links to the corresponding StackBlitz.

Persona picker landing

The old root `quickstart.mdx` was a single NFT-portfolio walkthrough. Rewritten as a 5-card picker with a "not sure which one?" decision table and links to the section choosers (chain-state, streaming, sending-transactions). The original NFT content moved to its persona-specific home at `/quickstart/nft`.

Nav

New "Quickstart by persona" sub-group under Get Started.

Validation

  • 366 EN pages, 338 in nav (up from 333 with 5 new quickstarts + the persona picker).
  • `mint validate` parses every new file cleanly. The 13 pre-existing warnings (zh OpenAPI schema + 2 missing-file warnings) are unchanged from main.
  • Vale lint: zero banned words across the 5 quickstarts and 5 seed projects.
  • `audit:check` passes.

Notes for review

  • Committed with `--no-verify` per the redesign-branch workflow.
  • The 5 quickstart `.mdx` files use the same shape on purpose — readers switching between personas don't need to re-learn the structure.
  • StackBlitz seed projects are tested locally for parse-correctness; full end-to-end testing (the PRD's "n=3 external testers per persona" acceptance criterion) is the next step after merge.
  • `snippets/get-api-key.mdx` and `snippets/install-helius-sdk.mdx` were drafted then dropped — Mintlify's MDX snippet imports require a React export, and inlining the 3-line API-key step is simpler than the JSX-export ceremony.

🤖 Generated with Claude Code

kiryl-xyz and others added 2 commits May 6, 2026 14:35
5 persona quickstarts under /quickstart/ matching PRD §WS-4. Each is <5
minutes from sign-up to working call, with a copy-pasteable Node project
mirrored to examples/quickstarts/<persona>/ for StackBlitz embedding.

Quickstarts (each follows the PRD's 7-section template: Outcome,
Prerequisites, Install, Run-it, Expected output, Troubleshooting,
Next steps with 3 cards)

| Persona  | What it does                                              |
|----------|-----------------------------------------------------------|
| trader   | Send tx via Sender + Priority Fee API                     |
| wallet   | SOL + SPL + NFT + history snapshot via Wallet API + DAS   |
| indexer  | Subscribe to Jupiter txs via LaserStream gRPC             |
| defi     | Watch Pump AMM swaps via Enhanced WSS + Enhanced Tx parse |
| nft      | Fetch portfolio with metadata via DAS getAssetsByOwner    |

Seed projects under examples/quickstarts/<persona>/

Each is a self-contained Node project: package.json, src/index.ts,
README.md, .env.example, tsconfig.json. Following the existing
examples/gtfa-historical-token-accounts/ convention (ESM, tsx, dotenv).
StackBlitz embed URL pattern: github.com/helius-labs/docs/tree/main/
examples/quickstarts/<persona>?file=src/index.ts.

Persona picker landing

quickstart.mdx (root) rewritten as a 5-card persona picker. The
NFT-portfolio interactive demo that was the entire body of the page
moved to /quickstart/nft (its persona-specific home). The picker
includes a "not sure which one?" decision table and links to the three
section-level choosers (chain-state, streaming, sending-transactions)
for users beyond the 5-minute path.

Nav

Added a "Quickstart by persona" sub-group under Get Started. /quickstart
sits as the picker landing; the 5 persona pages nest below.

Audit
- 366 EN pages, 338 in nav (up from 333). 5 new quickstarts + 1 picker
  rewrite folded in.
- audit.csv prefilled for all 6 new/rewritten rows with diataxis_type,
  action, and persona_override.

Validation
- mint validate parses every new file cleanly.
- Vale lint: zero banned words across the 5 quickstarts and 5 seed
  projects.
- The 13 pre-existing mint validate warnings (zh/openapi schema issues +
  2 missing-file warnings) are unchanged from main and unrelated to
  this PR.

Notes
- snippets/get-api-key.mdx and snippets/install-helius-sdk.mdx were
  drafted then dropped — Mintlify's MDX snippet imports require a React
  export, and inlining the 3-line API key step in each quickstart is
  simpler. snippets/quickstart.mdx (the existing interactive NFT React
  component) is now unreferenced but kept for potential reuse.
- quickstart/nft.mdx links to /api-reference/das/getassetsbyowner and
  similar; those are existing pages.
- All seed projects use TypeScript via tsx + ESM, matching the existing
  examples/ convention.

Plan: ~/.claude/plans/users-kiryl-downloads-prd-plan-to-imple-cozy-badger.md

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
The 5 persona quickstart pages and the picker landing all linked to
StackBlitz URLs (stackblitz.com/github/helius-labs/docs/...). Removing
those for now — never validated they actually bootstrap correctly,
and the helius-laserstream gRPC client in the indexer quickstart is
the riskiest in WebContainer environments.

The seed projects under examples/quickstarts/ stay — readers can clone
the repo and run locally. Each quickstart page now links to the
GitHub tree URL (github.com/helius-labs/docs/tree/main/examples/
quickstarts/<persona>) instead.

Picker landing's lede also adjusted: \"copy-pasteable Node project and
an 'Open in StackBlitz' link\" → \"copy-pasteable Node project you can
also clone from examples/quickstarts/\".

Re-test once the seed projects are validated end-to-end (PRD §WS-4
acceptance: n=3 external testers per persona) before re-introducing
sandbox embeds.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@kiryl-xyz kiryl-xyz force-pushed the feat/persona-quickstarts branch from fbca09c to 1c1c863 Compare May 6, 2026 18:51
@kiryl-xyz kiryl-xyz closed this May 6, 2026
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