Skip to content
Skills Library
Programming · Review & audit

breeze-compat

/breeze-compat

Read-only static audit of a Magento 2 module's compatibility with Swissup Breeze. Scans RequireJS, Knockout, jQuery-UI widgets, and mixins; emits ranked findings (Markdown, JSON, SARIF) and a verdict: compatible, needs Better Compatibility, or needs a manual adapter. Use to ask whether a module works with Breeze. Unlike magento2-tools:review (general quality), this is the Breeze dimension; generate the adapter with magento2-tools:breeze-adapt; new theme: magento2-tools:breeze-theme.

Licence
MIT
Last repository change
04.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
4
Scripts
2
HTML comments
0
URLs in SKILL.md
1
Deprecation

No signals detected. Repository changed on 04.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What to check before installing
  • 2 scripts in this package. Review them before installing, as Claude may execute them.

Scripts: scripts/build-findings.sh, scripts/static-scan.sh

What it does and when to use it

Read-only static audit of a Magento 2 module's compatibility with Swissup Breeze. Scans RequireJS, Knockout, jQuery-UI widgets, and mixins; emits ranked findings (Markdown, JSON, SARIF) and a verdict: compatible, needs Better Compatibility, or needs a manual adapter. Use to ask whether a module works with Breeze. Unlike magento2-tools:review (general quality), this is the Breeze dimension; generate the adapter with magento2-tools:breeze-adapt; new theme: magento2-tools:breeze-theme.

Original author description

Read-only static audit of a Magento 2 module's compatibility with Swissup Breeze. Scans RequireJS, Knockout, jQuery-UI widgets, and mixins; emits ranked findings (Markdown, JSON, SARIF) and a verdict: compatible, needs Better Compatibility, or needs a manual adapter. Use to ask whether a module works with Breeze. Unlike magento2-tools:review (general quality), this is the Breeze dimension; generate the adapter with magento2-tools:breeze-adapt; new theme: magento2-tools:breeze-theme.

How it works

  1. Core Rules
  2. Workflow
  3. Inputs
  4. Outputs
  5. Reference Files
  6. Scripts
  7. Acceptance Criteria
  8. Related Skills
Original SKILL.md headings · 113 lines, 602 words
SKILL.md preview
---
name: breeze-compat
version: 1.1.0
description: >-
  Read-only static audit of a Magento 2 module's compatibility with Swissup Breeze. Scans RequireJS,
  Knockout, jQuery-UI widgets, and mixins; emits ranked findings (Markdown, JSON, SARIF) and a
  verdict: compatible, needs Better Compatibility, or needs a manual adapter. Use to ask whether a
  module works with Breeze. Unlike magento2-tools:review (general quality), this is the Breeze
  dimension; generate the adapter with magento2-tools:breeze-adapt; new theme:
  magento2-tools:breeze-theme.
---

# Magento 2 Breeze Compatibility Audit

