cloning-protocol
Skill2 starsChanged 5 months agoMITView on GitHub
Systematic website cloning and re-branding protocol. Use when the user says "clone this site", "re-skin this", "brand swap", "make this website for [X]", or asks to customise logo, copy, pricing, reviews, trusted brands, or colour scheme on a cloned template. Walks through six phases, collects all assets and copy from the user, then implements every change.
- Installs packages
In this repository19 other files it gives its agents.
- .agents/AGENTS.mdAGENTS.md
- architecture-decision-recordsSkill
- biblioteca-de-promptsSkill
- continuous-learning-v2Skill
- converting-to-gohighlevelSkill
- docker-patternsSkill
- e2e-testingSkill
- fastapi-patternsSkill
- git-workflowSkill
- nextjs-turbopackSkill
- postgres-patternsSkill
- qa-pre-flightSkill
- react-patternsSkill
- react-performanceSkill
- security-reviewSkill
- security-scanSkill
- ultimate-debuggerSkill
- verification-loopSkill
- vite-patternsSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
22 rules. About 0 are common, 11 are distinctive, and 11 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈11
Distinctive · estimate
This author's own choices. Worth a look.
11
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 76
Run through each phase in order.
- Distinctive: line 86
Ask the user for the following:
- Distinctive: line 145
If the user provides partial copy, confirm what should stay as-is and what they want you to generate.
- Distinctive: line 147
IMPORTANT: When implementing multi-styled headlines:
- Very specific: line 373
Update stopColor values in the gradient definition.
- Very specific: line 383
For 3-color gradients: Use from-[primary] via-[lighter] to-[primary] for consistent look
- Very specific: line 394
If npm install fails → check Node.js version (node -v, needs ≥ 18).
- Distinctive: line 395
If colors look wrong after replacement:
- Very specific: line 396
Run grep_search for hex codes with mixed case (#bff549 vs #BFF549)
- Very specific: line 397
Check for rgba variants: grep_search "rgba(191,245,73"
- Very specific: line 399
Look for gradient definitions: from-[#old], via-[#old], to-[#old]
- Very specific: line 400
Check SVG gradient definitions: <stop ...
- Very specific: line 401
Verify shadow colors in hover states: hover:shadow-[0_0_40px_rgba(old,0.5)]
- Distinctive: line 402
If gradients don't appear:
- Distinctive: line 403
Ensure ALL color stops in gradient are updated (from, via, to)
- Very specific: line 404
Check that bg-clip-text text-transparent is present for text gradients
- Very specific: line 406
If logo images don't load → verify paths are relative to /public/ and referenced from root (/logo.svg).
- Distinctive: line 407
If some elements still show old colors:
- Distinctive: line 408
Use the component-specific audit checklist in Step 2
- Very specific: line 410
Check UI components in subdirectories (components/ui/*)
- Distinctive: line 411
If the user provides only some of the six elements → implement what's provided, leave the rest as template defaults, and note which items …
- Distinctive: line 412
If TypeScript errors appear after changes → these are often just type hint issues and won't prevent the site from running in dev mode.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
O que e isto (PT-BR)
Cloning Protocol e uma skill (instrucao tecnica para o agente de IA) que pega um template de site ja clonado e o re-marca de forma sistematica para um novo cliente, trocando seis elementos centrais: Logo, Copy (textos), Trusted Brands (marcas de confianca), Pricing (precos), Reviews (depoimentos) e Colour Scheme (esquema de cores).
Quando usar: depois de clonar um repositorio de landing/site e querer transforma-lo no seu (ou no do seu cliente) — trocando marca, cores, textos e provas sociais — sem quebrar a estrutura tecnica.
Como usar no AntiGravity (ou em qualquer IA com acesso ao repo):
- Salve este arquivo na pasta de skills do projeto (ex.:
.agent/skills/ou onde o agente le skills) ou cole o conteudo no chat como contexto.- Peca: "Use o cloning-protocol para re-marcar este template para a marca X."
- O agente vai rodar as 6 fases de coleta (Fase 0 a 6), confirmar tudo com voce e so entao implementar — comecando pelas cores (
replace_all), depois logo, copy, marcas, precos e depoimentos, e fechando com auditoria (grepdos hex antigos).O placeholder VOLTFLOW e as cores (
#BFF549,#02040a, etc.) sao genericos: servem como "o que substituir". Troque-os pelos valores reais do seu projeto.O texto tecnico abaixo esta em ingles de proposito (e instrucao operacional para o agente).
Cloning Protocol
Purpose: Take a cloned website template and systematically re-brand it for a new client by swapping six core elements: Logo · Copy · Trusted Brands · Pricing · Reviews · Colour Scheme.
When to Use This Skill
- The user says "clone this website for [brand]"
- The user says "re-skin / rebrand / customise this template"
- The user references any of the six changeable elements below
- A repo has just been cloned and the user wants to make it their own
Template Component Map
The cloned template is a Vite + React + TypeScript project. Below is a precise map of which files control which brandable element. Always verify paths by running list_dir first — the repo structure may have been reorganised.
| # | Element | Primary Files | What to Change |
| 1 | Logo | components/Navbar.tsx, components/Footer.tsx, index.html (<title>) | Logo icon/image, brand name text (VOLTFLOW), favicon, <title> tag |
| 2 | Copy | components/Hero.tsx, components/Features.tsx, components/Footer.tsx, components/CardScannerSection.tsx, components/AuditTool.tsx, index.html | Headlines (multi-styled with gradients), sub-headlines, body paragraphs, CTA button labels, meta descriptions, badge text, section titles |
| 3 | Trusted Brands | components/SocialProof.tsx | Brand name strings in the brands array — replace with real client logos/names |
| 4 | Pricing | components/Pricing.tsx | Plan names, prices, feature lists, CTA labels, highlighted plan |
| 5 | Reviews | components/Testimonials.tsx | Reviewer names, roles, testimonial quotes, avatar images, ratings |
| 6 | Colour Scheme | ALL components + components/ui/* + index.html <style> block | Primary accent (#BFF549), gradient mid-points, background (#02040a), muted text (#99A1AF), button glows, shadow rgba values, volumetric effects, icon fills, border colors, selection color, scrollbar colors — requires component-by-component audit |
Additional Components to Check:
components/CardScannerSection.tsx- headline gradients, section copycomponents/AuditTool.tsx- comprehensive color usage (backgrounds, buttons, text, badges, circles, icons), headline styling, CTA labelscomponents/StickyCTA.tsx- floating CTA button colors and textcomponents/ui/gradient-menu.tsx- any UI component colorscomponents/ui/gradient-menu-inline.tsx- any UI component colors
Workflow
Run through each phase in order. Do NOT skip ahead or begin implementing until all six phases of information gathering are complete.
Phase 0 — Discovery
- Confirm the repo is cloned and identify the workspace root.
- Run the site locally (
npm install && npm run dev) so changes can be previewed. - Ask the user: "What is the brand / company name for this new site?"
Phase 1 — Logo
Ask the user for the following:
- Brand name (text that replaces "VOLTFLOW" everywhere)
- Logo image file — request in these dimensions:
- Navbar icon: 40 × 40 px (PNG or SVG, transparent background)
- Footer icon: 32 × 32 px (PNG or SVG, transparent background)
- Favicon: 32 × 32 px (ICO or PNG)
- If the user does not have a logo image, offer to use a Lucide icon from the existing library and ask which icon they prefer.
- Confirm whether the icon background colour should match the new accent colour.
Implementation targets:
components/Navbar.tsx → logo icon + "VOLTFLOW" text
components/Footer.tsx → logo icon + "VOLTFLOW" text
index.html → <title> tag + favicon linkPhase 2 — Copy Changes
Ask the user for the following:
Hero Section (components/Hero.tsx):
- Hero headline - May be multi-line with different styling per line
- Main text (e.g., "WE BUILD GORGEOUS WEBSITES" or "TYPING IS DEAD")
- Gradient/styled portions (identify which words get gradient treatment)
- Accent portions (identify which words get accent color)
- Hero sub-headline / tagline (replaces "Elevating digital presence…")
- Hero badge text (replaces "Performance Optimized" or "TRUSTED BY 200+ BRANDS")
- Primary CTA label (replaces "Start Your Project")
- Secondary CTA label (replaces "View Our Work")
Navigation (components/Navbar.tsx):
- Navbar CTA label (replaces "Book Strategy")
- Navigation link labels (if customizing menu items)
Sections with Gradient Headlines:
- CardScannerSection headline (e.g., "Stop Burning Cash on" + gradient text "Bad Websites")
- Plain text portion
- Gradient text portion (note which part gets gradient styling)
- AuditTool section headline (e.g., "FREE AI CONVERSION CRITIQUE")
- Identify which words get special styling (outline, gradient, accent color)
- Sub-text below headline
Other Sections:
- Features section headline (replaces "SCIENTIFIC PRECISION.")
- Features section sub-text
- Features card titles & descriptions (there are 3 main cards + 3 bottom row items)
- Pricing section headline (replaces "INVEST IN ROI")
- Pricing section sub-text (e.g., "Clear, transparent pricing…")
- Testimonials section headline
- Footer tagline (replaces "We help elite businesses dominate…")
- Footer copyright text
- Footer column titles & links (3 columns: Expertise, Agency, Support)
- Page
<title>and meta description inindex.html
Button Labels Throughout:
- Review ALL button labels across components (CTAs, form submits, etc.)
- Check for: "Analyze Now", "Start Project", "View Work", "Get Started"
If the user provides partial copy, confirm what should stay as-is and what they want you to generate.
IMPORTANT: When implementing multi-styled headlines:
- Preserve the HTML structure (line breaks, spans)
- Apply gradients via:
className="bg-gradient-to-r from-[...] via-[...] to-[...] bg-clip-text text-transparent" - Apply accent colors directly:
className="text-[#7C3AED]" - Apply stroke/outline effects:
className="text-transparent [-webkit-text-stroke:1px_white]"
Phase 3 — Trusted Brands Logos
Ask the user for the following:
- List of brand names to display in the marquee (replaces the placeholder brand names)
- Brand logo images (optional) — request in these dimensions:
- Marquee logos: height 48–64 px, width proportional, SVG preferred (PNG with transparent background also acceptable)
- If the user supplies logo images, the implementation will swap from text-based marquee to
<img>tags. - If the user supplies only names, keep the current text-based animated marquee.
- Confirm the label above the marquee (currently "Trusted by industry leaders").
Implementation target:
components/SocialProof.tsx → brands array / logo images + label textPhase 4 — Pricing
Ask the user for the following:
- Number of pricing tiers (currently 3: Starter, Growth, Enterprise)
- For each tier, collect:
- Plan name
- Subtitle / tagline
- Price (with currency symbol)
- Feature bullet points (list of strings)
- Whether this tier is the "highlighted / recommended" plan
- CTA button label format (currently "Choose {plan.name}")
- Pricing section headline (if different from copy already provided in Phase 2)
- Pricing section sub-text (currently "Clear, transparent pricing. No hidden fees. Just results.")
Implementation target:
components/Pricing.tsx → pricingPlans array + section heading + CTA labelsPhase 5 — Reviews / Testimonials
Ask the user for the following:
- Number of testimonials (currently 4)
- For each testimonial, collect:
- Reviewer full name
- Reviewer role / title & company
- Testimonial quote text
- Star rating (1–5)
- Avatar image — request in these dimensions:
- 100 × 100 px (PNG or JPG, square, ideally circular crop)
- If the user does not have avatar images, offer to keep the randomised placeholder avatars or use
generate_imageto create stylised ones.
Implementation target:
components/Testimonials.tsx → testimonials arrayPhase 6 — Colour Scheme
Ask the user for the following:
- Primary accent colour (replaces
#BFF549— the lime green used for CTAs, highlights, stars, badges) - Background colour (replaces
#02040a— the near-black base) - Muted text colour (replaces
#99A1AF— used for secondary / descriptive text) - Secondary accent (optional — replaces the blue/purple accents in Features cards)
- Gradient colors (if using purple:
#7C3AEDbase,#A855F7mid-point for gradients) - Selection highlight colours (text selection
::selection) - If the user provides a single brand colour, derive the full palette automatically:
- Primary accent → user colour
- Mid-tone for gradients → lighten/shift hue 15%
- Hover states → lighten 10%
- Glow/blur overlays → same hue at 5–10% opacity
- Selection → accent bg + black text
CRITICAL — Color appears in many places beyond simple backgrounds:
- Button backgrounds AND button glow effects (blur shadows)
- Text colors AND text gradients (
bg-gradient-to-r,bg-clip-text) - Icon fills, strokes, AND SVG gradient definitions
- Background orbs, glows, and volumetric effects
- Score circles, progress indicators, badges, pills
- Border colors, hover effects, and focus states
- Shadow colors in hover states (
hover:shadow-[0_0_40px_rgba(...)])
Implementation targets (comprehensive find-and-replace):
#BFF549 → new primary accent (ALL files - use replace_all: true)
#FACC15 → new gradient mid (if present - secondary yellow/gold)
#02040a → new background (ALL files + index.html <style>)
#99A1AF → new muted text (ALL files)
rgba(191,245,73,...) → new rgba (shadow/glow effects)
index.html → ::selection, scrollbar, body backgroundImplementation Protocol
Once all six phases of information have been collected and confirmed:
Step 1 — Backup Verification
- Confirm the repo has git history so changes are recoverable (
git status).
Step 2 — Colour Scheme (do this FIRST)
- IMPORTANT: Use
replace_all: truein Edit tool for efficient color replacement - Perform a global find-and-replace across all files for each color token:
- Replace
#BFF549(or old primary) → new primary (hex uppercase) - Replace
#FACC15(if present) → new gradient mid-point - Replace
rgba(191,245,73,X)→ new rgba with same alpha - Replace
#02040a→ new background - Replace
#99A1AF→ new muted text
- Replace
- Update
index.html<style>block (body bg, selection, scrollbar). - Audit each component individually for missed colors:
components/Hero.tsx- button gradients, glow effects, orb backgroundscomponents/AuditTool.tsx- ALL accent colors throughout (volumetric bg, score circles, badges, button, text highlights, icons)components/CardScannerSection.tsx- gradient text in headlinescomponents/Pricing.tsx- highlighted plan accents, badgescomponents/Features.tsx- card accents, icon backgroundscomponents/SocialProof.tsx- badge colors, accent textcomponents/Testimonials.tsx- star colors, accent elementscomponents/Navbar.tsx- CTA button, active statescomponents/Footer.tsx- link hover states, accent elementscomponents/ui/- check ALL UI component files for color usage
- Verify no hardcoded color values were missed:
- Run
grep_searchfor old hex codes (try both cases:#BFF549and#bff549) - Search for
rgba(191,245,73or other RGB variants - Check for gradient definitions:
from-[#,via-[#,to-[#
- Run
Step 3 — Logo
- Save any uploaded logo files to
/public/directory. - Update
Navbar.tsx— swap icon component / add<img>tag, update brand name text. - Update
Footer.tsx— same as above. - Update
index.html—<title>tag, add<link rel="icon">if favicon provided.
Step 4 — Copy
- Update
Hero.tsx— headline, sub-headline, badge, CTAs. - Update
Navbar.tsx— nav links, CTA button label. - Update
Features.tsx— section title, card titles, descriptions. - Update
Pricing.tsx— section headline, sub-text (if different from pricing data). - Update
Footer.tsx— tagline, copyright, column titles/links. - Update
index.html—<title>, meta description.
Step 5 — Trusted Brands
- Update
SocialProof.tsx— replacebrandsarray with new names or<img>logos. - If using images, save to
/public/brands/and reference from component.
Step 6 — Pricing
- Update
Pricing.tsx— replacepricingPlansarray with new data.
Step 7 — Reviews
- Update
Testimonials.tsx— replacetestimonialsarray with new data. - If avatar images provided, save to
/public/avatars/and updatesrcpaths.
Step 8 — Final Verification
- Run
npm run devand visually verify in browser. - Comprehensive color audit using grep:
grep_search "#BFF549"(or old primary - try uppercase)grep_search "#bff549"(try lowercase variant)grep_search "rgba(191,245,73"(RGB variants in shadows/glows)grep_search "#FACC15"(any secondary accent colors)- Manually review the output of each search to confirm all matches are intentional
- Check for any remaining references to old brand name:
grep_search "VOLTFLOW"(or old brand name)grep_search "voltflow"(lowercase variant)
- Visual verification checklist in browser:
- All gradients render with new colors (hero button, text gradients, badges)
- Button hover glows use new color in shadow
- Background orbs/volumetric effects show new accent
- All icon colors updated (Sparkles, CheckCircle, stars, etc.)
- Score circles, progress indicators use new color
- Badge backgrounds and borders match new scheme
- Text selection highlight uses new color (select text on page to verify)
- Confirm all links, CTA buttons, and images render correctly.
- Test responsive design on mobile viewport (some gradient text may need adjustment).
- If any colors look wrong, use the component-specific audit checklist in Step 2 to find missed instances.
Asset Dimensions Summary
Provide this table to the user when requesting assets:
| Asset | Dimensions | Format | Notes |
| Navbar logo icon | 40 × 40 px | SVG or PNG (transparent) | Square, used in rounded container |
| Footer logo icon | 32 × 32 px | SVG or PNG (transparent) | Matches navbar but smaller |
| Favicon | 32 × 32 px | ICO or PNG | Browser tab icon |
| Trusted brand logos | height 48–64 px | SVG preferred | Used in scrolling marquee |
| Testimonial avatars | 100 × 100 px | PNG or JPG | Square, displayed as circle |
Gradient Handling Guide
Many modern sites use gradients instead of flat colors. Here's how to handle them:
Types of Gradients You'll Encounter
- Button gradients:
Replace ALL three color values with your new palette.bg-gradient-to-r from-[#BFF549] via-[#FACC15] to-[#BFF549] - Text gradients (using bg-clip-text):
Used for gradient headline text - update all hex values.className="bg-gradient-to-r from-[#7C3AED] via-[#A855F7] to-[#7C3AED] bg-clip-text text-transparent" - SVG gradients (for icons):
Update<svg width="0" height="0"> <defs> <linearGradient id="purple-gradient"> <stop offset="0%" style={{stopColor: '#7C3AED'}} /> <stop offset="50%" style={{stopColor: '#A855F7'}} /> <stop offset="100%" style={{stopColor: '#7C3AED'}} /> </linearGradient> </defs> </svg> <Sparkles className="fill-[url(#purple-gradient)]" />stopColorvalues in the gradient definition. - Shadow gradients (button glows):
Convert your new hex to rgba and update the shadow color.shadow-lg hover:shadow-[0_0_40px_rgba(124,58,237,0.5)]
Gradient Replacement Strategy
- For 3-color gradients: Use
from-[primary] via-[lighter] to-[primary]for consistent look - Deriving the mid-point color: Lighten primary by 15% or shift hue slightly
- Common patterns:
- Purple gradient:
#7C3AED → #A855F7 → #7C3AED - Blue gradient:
#3B82F6 → #60A5FA → #3B82F6 - Green gradient:
#10B981 → #34D399 → #10B981
- Purple gradient:
Error Handling
- If
npm installfails → check Node.js version (node -v, needs ≥ 18). - If colors look wrong after replacement:
- Run
grep_searchfor hex codes with mixed case (#bff549vs#BFF549) - Check for rgba variants:
grep_search "rgba(191,245,73" - Manually audit components listed in Step 2 - some components may have many instances
- Look for gradient definitions:
from-[#old],via-[#old],to-[#old] - Check SVG gradient definitions:
<stop ... stopColor='#old' /> - Verify shadow colors in hover states:
hover:shadow-[0_0_40px_rgba(old,0.5)]
- Run
- If gradients don't appear:
- Ensure ALL color stops in gradient are updated (from, via, to)
- Check that
bg-clip-text text-transparentis present for text gradients - For SVG gradients, verify the gradient
idmatches thefill="url(#id)"
- If logo images don't load → verify paths are relative to
/public/and referenced from root (/logo.svg). - If some elements still show old colors:
- Use the component-specific audit checklist in Step 2
- Components like
AuditTool.tsxmay have 10+ instances of the accent color - Check UI components in subdirectories (
components/ui/*)
- If the user provides only some of the six elements → implement what's provided, leave the rest as template defaults, and note which items still need customization.
- If TypeScript errors appear after changes → these are often just type hint issues and won't prevent the site from running in dev mode. Focus on visual verification in the browser.
Interaction Style
- Be systematic — work through phases 1–6 in order.
- Be specific — when asking for assets, always state the exact dimensions and preferred format.
- Be efficient — ask for all items within a phase in a single message, not one at a time.
- Be confirmatory — before implementing, summarise all collected information and get a final "go" from the user.
- Never assume — if the user hasn't provided something, ask. Don't invent brand names, pricing, or testimonials.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

