building-react-quill-canvases — Claude Code skill for React canvases
building-react-quill-canvases — a Claude Code skill for building PostHog canvases with React and Quill. It activates when building-canvases routes a dashboard, form, or tool request to a React implementation.
no license 148 installs ★ 101 updated 2026-10-24
npx skills add PostHog/ai-plugin --skill building-react-quill-canvases -a claude-codeWhat building-react-quill-canvases does
The skill defines the React component contract for a PostHog canvas: a single TSX file exporting a prop-free component for the host to mount. It lays out permitted imports, Quill composition, theme tokens, loading skeletons, and an in-canvas date picker. Canvas data comes from @posthog/canvas-sdk through the ph object.
It also covers cards with editable() parameters, tables nested in cards, and Recharts styling. Direct network requests require exact HTTPS origins in capabilities.network.origins; the edit-mode preview blocks those requests even when an origin is declared. The skill applies after building-canvases routes the request to React.
What it helps with
- build a PostHog dashboard as one React component
- compose tables and controls with Quill components
- style charts to follow the active theme
- add loading states and an in-canvas date picker
Example prompts for the agent
- Build a PostHog dashboard in React with a chart and a table.
- Create a form for a PostHog canvas using Quill components.
- Add a date picker and loading states to the canvas cards.
How to install building-react-quill-canvases
1Skills CLI (Vercel)
npx skills add PostHog/ai-plugin --skill building-react-quill-canvases -a claude-code2Manually: put the files in place
~/.claude/skills/building-react-quill-canvases/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/building-react-quill-canvases/
1Skills CLI (Vercel)
npx skills add PostHog/ai-plugin --skill building-react-quill-canvases -a codex2Manually: put the files in place
.agents/skills/building-react-quill-canvases/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add PostHog/ai-plugin --skill building-react-quill-canvases -a cursor2Manually: put the files in place
.cursor/skills/building-react-quill-canvases/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install PostHog/ai-plugin skills/building-react-quill-canvases2Manually: put the files in place
.github/skills/building-react-quill-canvases/SKILL.md1Skills CLI (Vercel)
npx skills add PostHog/ai-plugin --skill building-react-quill-canvases -a gemini-cli2Platform CLI
gemini skills install https://github.com/PostHog/ai-plugin --path skills/building-react-quill-canvasesManually: put the files in place
.devin/skills/building-react-quill-canvases/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add PostHog/ai-plugin --skill building-react-quill-canvases -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about building-react-quill-canvases
How do I install building-react-quill-canvases in Claude Code?
Run npx skills add PostHog/ai-plugin --skill building-react-quill-canvases -a claude-code. The skill file is at ~/.claude/skills/building-react-quill-canvases/SKILL.md.
What does building-react-quill-canvases do?
It defines how to implement PostHog canvases in React, including the component structure, permitted imports, Quill usage, and theme-aware styling.
Which interface elements should use Quill?
Use @posthog/quill for data-board controls and components such as tables, buttons, fields, and cards. Plain div elements are allowed for layout, along with Recharts elements.