From wp-agent-skills
Scaffold a WordPress Full Site Editing (FSE) theme for a personal website — including GSAP scroll animations, fluid design tokens, and a block pattern registry. Use when setting up a new WordPress site from scratch, rebuilding the theme, or when the user asks to initialise or scaffold the site theme. Activates via WP-CLI and WP REST API.
npx claudepluginhub antonysilverhand/wp-agent-skills --plugin wp-agent-skillsThis skill is limited to using the following tools:
Scaffold the full FSE theme with GSAP animation infrastructure, fluid design tokens, and block pattern registry. Run once at setup; safe to re-run (updates, doesn't overwrite content).
Acquire memory dumps from live systems/VMs and analyze with Volatility 3 for processes, networks, DLLs, injections in incident response or malware hunts.
Provides x86-64/ARM disassembly patterns, calling conventions, control flow recognition for static analysis of executables and compiled binaries.
Identifies anti-debugging checks like IsDebuggerPresent, NtQueryInformationProcess in Windows binaries; suggests bypasses via patches/hooks/scripts for malware analysis, CTFs, authorized RE.
Scaffold the full FSE theme with GSAP animation infrastructure, fluid design tokens, and block pattern registry. Run once at setup; safe to re-run (updates, doesn't overwrite content).
Design first? Before scaffolding, consider running
/theme-factoryand/frontend-designto choose a palette and aesthetic direction. See companion-skills.md for the full list of design and animation skills that pair with this package.
export WP_SITE_URL="https://yoursite.com"
export WP_USER="admin"
export WP_APP_PASSWORD="xxxx xxxx xxxx xxxx" # WP Admin → Users → Profile → Application Passwords
Ask for:
ethereal / bold-editorial / minimalist / warm-organicUse the token reference at references/design-tokens.md. Pick the palette for the chosen aesthetic and generate theme.json with:
clamp() (xs → 4xl)GSAP initialiser. Enqueued after GSAP + ScrollTrigger CDN scripts. Must:
[data-anim] and map to animations:data-anim | Effect |
|---|---|
fade-up | y:40,opacity:0 → y:0,opacity:1 |
reveal-left | x:-60,opacity:0 → x:0,opacity:1 |
reveal-right | x:60,opacity:0 → x:0,opacity:1 |
parallax | depth via data-anim-depth attr (default 0.3) |
text-split | character stagger, y:-10,opacity:0 → y:0,opacity:1 |
counter | innerText 0 → target number |
scrub: false, once: true, trigger at top 85%data-anim-delay attribute (seconds)prefers-reduced-motion: skip all animations if settheme.json tokens to CSS custom propertiesbox-sizing: border-box, margin: 0, scroll-behavior: smooth.container, .container--wide, .sr-onlyRegister the theme, enqueue GSAP from CDN, register lavon-patterns category:
function lavon_scripts() {
wp_enqueue_script('gsap', 'https://cdn.jsdelivr.net/npm/gsap@3/dist/gsap.min.js', [], null, true);
wp_enqueue_script('gsap-st', 'https://cdn.jsdelivr.net/npm/gsap@3/dist/ScrollTrigger.min.js', ['gsap'], null, true);
wp_enqueue_script('lavon-anim', get_template_directory_uri() . '/animations.js', ['gsap-st'], null, true);
wp_enqueue_style('lavon-style', get_stylesheet_uri());
}
add_action('wp_enqueue_scripts', 'lavon_scripts');
register_block_pattern_category('lavon-patterns', ['label' => 'Lavon']);
wp theme activate <theme-slug>
wp option update blogname "<name>"
wp option update blogdescription "<tagline>"
--allow-root), otherwise file permissions break."blockTemplates": true in theme.json settings, or the Site Editor won't load.prefers-reduced-motion must be checked at runtime, not at load time — the media query can change mid-session.['gsap-st'] dependency array handles this; don't inline both scripts.Report: theme slug activated, color palette (names + hex), fonts chosen, tagline set.
Suggest: "Run wp-create-pattern with hero-cinematic next."