graphy-sdk-install
Installation
SKILL.md
Install the Graphy SDK
Two packages: @graphysdk/viz-engine (the graph engine — compiles a declarative spec plus data into a render-ready form, no React dependency) and @graphysdk/react-renderer (React components that paint the compiled graph to SVG). Install both.
Don't stop at "packages installed" — the goal is a bar graph rendering on the user's screen. If something blocks rendering, solve it with the troubleshooting section before moving on.
Prerequisites
- React 19 — the renderer's peer dependency is
react@^19.0.0; React 18 will not work. - Node >= 20.
- A bundler that handles CSS imports from
node_modules(Vite, Next.js, webpack +css-loaderall do) — the renderer's JavaScript imports its own stylesheet. - An npm auth token — both packages are private; installs fail with 404/403 without one.
Step 1: npm auth
Create an .npmrc in the repository root (or home directory):