Sitewright

AI assistant

A conversation next to the answer, plus a Results library of saved analyses and a Tables schema browser: ask in plain words and get a chart, table, summary and query, then save, rename, pin and revisit it.

What it is for

Analytics copilots, internal data tools, reporting assistants.

Add it to a site

1 · site.json
"effects": { "templates": ["assistant-dashboard"] }
or on the command line
node ~/.claude/skills/sitewright/scripts/scaffold.mjs --config site.json --out ./my-site --templates assistant-dashboard
2 · import it
import AssistantDashboard from '@/components/fx/tpl/AssistantDashboard';

Files

  • components/fx/tpl/AssistantDashboard.tsx
  • components/fx/tpl/_txdata.tsx
  • components/fx/tpl/_tx.tsx
  • components/fx/tpl/_txui.tsx
  • components/fx/tpl/_txschema.tsx
  • components/fx/tpl/_txstore.tsx
  • components/fx/tpl/_txask.tsx
  • components/fx/tpl/_txresults.tsx
  • components/fx/tpl/_txtables.tsx
  • components/fx/tpl/_dash.tsx
  • tpl-dash.css styles
  • tpl-assistant-dashboard.css styles
  • tpl-assistant-views.css styles

About it

Original to Sitewright. MIT licensed. Demo data is fictional and deterministic. Every control on the page works, so try it before you take it.

It answers its own width rather than the screen's, so the tablet and phone buttons show the real responsive behaviour. Templates are not components: they are chosen with templates, not components.