/flavian:figma-to-fse-autonomous-workflowfrom Flavian
Converts Figma designs into WordPress FSE block themes, extracting design tokens to theme.json and generating pixel-perfect templates autonomously.
Ships in Flavian. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
This skill orchestrates the complete autonomous conversion of Figma designs into WordPress Full Site Editing (FSE) block themes. It bridges Figma design systems with WordPress theme.json, enabling single-prompt conversion of 1-15 templates without "should I continue?" interruptions.
Core Innovation: Hybrid approach with brief clarification phase (1-2 min) followed by fully autonomous execution using superpowers:executing-plans.
Key Principle: Design system FIRST → theme.json foundation SECOND → templates THIRD → verification FOURTH. Extract ALL design tokens wholesale before generating any templates.
Use this skill when:
Trigger phrases:
When NOT to use:
Before starting, verify:
.mcp.json has figma-desktop or figma server)themes/ directory)Critical: If Figma MCP not accessible, STOP and inform user before proceeding.
This project uses ROOT-LEVEL folders for theme development:
project-root/
└── themes/[theme-name]/ ← ALL theme files go HERE (NOT wp-content/themes/)
PRE-FLIGHT VALIDATION (Run BEFORE any file writes):
Before creating or modifying ANY theme files, verify:
themes/ directory exists at project rootwp-content/themes/ (NEVER use this path)Auto-validation: the registered PreToolUse hook .claude/hooks/validate-theme-location.sh blocks incorrect paths (a copy also lives at scripts/figma-fse/validate-theme-location.sh).
Why root-level?
wp-content/ separatelyDeployment Note: During testing, files are copied from themes/ to WordPress wp-content/themes/. See TESTING-GUIDE.md for deployment procedures.
CRITICAL: When Figma design system is unavailable, incomplete, or cannot be extracted, use these professional fallback defaults. This ensures the workflow NEVER blocks on missing design systems.
All colors are WCAG AA compliant with appropriate contrast ratios:
const FALLBACK_COLORS = {
// Primary palette (Professional blue-gray)
"primary": "#34495e", // Main brand color
"primary-dark": "#293a4b", // Darker variant
"primary-darker": "#141d25", // Darkest variant
"primary-light": "#707f8e", // Lighter variant
"primary-lightest": "#eaecee", // Lightest variant
// Accent palette (Teal)
"accent": "#16a085", // Accent color
"accent-dark": "#11806a", // Darker accent
"accent-darker": "#084035", // Darkest accent
"accent-lightest": "#e7f5f2", // Lightest accent
// Neutrals
"white": "#ffffff", // Pure white
"black": "#0c0c0c", // Near black (softer than pure black)
"background": "#fdfdfd", // Off-white background
"gray": "#5e6060" // Mid-tone gray
};
Font families:
"Inter", "system-ui", "-apple-system", "BlinkMacSystemFont", "Segoe UI", "Roboto", "sans-serif""Questrial", "Georgia", "serif"Font sizes (9-point scale):
const FALLBACK_FONT_SIZES = [
{ slug: "small", size: "14px", name: "Small" }, // Body small
{ slug: "base", size: "16px", name: "Base" }, // Body text
{ slug: "medium", size: "18px", name: "Medium" }, // Large body
{ slug: "large", size: "20px", name: "Large" }, // Subheading
{ slug: "x-large", size: "24px", name: "Extra Large" }, // H4
{ slug: "2x-large", size: "32px", name: "2X Large" }, // H3
{ slug: "3x-large", size: "40px", name: "3X Large" }, // H2
{ slug: "4x-large", size: "56px", name: "4X Large" }, // H1
{ slug: "5x-large", size: "72px", name: "5X Large" } // Hero heading
];
Based on 4px base unit:
const FALLBACK_SPACING = [
{ slug: "20", size: "4px", name: "1" }, // xs: 4px
{ slug: "30", size: "8px", name: "2" }, // sm: 8px
{ slug: "40", size: "16px", name: "3" }, // base: 16px
{ slug: "50", size: "24px", name: "4" }, // md: 24px
{ slug: "60", size: "32px", name: "5" }, // lg: 32px
{ slug: "70", size: "40px", name: "6" }, // xl: 40px
{ slug: "80", size: "48px", name: "7" }, // 2xl: 48px
{ slug: "90", size: "64px", name: "8" }, // 3xl: 64px
{ slug: "100", size: "80px", name: "9" }, // 4xl: 80px
{ slug: "110", size: "112px", name: "10" } // 5xl: 112px
];
const FALLBACK_LAYOUT = {
contentSize: "768px", // Standard content width
wideSize: "1280px" // Wide content width
};
Use fallback tokens when:
get_variable_defs returns empty or incomplete resultsMerge strategy (when partial design system exists):
Example merge:
// Figma has 5 colors, fallback has 13
// Result: 5 Figma colors + 8 additional fallback colors = 13 total
Step 1.1: Create theme.json Foundation FIRST
⚠️ CRITICAL: Create theme.json IMMEDIATELY, before any template discovery. This step NEVER blocks the workflow.
Auto-detection workflow:
async function createThemeJsonFoundation(figmaFileKey, themeName) {
console.log("Step 1.1: Creating theme.json foundation...");
// 1. Attempt auto-detection of design system (non-blocking)
const designSystem = await autoDetectDesignSystem(figmaFileKey);
let tokens;
if (designSystem) {
// Design system found - extract tokens
console.log(`✓ Found design system: ${designSystem.name}`);
try {
tokens = await extractFigmaTokens(designSystem.nodeId);
console.log(`✓ Extracted ${tokens.colors.length} colors, ${tokens.fontSizes.length} font sizes`);
} catch (error) {
console.log(`⚠️ Extraction failed, using fallback tokens`);
tokens = FALLBACK_DESIGN_TOKENS;
}
} else {
// No design system - use fallback defaults
console.log("ℹ️ No design system found, using professional fallback tokens");
tokens = FALLBACK_DESIGN_TOKENS;
}
// 2. Merge Figma tokens with fallbacks (Figma takes precedence)
const mergedTokens = mergeFigmaWithDefaults(tokens, FALLBACK_DESIGN_TOKENS);
// 3. Generate theme.json immediately
const themeJson = generateThemeJson(mergedTokens, themeName);
// 4. Write to file (root-level themes/ folder)
await writeFile(`themes/${themeName}/theme.json`, themeJson);
console.log(`✓ theme.json created at themes/${themeName}/theme.json`);
return { themeJson, tokens: mergedTokens };
}
Auto-detection logic (searches common names):
get_variable_defsMerge strategy:
Result: theme.json exists with complete design system BEFORE template work begins.
NEVER ask user "where is your design system?" - auto-detection or fallbacks handle this.
Step 1.2: Survey Templates to Convert
Use Figma MCP get_image or get_code to:
Step 1.3: Create Component Mapping Plan
Map Figma components → WordPress blocks using this reference:
| Figma Component | WordPress Block | Implementation Notes |
|---|---|---|
| Hero sections | Cover block | Full-width background with overlay |
| Card grids | Columns + Group | Responsive column layouts |
| Navigation bars | Navigation block | Header/footer menus |
| Contact forms | Form block | Use core Form block |
| CTA sections | Buttons + Group | Call-to-action with buttons |
| Testimonials | Quote + Group | Customer quotes with attribution |
| Image galleries | Gallery block | Grid or masonry layouts |
| Text sections | Paragraph + Heading | Content blocks |
| Accordions | Details block | Collapsible content |
| Spacers | Spacer block | Vertical spacing (use theme.json tokens) |
Step 1.4: Generate Implementation Plan
Use superpowers:writing-plans to create detailed plan:
Plan structure:
1. ✅ theme.json already created (Phase 1.1)
2. Create theme directory structure (style.css, templates/, parts/)
3. For each template (1-N):
- Extract component structure from Figma
- Generate FSE template HTML using WordPress blocks
- Apply theme.json tokens exclusively (NO hardcoded values)
- Add responsive layouts
- Add accessibility attributes
4. Create supporting block patterns (optional)
5. Run automated verification
6. Generate comparison report
Note: theme.json is already complete from Step 1.1, so plan focuses on templates and structure.
Step 1.5: Present Plan to User
Show:
Critical: Once user approves, use superpowers:executing-plans to execute the plan WITHOUT any "should I continue?" prompts.
Step 2.1: Trigger Autonomous Execution
User: "Yes, proceed"
→ Invoke: Skill(superpowers:executing-plans)
→ Pass: Implementation plan from Phase 1
→ Mode: Autonomous (no checkpoint prompts)
Step 2.2: Verify theme.json Foundation
✅ theme.json already created in Phase 1.1 - verify it exists:
themes/<theme-name>/theme.jsonStep 2.3: Create Theme Structure
themes/<theme-name>/
├── style.css # Theme header
├── theme.json # Design system (from Phase 1)
├── templates/
│ ├── index.html # Fallback (required)
│ └── [other templates as identified]
├── parts/
│ ├── header.html
│ └── footer.html
└── patterns/ # Generated patterns
Step 2.3.5: MANDATORY Asset Identification & Semantic Mapping
⚠️ CRITICAL: After downloading Figma assets (images with hash filenames), you MUST view every image file to identify what it depicts BEFORE any template or pattern generation begins. Subagents cannot guess image content from hash filenames.
Procedure:
View every downloaded image using the Read tool (which renders images visually):
For each PNG/JPG in themes/{theme-name}/assets/images/:
Read the file → describe what it shows
For each SVG in themes/{theme-name}/assets/images/:
Read the file → identify what icon/logo it is
Create semantic mapping file at .claude/figma-data/asset-semantic-mapping.json:
{
"images": {
"abc123def456.png": {
"description": "Group photo of lodge members in regalia with flags",
"semantic_name": "hero-group-photo",
"suggested_usage": ["hero section", "about page header"]
},
"789xyz000111.png": {
"description": "Masonic square and compass symbol on black background",
"semantic_name": "masonic-symbol",
"suggested_usage": ["what-is-masonry section", "decorative"]
}
},
"icons": {
"aaa111bbb222.svg": {
"description": "Facebook social media icon",
"semantic_name": "icon-facebook"
}
}
}
Provide the semantic mapping to ALL subagents implementing templates/patterns. Include the full mapping in every subagent prompt so they reference images by verified content, not guessed associations.
Why this is mandatory:
1dc507e8bed...png) reveal nothing about image contentNEVER skip this step. NEVER let subagents guess image assignments.
Step 2.4: Convert Templates (Autonomous Loop for 6-15 Templates) + Phase 3 Attribute Validation
Phase 2 + 3 Multi-Template Processing:
Initialize template queue with priority ordering:
Priority 1: Template parts (header, footer) - Required by other templates
Priority 2: index.html - Required fallback
Priority 3: Main templates (front-page, page, single, archive, etc.)
Priority 4: Special templates (404, search, etc.)
Progress Tracking: the state file
Progress lives in .claude/pipeline/{theme-name}/state.json, local to the checkout (.claude/* is gitignored). Create it when Phase 2 starts and rewrite the whole file at every phase boundary and after every template. The SessionStart hook reads it to report a run in flight, and the Resumption Procedure reads it instead of re-running discovery. TodoWrite is not offered on current models and is not used.
{
"pipeline": "figma-to-fse",
"theme": "acme",
"source": { "type": "figma", "url": "https://www.figma.com/design/...", "fileKey": "..." },
"startedAt": "2026-11-02T10:00:00Z",
"updatedAt": "2026-11-02T10:42:00Z",
"phase": "2.4",
"phases": {
"1": { "name": "discovery", "status": "done" },
"2": { "name": "conversion", "status": "running" },
"3": { "name": "completion", "status": "pending" }
},
"designSystem": { "themeJson": "themes/acme/theme.json", "colors": ["primary"], "fontSizes": ["base"], "spacing": ["40"] },
"templates": [
{ "name": "header.html", "kind": "part", "priority": 1, "status": "done", "attempts": 1, "figmaNodeId": "1:2", "issues": [] },
{ "name": "front-page.html", "kind": "template", "priority": 3, "status": "pending", "attempts": 0, "figmaNodeId": "1:9", "issues": [] }
],
"errors": [ { "template": "index.html", "error": "get_code failed", "resolution": "get_screenshot fallback" } ]
}
status is one of pending, running, done, needs-review, failed. kind is part, template or pattern. phase uses this skill's step numbers (1, 2.4, 3) and becomes done when Phase 3 completes. Set updatedAt from date -u +%Y-%m-%dT%H:%M:%SZ.
Running Step 2.4 as a workflow: with three or more templates, run the per-template loop through the fse-template-lanes workflow (.claude/workflows/fse-template-lanes.js): call the Workflow tool by name with args = { theme, source: "figma", converter: "figma-fse-converter", templates: [{ name, kind, priority, figmaNodeId }], maxAttempts: 3, stateFile: ".claude/pipeline/{theme-name}/state.json" }. Each template runs in its own lane (convert → validate → bounded fix loop), priority groups run in order so parts exist before the templates that reference them, and the workflow writes the templates section of the state file. When workflows are unavailable, run the loop below sequentially.
For EACH template in queue (template X of N):
Pre-Processing:
running in .claude/pipeline/{theme-name}/state.json and rewrite the fileExtract Structure with Error Recovery:
Try:
structure = get_code(template_node_id)
Log: "✓ Structure extracted via get_code"
Catch annotation error:
Log: "⚠ get_code failed (annotations detected), falling back to image analysis"
image = get_image(template_node_id)
structure = analyze_image_for_blocks(image)
Log: "✓ Structure extracted via visual analysis"
Catch connection error:
Log: "❌ Figma MCP connection failed"
Try remote MCP fallback
If both fail: STOP (blocker)
Continue: (don't stop for non-blocker errors)
Extract Figma Component Attributes (Phase 3):
For each component in template:
a. Extract design properties from Figma:
- Layout: padding, margin, gap, width, height
- Typography: font-size, font-weight, line-height, letter-spacing
- Visual: border-radius, border-width, opacity, box-shadow
- Colors: fill, stroke, background (exact hex values)
b. Match to theme.json tokens:
- Exact match (padding: 24px → spacing-50: 24px): Use token slug
- Close match (padding: 26px → spacing-50: 24px): Use closest token, log 2px discrepancy
- No match:
- If used 3+ times: Add new token to theme.json
- If used 1-2 times: Use inline style
c. Track comparison data:
- Component name
- Property name
- Figma value
- Template value (token or inline)
- Match type (exact/close/new token/inline)
- Recommendation (if mismatch)
Generate FSE Template:
<!-- wp:block-name {"attributes"} -->content<!-- /wp:block-name --><!-- wp:template-part {"slug":"header"} /-->Implement Responsiveness:
Add Accessibility:
Save Attribute Comparison Data (Phase 3):
Create `.claude/figma-data/` directory if not exists
Save per-template data to `.claude/figma-data/{template-name}-attributes.json`:
{
"template_name": "front-page.html",
"total_attributes_checked": 45,
"matched_attributes": 42,
"mismatches": [
{
"component": "Hero Button",
"property": "padding",
"figma_value": "24px",
"template_value": "16px (spacing-40)",
"recommendation": "Use spacing-50: 24px or add spacing-45: 24px"
}
],
"exact_matches": 40,
"close_matches_used": 2,
"new_tokens_added": 0
}
Aggregate into `.claude/figma-data/attribute-comparison.json` (all templates)
This data will be read by generate-comparison-report.sh
Validate & Hook Execution:
.claude/hooks/figma-fse-post-template.sh (if exists)Update Progress (the state file is the only progress record):
status to done (or needs-review when validation left issues), record attempts and issues, append any error to errors[].claude/pipeline/{theme-name}/state.json with a fresh updatedAtNothing else to checkpoint:
Continue to Next Template (NO prompt to user)
Step 2.5: Create Block Patterns
Identify repetitive sections that can become patterns:
Register patterns in patterns/ directory.
Step 2.6: Run Verification
Automated checks:
./scripts/wordpress/security-scan.sh themes/<theme-name>./scripts/wordpress/check-coding-standards.sh themes/<theme-name>./scripts/wordpress/check-performance.sh themes/<theme-name>If failures occur: Log them but complete remaining templates.
Step 2.7: MANDATORY Visual Verification Loop
⚠️ CRITICAL: After all templates and patterns are generated, you MUST render the actual site in a browser and compare screenshots against the Figma designs. Code review alone is NOT sufficient - it cannot catch wrong images, broken layouts, or visual regressions.
Procedure:
Start local WordPress environment:
./wordpress-local.sh start
# Install WP-CLI if needed
docker-compose exec wordpress bash -c "curl -sO https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar && chmod +x wp-cli.phar && mv wp-cli.phar /usr/local/bin/wp"
# Install WordPress if needed
docker-compose exec wordpress wp core install --url="http://localhost:8080" --title="Site" --admin_user=admin --admin_password=admin [email protected] --allow-root
# Activate theme
docker-compose exec wordpress wp theme activate {theme-name} --allow-root
# Create pages with correct slugs and template assignments
# Set front page, set permalinks
For EACH page template, run the verification loop:
For each page (home, about, contact, etc.):
a. Navigate browser to page URL (mcp__playwright__browser_navigate)
b. Take full-page screenshot (mcp__playwright__browser_take_screenshot fullPage=true)
c. Get Figma screenshot of same page (figma MCP: get_screenshot)
d. View both screenshots side-by-side (Read tool on screenshot file)
e. Compare section-by-section:
- Are the correct images in the correct sections?
- Do layouts match (columns, grids, alignment)?
- Are colors/backgrounds correct?
- Is typography rendering properly?
- Are full-bleed sections actually full-bleed?
f. Log differences found
g. Fix any issues directly in the template/pattern files
h. Reload and re-verify until the page matches
Minimum verification checklist per page:
Create verification report at .claude/reports/visual-verification.md:
# Visual Verification Report
## Page: Home (front-page.html)
- Screenshot: [path]
- Figma match: 95%
- Issues found: 2
- Hero image was lodge seal instead of group photo → FIXED
- CTA image not full-bleed → FIXED
- Final status: PASS
## Page: About (page-about.html)
...
Iteration rules:
Why this is mandatory:
NEVER skip visual verification. NEVER declare the theme complete based on code review alone.
Step 2.8: Generate Comparison Report
Create .claude/reports/figma-fse-comparison.md:
Step 3.1: Present Results
✅ Conversion complete!
Your FSE theme is ready at: themes/<theme-name>/
Summary:
- X templates created
- 0 hardcoded values (100% theme.json tokens)
- Fully responsive (mobile/tablet/desktop)
- Accessibility attributes included
- Quality checks: [pass/fail summary]
Next steps:
1. Review theme in WordPress admin
2. Test templates with real content
3. Adjust spacing/colors in theme.json as needed
See detailed report: .claude/reports/figma-fse-comparison.md
NO "should I continue?" during Phase 2-3. Work autonomously until complete or blocked.
Purpose: Extract design tokens from Figma design system
Usage:
When: Phase 1.2 - Design system extraction
Input: Design system page/frame node ID
Output: JSON of all variables (colors, typography, spacing)
Critical: Extract COMPLETE system wholesale, not selectively.
Purpose: Visual reference and fallback when get_code fails
Usage:
When:
- Phase 1.4 - Template survey
- Phase 2.4 - Fallback when get_code fails
- Phase 3 - Screenshot comparison
Input: Template/component node ID
Output: PNG screenshot
Purpose: Extract component structure markup
Usage:
When: Phase 2.4 - Template conversion
Input: Template/component node ID
Output: HTML/CSS structure
Known issue: Fails if Figma annotations present
Workaround: Fallback to get_image analysis
Error Recovery Pattern:
Try:
result = get_code(node_id)
Catch error:
Log: "get_code failed for {node_id}, using visual analysis"
image = get_image(node_id)
Analyze image → generate blocks
Continue: (don't stop execution)
Purpose: Link Figma components to existing code components
Usage:
When: Phase 1.5 - If theme has existing component library
Input: Figma file key
Output: Mapping of Figma nodes to code paths
Optional - only if integrating with existing theme.
Pattern: Log errors, try alternatives, NEVER stop to ask user.
If: Connection to Figma MCP fails
Then:
- Try both desktop (port 3845) and remote (mcp.figma.com)
- Log error to .claude/reports/errors.log
- If both fail: STOP and inform user (blocker)
If: get_code returns error
Then:
- Log: "Annotations detected, using image analysis"
- Fallback: get_image + visual interpretation
- Continue: Generate template from visual analysis
If: Template needs token not in theme.json
Then:
- Add missing token to theme.json
- Use sensible default value
- Log: "Added missing token: {name}"
- Continue: Template generation
If: Figma component doesn't map cleanly to WordPress block
Then:
- Use simpler block structure (Group + Paragraph/Heading)
- Log: "Complex component simplified: {name}"
- Continue: Template generation
If: Security/coding standards check fails
Then:
- Log failures to report
- Continue with remaining templates
- Report issues at end (don't stop mid-execution)
Only stop execution if:
Problem: 6-15 templates can exhaust the context window.
Solution: the state file (.claude/pipeline/{theme-name}/state.json, see Progress Tracking). It is rewritten after every template, so a session can stop at any point and a fresh one continues without re-discovery. There is no separate checkpoint step and nothing is saved to episodic memory.
status, attempts, issues, updatedAt (Step 2.4.9).phase and phases[...].status.errors[] with the resolution tried, then continue with the next template.designSystem, so resumption never re-extracts it.Step 1: Detect. On "continue converting my Figma templates", or when the SessionStart hook reports a run in flight, read .claude/pipeline/{theme-name}/state.json (list .claude/pipeline/ when the theme name is unknown).
Step 2: Report.
Claude: "I found a run from {updatedAt}:
- Completed: {done} of {total} templates ({names})
- Remaining: {names}
Resuming autonomous conversion from {next template}..."
Step 3: Resume. Jump to the Step 2.4 loop at the first template whose status is not done. A template left running starts over.
Step 4: NO re-discovery. Do NOT re-extract the design system (use designSystem), do NOT re-survey templates (use templates), do NOT ask for plan approval again. With no state file, start at Phase 1.
theme.json and the state file.errors[] (template, error, resolution) and rewrite the file.Checks the agent runs during/after conversion. The project-level hooks in .claude/settings.json run on their own (the root-level layout guard on every Write/Edit, the token and size guards on git commit), and the figma-fse-converter agent's frontmatter runs the validators under scripts/ after each write. The two scripts below are run by the agent through Bash:
File: .claude/hooks/figma-fse-post-template.sh
The agent runs this after each template creation (if present):
File: .claude/hooks/figma-fse-completion.sh
The agent runs this when all templates complete (if present):
Layout Blocks:
<!-- wp:group --> - Container for grouped content<!-- wp:columns --> - Multi-column layouts<!-- wp:column --> - Single column within columns<!-- wp:spacer --> - Vertical spacing<!-- wp:separator --> - Horizontal ruleContent Blocks:
<!-- wp:heading --> - Headings (h1-h6)<!-- wp:paragraph --> - Body text<!-- wp:image --> - Images<!-- wp:gallery --> - Image galleries<!-- wp:quote --> - Blockquotes<!-- wp:list --> - Ordered/unordered listsInteractive Blocks:
<!-- wp:button --> - Buttons<!-- wp:buttons --> - Button groups<!-- wp:navigation --> - Menus<!-- wp:search --> - Search formMedia Blocks:
<!-- wp:cover --> - Background images with overlay<!-- wp:video --> - Video embeds<!-- wp:audio --> - Audio players<!-- wp:group {
"backgroundColor": "primary",
"textColor": "white",
"style": {
"spacing": {
"padding": {
"top": "var(--wp--preset--spacing--50)",
"bottom": "var(--wp--preset--spacing--50)"
}
}
}
} -->
Use tokens, not values:
"backgroundColor": "primary" (slug from theme.json)"backgroundColor": "#0066CC" (hardcoded hex)"padding": "var(--wp--preset--spacing--50)" (token)"padding": "32px" (hardcoded size)NEVER do these (zero tolerance):
1dc507e8...png reveal NOTHING about content0.5. ❌ Skip visual verification (Step 2.7)
❌ Skip design system extraction
❌ Hardcode design values
❌ Ask "should I continue?" during autonomous phase
❌ Selectively extract design tokens
❌ Skip error recovery
❌ Generate invalid block syntax
❌ Skip accessibility
❌ Ignore responsive design
Rationalization:
Reality:
Correct: Extract ENTIRE design system wholesale, every single token.
Rationalization:
Reality:
Correct: Continue autonomously through ALL templates without prompting.
Rationalization:
Reality:
Correct: Use theme.json token exclusively OR add exact color to theme.json.
Rationalization:
Reality:
Correct: Log error, use get_image analysis, continue.
Rationalization:
Reality:
Correct: Use simpler block structure, log note, continue.
Delegates to:
fse-block-theme-development - For theme.json and template syntaxblock-pattern-creation - For pattern registrationwordpress-security-hardening - For security validationsuperpowers:executing-plans - For autonomous execution.claude/workflows/fse-template-lanes.js - Per-template lanes for Step 2.4 (Workflow tool, see Progress Tracking)Triggered by:
Do NOT duplicate:
Phase 1 Complete When:
Phase 2 Complete When:
Phase 3 Complete When:
User: "Turn all Figma designs into FSE templates"
[provides Figma URL]
Claude: "I'm using the figma-to-fse-autonomous-workflow skill."
Phase 1: Discovery
"First, where is your design system in the Figma file?
(Common locations: 'Design System' page, 'Styles' page)"
User: "It's on the 'Design System' page"
Claude: [Extracts complete design system with get_variable_defs]
[Translates to theme.json]
[Surveys templates with get_image]
[Creates component mapping]
[Generates implementation plan]
"✅ Design system extracted:
- 12 colors
- 8 font sizes
- 9 spacing tokens
Found 8 templates to convert:
- Homepage
- About
- Services
- Contact
- Blog
- Single Post
- Archive
- 404
I'll create a complete FSE theme with pixel-perfect
templates using theme.json tokens exclusively.
Proceed with autonomous conversion?"
User: "Yes"
Claude: [Invokes superpowers:executing-plans]
[45 minutes of uninterrupted work]
"✅ Conversion complete!
Your FSE theme is ready at: themes/my-theme/
- 8 templates created
- 0 hardcoded values (100% theme.json tokens)
- Fully responsive
- Accessibility included
- Quality checks passed
See: .claude/reports/figma-fse-comparison.md"
For User:
For Claude:
Status: Phase 3 implementation complete (attribute-level validation, token matching, comparison reporting) Version: 3.0.0 Last Updated: 2026-01-21 Supports: 1-15 templates with autonomous checkpointing every 3 templates + attribute validation
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
figma, wordpress-fse, design-tokens, theme-json, template-generation
16 skills in this plugin
/block-pattern-creationUse when creating WordPress block patterns, registering patterns, organizing pattern categories, or building reusable UI components with blocks. Keywords: block patterns, register_block_pattern, pattern category, InnerBlocks, WordPress patterns, reusable blocks/canva-to-fse-autonomous-workflowUse when converting Canva HTML/CSS exports to WordPress FSE block themes. Orchestrates autonomous workflow from CSS token extraction through template generation. Keywords: Canva to WordPress, FSE conversion, HTML export, CSS design tokens, autonomous template generation/create-blog-articleCreate an SEO-optimized blog article for a Claude Code component with AI-generated cover imagenpx claudepluginhub pmdevsolutions/flavian --plugin flavianOther plugins' skills for the same job