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.
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-componentRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/notum-cz/strapi-next-monorepo-starter /tmp/strapi-next-monorepo-starter && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/strapi-next-monorepo-starter/.claude/skills/copy-component ~/.gemini/antigravity-cli/skills/copy-componentAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
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
ANo 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 →Aligns a Qwen Code feature with a Codex or Claude Code reference agent. It runs both under the same scenario, captures HTTP and terminal traces, and compares them until behavior matches.
Searches, views, creates, updates, and deletes the user's Google Contacts from an AI assistant. It is for people who want to manage their address book through conversation. A one-time Google connect is required before it returns data.
Guides an AI assistant on error handling choices. It covers when to use Result, Option, ? propagation, unwrap, expect and panic, plus anyhow and thiserror.
Caveman is an agent skill that makes an AI assistant reply in a terse style. It cuts filler and keeps technical facts, code, commands and errors exact. It is built for users who want shorter, cheaper replies.
docs-sync audits or updates English SDK documentation against the requested implementation scope. It is for maintainers who want docs to match main branch features, configuration options, and defaults.
Guides an AI assistant through setting up and running monorepos with pnpm workspaces, Turborepo and Nx. Aimed at developers who need faster builds, shared code and managed dependencies across multiple packages.
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.
