fse-pattern-first-architecture

Official

Enforce pattern-first FSE architecture.

AuthorPMDevSolutions
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Enforces a pattern-first architecture for WordPress FSE themes, ensuring images are served via PHP patterns rather than inline HTML and preventing PHP code from executing inside .html templates.

Core Features & Use Cases

  • Pattern-first structure with PHP pattern files under patterns and templates that reference them
  • Images wired through reusable PHP patterns rather than inline HTML, improving security and maintainability
  • Auto-triggered when creating FSE templates with images to enforce best practices automatically

Quick Start

Run the validation script to enforce the pattern-first architecture on your FSE theme.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: fse-pattern-first-architecture
Download link: https://github.com/PMDevSolutions/Flavian/archive/main.zip#fse-pattern-first-architecture

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.