classic-theme-assets-build

Installation
SKILL.md

Classic Theme Assets and Build Output

Use this when adding or reviewing CSS, JavaScript, fonts, images, build artifacts, cache busting, or conditional frontend assets in a classic PHP theme.

This skill is for the frontend theme layer. Admin, editor, and block-specific asset loading are separate concerns.

When to Use This Skill

  • Adding assets/css/*.css, assets/js/*.js, build output, or a bundler manifest.
  • Replacing hardcoded <link> or <script> tags in header.php or footer.php.
  • Adding conditional CSS/JS for navigation, comments, templates, sliders, galleries, maps, or page-specific UI.
  • Reviewing cache busting, defer/async, RTL styles, inline data, or asset paths in a classic theme.

Hook and Path Rules

Frontend theme assets load on wp_enqueue_scripts.

add_action( 'wp_enqueue_scripts', 'mytheme_enqueue_assets' );
Installs
1
GitHub Stars
22
First Seen
1 day ago
classic-theme-assets-build — lonsdale201/wp-agent-skills