.claude/skills/template-cloning/SKILL.md
Clone and customize existing templates (landing pages, dashboards, admin panels) with style extraction, config-driven content, and theme customization
npx skillsauth add awannaphasch2016/jousef-landing template-cloningInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Focus: Clone & customize approach for building UI from existing templates
Source: Landing page implementation (2026-01-14) using Shadcn template with jousefmurad.com style
Use template-cloning when:
DO NOT use for:
Clone & Customize > Build From Scratch
Starting from working code is faster than building from zero. The skill is knowing WHAT to customize and HOW to extract design tokens from reference sites.
Need UI?
├── Standard pattern (landing, dashboard)?
│ ├── Reference design available?
│ │ └── YES → Use this skill (template-cloning)
│ └── NO reference → Build from scratch or use generic template
└── Custom/unique pattern?
└── Build from scratch (no template advantage)
1. RESEARCH → Find templates matching tech stack
2. ANALYZE → Extract design tokens from reference site
3. CLONE → Clone template, strip placeholder content
4. CONFIGURE → Create centralized content config
5. THEME → Apply extracted design tokens (colors, fonts)
6. CUSTOMIZE → Update components to use config
7. VERIFY → Build + visual check
See WORKFLOW.md for detailed steps.
.claude/skills/template-cloning/
├── SKILL.md # This file - overview and decision tree
├── WORKFLOW.md # Step-by-step workflow
├── STYLE-EXTRACTION.md # How to extract design tokens from reference sites
└── CONFIG-PATTERN.md # Config-driven content pattern
All editable content in single file:
// src/config/content.ts
export const siteConfig = {
name: "Company Name",
tagline: "Your value proposition",
cta: { text: "Get Started", href: "/signup" }
};
export const services = [...];
export const testimonials = [...];
export const faqItems = [...];
Benefits:
See CONFIG-PATTERN.md for full pattern.
Extract exact values from reference sites:
Tools: Browser DevTools, Playwright scripts
See STYLE-EXTRACTION.md for methods.
Apply extracted tokens via CSS variables:
:root {
--background: 0 0% 5.5%; /* Near black */
--foreground: 38 25% 90%; /* Off-white */
--primary: 38 35% 75%; /* Gold accent */
}
Pattern: HSL values enable easy theming with opacity modifiers.
Before completing template clone:
Problem: Some components still have placeholder content Solution: Grep for "Lorem", "example", placeholder URLs
Problem: Fonts declared in CSS but not imported Solution: Verify font files load in Network tab
Problem: Content scattered across components Solution: Centralize ALL editable content in config file
Problem: Customizations break mobile layout Solution: Test at 320px, 768px, 1024px, 1440px widths
landing-page/ directory (2026-01-14 implementation)tools
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.
testing
Write comprehensive tests following project conventions (tiers, patterns, anti-patterns). Use when writing tests, improving test coverage, fixing failing tests, or reviewing test quality.
development
Create high-converting B2B landing pages using psychological section sequencing. Use when building landing pages for services, agencies, consultants, or B2B products. Provides 14-section framework optimized for conversion psychology.
development
Systematic investigation and root cause analysis. Use when debugging persistent issues, understanding complex systems, or before making architectural decisions.