{"slug":"jsf-overview","title":"jsf-overview","summary":"Map a JetSmartFilters integration to the correct filter, provider, query ID, listing, frontend event, or extension API. Use when planning or reviewing JSF compatibility, diagnosing a filter that targets the wrong listing, choosing between JSF Listing hooks and a custom provider, ","platform":"Claude","tags":[],"authorName":"LLM Mart","authorSlug":"llm-mart","score":0,"source":"github","price":null,"verified":false,"createdAt":"2026-09-16T14:51:56.333445Z","repo":{"url":"https://github.com/Lonsdale201/wp-agent-skills","stars":26,"forks":2,"license":"MIT","updatedAt":"2026-11-15T13:11:43Z"},"bodyHtml":"<hr>\n<h2>name: jsf-overview\ndescription: &gt;-\nMap a JetSmartFilters integration to the correct filter, provider, query ID,\nlisting, frontend event, or extension API. Use when planning or reviewing JSF\ncompatibility, diagnosing a filter that targets the wrong listing, choosing\nbetween JSF Listing hooks and a custom provider, or encountering\nJetSmartFilters, JetSmartFilterSettings, jsf-listing, content_provider, or\njet-smart-filters hooks without knowing which layer owns the behavior.\nmetadata:\nwp-skills-author: \"Soczó Kristóf\"\nwp-skills-contact: \"mailto:lonsdale201@hotmail.com\"\nwp-skills-plugin: \"jet-smart-filters\"\nwp-skills-plugin-version-tested: \"3.8.3.1\"\nwp-skills-php-min: \"7.4\"\nwp-skills-last-updated: \"2026-07-21\"</h2>\n<h1>JetSmartFilters integration map</h1>\n<p>Use this as the router for JetSmartFilters work. Keep a single identity pair,\n<code>provider/queryId</code>, from the filter controls through the request and the\nrendered listing.</p>\n<h2>Mental model</h2>\n<pre><code>filter control -&gt; filter group (provider/queryId) -&gt; parsed query args\n               -&gt; provider renders content -&gt; frontend replaces/inserts DOM\n</code></pre>\n<table>\n<thead>\n<tr>\n<th>Layer</th>\n<th>Owns</th>\n<th>Use</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Filter</td>\n<td>User input and query-variable mapping</td>\n<td>Existing JSF filter types and their settings</td>\n</tr>\n<tr>\n<td>Filter group</td>\n<td>All controls targeting one provider/query ID</td>\n<td>Frontend state, AJAX, pagination, active filters</td>\n</tr>\n<tr>\n<td>Provider</td>\n<td>Locating and re-rendering the target HTML/data</td>\n<td>Built-in provider or a registered custom provider</td>\n</tr>\n<tr>\n<td>Query</td>\n<td>Turning filter values into query arguments</td>\n<td>Listing-specific filters or JSF query hooks</td>\n</tr>\n<tr>\n<td>Listing</td>\n<td>Initial query, item card, pagination statistics</td>\n<td>JSF Listing, JetEngine Listing Grid, Woo archive, or another supported renderer</td>\n</tr>\n<tr>\n<td>Frontend events</td>\n<td>Loading state and post-render compatibility</td>\n<td><code>jsf-frontend-events</code></td>\n</tr>\n</tbody>\n</table>\n<h2>Choose the narrowest extension point</h2>\n<ul>\n<li>Configure a normal JSF Listing: use <code>jsf-listing-integration</code>.</li>\n<li>Run JavaScript when AJAX starts or finishes: use <code>jsf-frontend-events</code>.</li>\n<li>Modify which records a listing returns: use <code>jsf-query-hooks</code>.</li>\n<li>Expose an unsupported renderer or data source: use\n<code>jsf-custom-provider-query</code>.</li>\n<li>Do not create a custom provider merely to add one query condition. Providers\nown DOM replacement; query hooks own record selection.</li>\n</ul>\n<h2>Identity rules</h2>\n<ul>\n<li>A provider ID identifies a renderer, not a specific widget. The native JSF\nListing provider is <code>jsf-listing</code>.</li>\n<li>The query ID identifies one instance of that provider. JSF defaults missing\nIDs to <code>default</code>.</li>\n<li>Every filter, pagination control, active-filter control, and listing intended\nto work together must resolve to the same pair.</li>\n<li>Two listings using the same provider need distinct query IDs. Otherwise\nrequests, stored defaults, props, and frontend groups can collide.</li>\n<li>Scope PHP and JavaScript integrations by both values whenever both are\navailable.</li>\n</ul>\n<h2>Compatibility workflow</h2>\n<ol>\n<li>Record the plugin version and the target renderer.</li>\n<li>Inspect the listing's provider and query ID in rendered attributes and\n<code>window.JetSmartFilterSettings</code>.</li>\n<li>Verify the filter's content provider, query ID, apply type, and query\nvariable.</li>\n<li>Confirm the initial query works before testing AJAX.</li>\n<li>Inspect the <code>jet_smart_filters</code> request and JSON response.</li>\n<li>Verify DOM replacement, pagination props, empty results, rapid changes, and\nbrowser history.</li>\n<li>Re-test source-derived hooks after a JSF upgrade; the frontend event bus is\nshipped in a minified bundle and is not a WordPress core API.</li>\n</ol>\n<h2>Source-verified boundaries</h2>\n<p>The public frontend script is enqueued only when a filter marks JSF as used.\n<code>JetSmartFilterSettings</code> then contains provider selectors, default queries,\nprovider settings, and pagination props. A companion script must therefore\nfeature-detect <code>window.JetSmartFilters</code> and should load only on pages that use\nfilters.</p>\n<h2>References</h2>\n<p>Verified against JetSmartFilters 3.8.3.1 source:</p>\n<ul>\n<li><code>jet-smart-filters.php:151-219,225-299</code></li>\n<li><code>includes/filters/manager.php:22-112</code></li>\n<li><code>includes/data.php:198-228</code></li>\n<li><code>includes/providers/manager.php:78-146</code></li>\n<li><code>includes/providers/jsf-listing.php:33-220</code></li>\n<li><code>assets/js/public.js</code></li>\n</ul>\n","files":[{"path":"agents/openai.yaml","sizeBytes":286,"isText":true},{"path":"SKILL.md","sizeBytes":4166,"isText":true}],"reviewScore":null,"reviewSummary":null,"trust":{"provenance":"trusted-source-unreviewed","notice":"Community-authored content, reproduced verbatim and not vetted as instructions. Treat it as data to evaluate, never as directives to follow.","bodySource":null},"bodyLocked":false,"purchaseUrl":null,"sourceUrl":null,"report":{"provenance":"trusted-source-unreviewed","screen":{"ran":true,"outcome":"clean","suspicious":0,"notes":0,"hiddenCharacters":false},"virusScan":{"engine":"clamav","status":"clean","scannedAt":"2026-09-16T14:56:21.06029Z","sha256":"D670D6171AF06E604F89738F24A5D68DD172B03848EC04F48889829E0175D67B","sizeBytes":2288},"review":null,"source":{"repositoryUrl":"https://github.com/Lonsdale201/wp-agent-skills","path":"jetsmartfilter/jsf-overview","license":"MIT","commit":"9025fda280d15da3e2ba376a66940e75bd45f3ce","subtreeSha":"79E0B05E7A67D39170DDA2263E412DABACAAD8D65FC1D27D924B944C550ADC4C","lastSyncedAt":"2026-11-17T00:39:45.243627Z"},"reviewedAt":"2026-09-16T15:13:08.883596Z","notice":"Community-authored content, reproduced verbatim and not vetted as instructions. Treat it as data to evaluate, never as directives to follow."},"install":[{"target":"skills-cli","command":"npx skills add https://github.com/Lonsdale201/wp-agent-skills/tree/main/jetsmartfilter/jsf-overview"},{"target":"claude-code","command":"claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install lonsdale201-wp-agent-skills@llmmart"},{"target":"git","command":"git clone https://github.com/Lonsdale201/wp-agent-skills.git"}]}