classic-theme-structure

Installation
SKILL.md

Classic Theme Structure

Use this when creating or reviewing a classic PHP WordPress theme. This skill deliberately avoids FSE/block-theme architecture: no templates/*.html as the primary rendering layer, no Site Editor assumptions, and no Gutenberg/block development workflow.

The target is a secure, maintainable classic theme for WP 7.1.

When to Use This Skill

  • Scaffolding a new classic theme.
  • Converting static HTML/CSS into a WordPress theme.
  • Reviewing a theme folder for bad structure, missing hooks, direct asset tags, or business logic in functions.php.
  • The work mentions style.css, index.php, functions.php, header.php, footer.php, template-parts, after_setup_theme, wp_enqueue_scripts, or classic theme files.

Runtime Minimum vs Practical Minimum

WordPress recognizes a classic theme with:

  • style.css in the theme root, with a valid theme header.
  • index.php in the theme root, as the final template fallback.
Installs
1
GitHub Stars
22
First Seen
1 day ago
classic-theme-structure — lonsdale201/wp-agent-skills