Who it is forA developer maintaining a Next.js documentation site who wants a figure built as a component.
The problemPasting an HTML file into a component-based docs site breaks the page structure and styling.
The outcomeA React component and a static HTML preview of the same figure, ready to import into a docs project.
What you need first
- Node.js (the README says version 1.7.1 of the skills CLI asks for 22.20 or later)
- Claude Code, Codex, or another supported agent with the skill installed
- Headless Chrome, which the skill uses to check its own figures
- No API keys and no npm install are needed, since the kit uses only Node's built-in modules
Steps
- Run
npx skills add wheresryan22/anatomyto install the skill into the current project. - Run
/anatomyand ask for a React component plus a static HTML preview for your docs site. - Place the generated component in your Next.js project and import it into the page.
- Run
node scripts/capture.mjs page.html --out shots/page.pngon the HTML preview to check the look.
Prompt for your agent
Using the skill in wheresryan22/anatomy, create a React component of <concept> for a Next.js docs page, with a static HTML preview. Expected output: one component file and one HTML preview. Verify that the component imports cleanly into your existing project before committing it.
Caveat. The README lists React and Next.js components as an output, but it does not describe how they plug into a specific docs framework, so test the import in your own project.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for wheresryan22/anatomy and "Generate a React component of a figure for a docs site"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer