# Sst

> Steps to add a new component to the SST docs. Use when this capability is needed.

- Skill: `tomevault-io/sst` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/sst`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/sst/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Web & Frontend
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/sst

---

# Document Component

Steps to add a new component to the SST docs.

1. Register in docs generator
   - Add the component `.ts` path to `entryPoints` in `www/generate.ts`

2. Add matching public getters
   - Ensure every property returned by `getSSTLink()` has a corresponding public getter on the class
   - The generator crashes otherwise because `renderLinks()` looks for a getter with the same name

3. Analyze docs for relevant places to link the component
   - Search existing guides (e.g. `cloudflare.mdx`) and component overviews for lists of related components
   - Add the new component link where appropriate

4. Add to Astro sidebar
   - Add the generated doc slug to the appropriate section in `www/astro.config.mjs`
   - Follow the existing visual ordering: components are sorted from shortest to longest name (least to most characters)

5. Generate docs
   - Run `bun run docs:generate`

---
> Source: [anomalyco/sst](https://github.com/anomalyco/sst) — distributed by [TomeVault](https://tomevault.io).
<!-- tomevault:4.0:skill_md:2026-06-17 -->