Static, read-only audit that tells you whether an existing module will work with a
[Swissup Breeze](https://breezefront.com/docs/better-compatibility) theme. Breeze replaces
RequireJS/Knockout/jQuery with a Cash-based stack, so modules that lean on those APIs need either
Breeze's "Better Compatibility" mode or a hand-written adapter.

## Core Rules

- **Static-first.** Default pass uses only the source tree — no runtime, no Magento CLI required.
- **Read-only.** Never modifies code. Findings route to `breeze-adapt` for fixes.
- **Breeze-aware.** Resolve `context`; read `theme.breeze`. If `installed` is `false`,
  note it (the audit still runs, but the verdict says "Breeze not installed").
- **Severity by user-facing breakage.** A Knockout checkout component is High; a `data-mage-init`
  hook Breeze already supports is Info.
- **Concrete remediation.** Every finding names the specific Breeze fix (port to a Cash `$.widget`,
  enable Better Compatibility, move CSS to `breeze/_default.less`) and whether
  `breeze-adapt` can scaffold it.
- **JSON + SARIF.** Same shape as `review` (`outputKind=compatibility`).

## Workflow

### Phase 0 — Context Resolution

Invoke `context`. Capture `theme.breeze`, `vendor`, `magento_root`.

### Phase 1 — Scope

- Single module → scan that module subtree.
- Multiple modules / site → scan each custom module under `app/code`.

### Phase 2 — Static Scan

Run `scripts/static-scan.sh <target>` per `references/breeze-compat-checklist.md`:

| Check | Pattern | Severity |
|-------|---------|----------|
| RequireJS config | `requirejs-config.js` present | Medium (High if `mixins`) |
| RequireJS mixins | `mixins` in `requirejs-config.js` | High |
| Knockout / uiComponent | `'uiComponent'`, `Magento_Ui/js/`, `data-bind` | High |
| jQuery widget | `$.widget(`, `$.mage.` | Medium |
| Inline require | `require([...])` in `.phtml` | Medium |
| mage-init | `data-mage-init`, `text/x-magento-init` | Info (Breeze supports) |
| No adapter yet | ships `view/frontend/web` but no `breeze_*`/`web/css/breeze` | Info |

### Phase 3 — Verdict & Emit

Run `scripts/build-findings.sh` to emit JSON + SARIF (and render the Markdown report).
Run it with `DOCS_ROOT=<output_root>` (the resolved `--docs-root` value, or `.docs` by
default) so both artifacts land under `{output_root}/breeze-compat/`. Classify:
- **Compatible out-of-box** — only Info findings (mage-init / no-adapter).
- **Needs Better Compatibility** — RequireJS/mixins/jQuery-widget findings, no Knockout.
- **Needs manual adapter** — Knockout/uiComponent findings present.

Point the user at `breeze-adapt` for the fix.

## Inputs

```
/breeze-compat <Vendor_Module> [--scope=module|site] [--docs-root=<path>]
```

## Outputs

Module scope (basename uses the underscore module name, e.g. `Acme_Foo`):
`{output_root}/breeze-compat/{Vendor}_{Module}-breeze-compat-{YYYY-MM-DD}.{json,sarif}`
Site scope: `{output_root}/breeze-compat/breeze-compat-{scope}-{YYYY-MM-DD}.{json,sarif}`
— plus a Markdown summary sharing the same basename. Findings follow
`context/references/findings-schema.md`. `{output_root}` defaults to `.docs`
(`{ctx.docs_root}`); see the `--docs-root`/`DOCS_ROOT` recipe in
`context/references/artifact-layout.md`.

### Output root (`--docs-root`)

This skill accepts `--docs-root=<path>` (see
`context/references/artifact-layout.md`). When set, run the emitter with
`DOCS_ROOT=<path>` so artifacts land under `<path>/breeze-compat/`; otherwise they default
to `{ctx.docs_root}/breeze-compat/`. Orchestrators such as `feature`
pass this to collect a run's artifacts under one folder.

## Reference Files

- `references/breeze-compat-checklist.md` — the full check table with patterns, severities, and
  Breeze remediation per row.
- `context/references/severity.md` — the shared five-point severity scale the per-row
  severities calibrate against.
- `context/references/findings-schema.md` — JSON findings-document structure
  (`outputKind=compatibility`).

## Scripts

- `scripts/static-scan.sh` — emits the findings array for a module subtree.
- `scripts/build-findings.sh` — aggregates and emits JSON + SARIF via the shared emitters.

## Acceptance Criteria

- Produces `{Vendor}_{Module}-breeze-compat-{date}.json` (module scope; site scope:
  `breeze-compat-{scope}-{date}.json`) with `outputKind=compatibility`, `findings[]`,
  `scanner_errors[]`, and `.sarif`.
- Each finding has a severity, `file:line` evidence, and a concrete Breeze remediation.
- Emits a verdict (compatible / Better Compatibility / manual adapter).
- Never modifies the scanned module.

## Related Skills

| Phase | Skill |
|-------|-------|
| 0 | `context` |
| (sibling) | `review` for general architecture/quality |
| (fix) | `breeze-adapt` to generate the adapter |
| (theme) | `breeze-theme` for a new Breeze theme |
Files in this package (4)
  • SKILL.md 5 KB
  • references/breeze-compat-checklist.md 3 KB
  • scripts/build-findings.sh 2 KB
  • scripts/static-scan.sh 6 KB

Versions

The database has no other skills named breeze-compat.

Database snapshot: 13.11.2026 · package version 5ce8ed3f2ff4 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100breeze-adapt
    Adapt an existing Magento 2 module to Swissup Breeze by generating a companion module {Vendor}_{Module}Breeze that converts RequireJS/Knockout/jQuery widgets to Cash `$.widget`. Never edits the target, so it works on vendor/ modules. Use to make a module work with Breeze (needs…
  • 100breeze-theme
    Scaffold a Swissup Breeze (Breezefront) child theme: theme.xml with a Swissup/breeze-* parent, a Breeze-only layout handle, and web/css/breeze/_default.less overrides. Use for a new Breeze child or custom theme. Detects Breeze via magento2-tools:context (theme.breeze) and…
  • 100breeze-x402-payment-api
    Operates Breeze x402 payment-gated endpoints for balance checks, deposits, and withdrawals on Solana. Use when the user asks to manage Breeze positions or execute paid x402 API calls.
  • 100magento-frontend
    Build Magento 2 frontend — layout XML, blocks, PHTML templates, ViewModels, themes, JavaScript (RequireJS/KnockoutJS), and LESS/CSS. Use when customizing the storefront, building themes, or working with frontend components.
  • 100airflow-aware
    This skill should be used when working in the apache/airflow repository as a contributor (not as a Dag author). It surfaces the conventions Airflow's own AGENTS.md enforces — naming, Breeze/uv environment, Ruff/Mypy style, coding rules, pytest patterns, PR hygiene — so any task…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.