All skills
michtio avatar

/craft-plugins

@44a2800

Index and router for plugin-specific Craft CMS 5 guidance — configuration, Twig API, PHP API, migrations, deployment, and pitfalls for the plugins this pack documents. Triggers whenever a task names one of these plugins in ANY context (build, configure, style, render, query, import, migrate, deploy, cache, debug): Formie (forms, submissions, File Upload, form in a migration, notifications, translations), SEOmatic (meta, sitemaps, JSON-LD, SEO field), Blitz (static/page caching, purge), Feed Me (XML/JSON/CSV import), Imager-X (transforms, srcset, quick syntax, named transforms, Power Pack, pppicture, ppimg), ImageOptimize (OptimizedImages), CKEditor (rich text, nested entries), Sprig (reactive, htmx), Element API (JSON endpoints), Retour (redirects, 404s), Navigation (nav menus), Hyper (link field), Colour Swatches, Password Policy (HIBP), Typogrify, Cache Igniter, Knock Knock (staging password), Elements Panel (N+1 debug), Sherlock (security scan), Amazon SES (SES/SNS bounce), Embedded Assets (oEmbed), Timeloop (recurring dates), Vite (craft.vite.*, asset bundling), Warp (passwordless login, magic link, one-time code/OTP, passkeys, WebAuthn, craft.warp, member sessions). Also load for passwordless or magic-link auth with NO plugin named. Always load when a task names one of these plugins — read references/<plugin>.md first. Do NOT trigger for Craft core with no plugin named (craftcms), template architecture (craft-site), or content modeling (craft-content-modeling).

Use this Skill: https://skilld.dev/gh/michtio/craftcms-claude-skills/craft-plugins

This session only. Nothing lands on disk.

referencescache-igniter.md

≈724 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Cache Igniter

Edge cache warming by putyourlightson. Keeps CDN caches warm globally after Blitz refreshes pages. Warms from multiple geographic locations so the first visitor from any region gets a fast HIT, not a cold MISS. Blitz's companion plugin.

putyourlightson/craft-cache-igniter — $99

Documentation

Common Pitfalls

  • Using Cache Igniter without Blitz — it's designed as a Blitz companion. Without Blitz generating static pages, there's nothing to warm.
  • Warming all pages on large sites — CDN warming is an HTTP request per page per location. On a 10,000-page site with 5 locations, that's 50,000 requests per refresh. Limit to important pages.
  • Not setting refreshDelay — when editors save multiple entries in quick succession, each save triggers a Blitz refresh. The delay batches them so warming runs once, not per-save.
  • Expecting instant warming — warming is queued and runs asynchronously. There's a brief window after refresh where some edge locations are cold.

Config File

// config/cache-igniter.php
return [
    // Warmer driver — GlobalPing warms from multiple locations
    'warmerType' => 'putyourlightson\cacheigniter\drivers\warmers\GlobalPingWarmer',
    'warmerSettings' => [
        'locations' => [
            'US West',
            'US East',
            'UK',
            'Germany',
            'Australia',
        ],
    ],

    // Delay warming after Blitz refresh (seconds) — batches rapid edits
    'refreshDelay' => 30,

    // Only warm important pages (reduces API calls)
    'includedUriPatterns' => [
        ['siteId' => '', 'uriPattern' => '^$'],           // Homepage
        ['siteId' => '', 'uriPattern' => 'services/.*'],   // Services
        ['siteId' => '', 'uriPattern' => 'about'],          // About
    ],

    // Exclude pages from warming
    'excludedUriPatterns' => [
        ['siteId' => '', 'uriPattern' => 'account/.*'],
    ],
];

How It Works

  1. Content editor saves an entry
  2. Blitz refreshes the affected cached pages
  3. Cache Igniter detects the refresh (after refreshDelay)
  4. Sends HTTP requests to warmed pages from each configured location
  5. CDN edge nodes cache the fresh response — visitors get HITs

Warmer Drivers

Driver Description
GlobalPingWarmer Warms from multiple geographic locations via GlobalPing
HttpWarmer Simple HTTP requests from the server (single location)

GlobalPingWarmer is the primary value — without it, only the origin server's closest edge node is warm.

Pair With

  • Blitz — required. Cache Igniter hooks into Blitz's refresh events.
  • Cloudflare — Cache Igniter + Blitz Cloudflare purger ensures edge cache is purged then immediately re-warmed.

Source: SKILL.md on GitHub

No alerts16d3 checks · Risk SAFE
  • Gen Agent Trust Hub16d

    The 'craft-plugins' skill is a technical reference and router for Craft CMS 5 plugins. It provides guidance on configuration, Twig and PHP APIs, and best practices for popular extensions in the Craft ecosystem. The skill consists of documentation files that describe legitimate plugin behaviors and does not contain any malicious code, obfuscation, or security vulnerabilities.

  • Socket16d

    No alerts

  • Snyk16d

    Risk: LOW · No issues

Signed by skilld at 44a2800. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 weeks ago.

Activeupdated last month

README badge

README badge for michtio/craftcms-claude-skills/craft-plugins