{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "wheresryan22-anatomy--generate-react-component-for-docs-site",
 "repo": "wheresryan22/anatomy",
 "repo_url": "https://github.com/wheresryan22/anatomy",
 "repo_slug": "wheresryan22-anatomy",
 "title": "Generate a React component of a figure for a docs site",
 "page_title": "How to generate a React component of a figure for a docs site with Anatomy",
 "summary": "Create a React or Next.js component version of an explainer figure for a documentation site.",
 "who": "A developer maintaining a Next.js documentation site who wants a figure built as a component.",
 "problem": "Pasting an HTML file into a component-based docs site breaks the page structure and styling.",
 "outcome": "A React component and a static HTML preview of the same figure, ready to import into a docs project.",
 "steps": [
  "Run `npx skills add wheresryan22/anatomy` to install the skill into the current project.",
  "Run `/anatomy` and 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.png` on the HTML preview to check the look."
 ],
 "agent_prompt": "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.",
 "agents": [
  "claude-code",
  "codex"
 ],
 "difficulty": "Intermediate",
 "time": "45 minutes",
 "basis": "readme",
 "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.",
 "category": "Content",
 "tags": [
  "Content"
 ],
 "lang": "javascript",
 "requirements": [
  "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"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.7,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/wheresryan22-anatomy/generate-react-component-for-docs-site/",
 "md": "https://dedupedai.com/use-cases/wheresryan22-anatomy/generate-react-component-for-docs-site/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/wheresryan22-anatomy--generate-react-component-for-docs-site.json",
 "api_version": "v1"
}
