Skip to main content

registry

Add or change simple-ai registry items. Dual generate (GitHub + hosted /r), generate:check, mocked gallery and chat-page, ui/_registry.ts + examples, block folders. Load before editing packages/registry or apps/docs/public/r.

Datos de origen

Repositorio
Alwurts/simple-ai
Última actividad en el origen
14 de septiembre de 2026 a las 22:38
Idioma detectado de SKILL.md
inglés
Estrellas
759
Forks
84

Opciones de instalación

De forma predeterminada está seleccionado el prompt que primero revisa el origen. Puedes cambiar a un comando directo o descargar una copia local.

Revisa los archivos de origen

Lee SKILL.md y los archivos complementarios que muestra SkillsMP antes de decidir si quieres instalarlo.

Mostrando SKILL.md

SKILL.md
Instrucciones de origen · Vista previa de solo lectura
name
registry
description
Add or change simple-ai registry items. Dual generate (GitHub + hosted /r), generate:check, mocked gallery and chat-page, ui/_registry.ts + examples, block folders. Load before editing packages/registry or apps/docs/public/r.
# Registry ## Generate After changing anything under `packages/registry/registry/`: ```bash pnpm --filter @workspace/registry generate pnpm --filter @workspace/registry generate:check ``` Commit all of: `registry.json`, `packages/registry/src/generated.ts`, `apps/docs/public/r`. Do not hand-edit those outputs. `generate:check` diffs all three and parses items with `registryItemSchema` from `shadcn/schema`. ## Item source - **UI** — one file in `packages/registry/registry/ui/<name>.tsx` and a row in `ui/_registry.ts`. `item.files[].path` is relative to `ui/`. - **Demos** — `packages/registry/registry/examples/<name>-demo.tsx`. Docs only. Point at them with `preview` (extensionless path under `registry/`). Do not add demos to `registry.json`. - **Blocks** — `packages/registry/registry/blocks/<name>/` with `item.ts`. `item.files[].path` is relative to that directory. `preview` is the extensionless file inside the block folder. If the item has `docs` or `envVars`, keep them aligned with `apps/docs/content/docs/installation.mdx`. ## Catalog `apps/docs/content/docs/components/meta.json` is the public list. Items not on that list can still exist as registry internals (`shell`, `reasoning` for `chat-page`). Do not add docs pages for internals just because the item exists. ## Gallery stays mocked `chat-page` and the blocks gallery use the scripted mock. Do not point the docs site at a live `/api/chat`. A consumer app can switch `chat-transport.ts` after add; that is outside this repo's gallery. ## Checks before a PR ```bash pnpm --filter @workspace/registry generate pnpm --filter @workspace/registry generate:check pnpm typecheck pnpm lint:check ```
Ver en GitHub