Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

copy-component

Skill by notum-cz

Replicates a page-builder section from a text description, screenshot, or HTML or code snippet as a Strapi and React component. It reuses an existing section when one fits. Built for developers working in this page-builder codebase.

  • Score 73
  • 320 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install copy-component

Built from the published package, never by AI.

git clone --depth 1 https://github.com/notum-cz/strapi-next-monorepo-starter /tmp/strapi-next-monorepo-starter && mkdir -p ~/.claude/skills && cp -r /tmp/strapi-next-monorepo-starter/.claude/skills/copy-component ~/.claude/skills/copy-component

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install copy-component in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

copy-component is an agent skill that turns a reference into a full Strapi and React page-builder section for this codebase. The reference can be a text description, a screenshot, or an HTML or code snippet. The skill derives a field spec and layout intent from that input, then hands scaffolding to the create-content-component skill.

Before building, it runs find-component to check for an existing section that fits and reuses it when possible. It maps elements to existing utilities such as links, images and accordions, and it applies the codebase's conventions for typography, rich text, accessibility and translations. It finishes with type generation, a TypeScript check and lint. Complex animations, form submission logic and inline SVGs are left for manual follow-up. It is aimed at developers building page-builder sections in this repository.

Written from the project's SKILL.md and checked against it.

What it can do

  • Reuse checkRuns find-component first and reuses or extends an existing section when it fits.
  • Field spec from inputDerives fields and layout from a text description, screenshot, or HTML or code snippet.
  • ScaffoldingDelegates schema, dynamic zone, React skeleton, types and mock to create-content-component.
  • Implementation to match the referenceUses Typography, rich text, link and image utilities, and design tokens to match the source.
  • VerificationRuns type generation, a TypeScript check and lint after the component is built.
  • Optional seedingCan run seed-content to populate a demo entry for the new section.

What you need

  • Strapi
  • React
  • pnpm

Try asking

  • Recreate this hero section from this screenshot as a page-builder component.
  • Port this HTML pricing block into a Strapi page-builder component.
  • Make a component like this FAQ section with accordion items.

Good to know

  • Complex animations, form submission logic and inline SVGs are not handled.
  • shadcn components are installed only with user approval.
  • Component schemas take no pluginOptions.i18n and localize through the parent page.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .claude/skills/copy-component/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md5 KB

Alternatives to copy-component

All alternatives →

Compare with agent-reproduce-align, google_contacts or m06-error-handling

copy-component: common questions

Does copy-component always build a new section?

No. It runs find-component first and reuses an existing section when one fits. It builds new only when there is no fit.

What inputs can it work from?

A text description, a screenshot or image, or an HTML or code snippet such as JSX. It derives the field spec from whichever input is given.

Does it handle animations or form logic?

No. Complex animations, form submission logic and inline SVGs are extracted structurally where possible and reported for manual follow-up.

How do I install copy-component?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is copy-component free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is copy-component safe to use?

It scores 73 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to copy-component?

Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.

copy-component Install

Add to stack

Loading.