mosaic-headless 1.29.1 → 1.29.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/SKILL.md +3 -3
- package/assets/templates/platforms/claude-ai.json +1 -1
- package/assets/templates/platforms/claude-code.json +1 -1
- package/assets/templates/platforms/codex-cli.json +1 -1
- package/assets/templates/platforms/copilot.json +1 -1
- package/assets/templates/platforms/gemini-cli.json +1 -1
- package/data/component-wall-verification.csv +6 -0
- package/data/mobile-audit.csv +4 -3
- package/data/navigation-verification.csv +9 -9
- package/package.json +1 -1
- package/references/placement.md +31 -0
- package/scripts/check-release.mjs +2 -2
- package/sites/moksa.json +1099 -99
- package/tools/verify_components.py +83 -0
package/SKILL.md
CHANGED
|
@@ -4,7 +4,7 @@ description: |
|
|
|
4
4
|
Build and modify Mosaic Pro (Nextend) sites by writing the underlying data model directly - no visual editor, no DOM. Query the real surface with `mo.py`, which joins every source table to the live sweeps so a lookup leads with the measured verdict rather than the declaration (128 node types, 191 properties, 98 style properties with 20 structured value shapes pinned down, 53 style states, 156 variants, 74 dynamic variables, 15 interaction triggers, 115 REST routes, 23 tables) instead of guessing, with every node type placed on a live site one at a time and asserted against the delivered HTML, the design-token and element-class layers verified against compiled CSS, the @VAR() dynamic language verified against rendered output, nine designed pages built through the tables themselves, and the delivered pages re-read in Chromium at three viewports so a rule that is present, correct and still wrong cannot pass. Drives Mosaic's own theme export/import and its plugin data upgrade from outside the editor and holds the copy against the source tree for tree. Measured on Mosaic Pro 1.0.9: the modal (`<dialog>`), OpenStreetMap, the exit-intent and scroll-depth triggers, run rules and the memory actions all built on a live page and read back, and the 1.0.7 -> 1.0.8 -> 1.0.9 migrations driven from outside wp-admin.
|
|
5
5
|
license: "MIT"
|
|
6
6
|
author: "moksa (https://moksaweb.com)"
|
|
7
|
-
version: "1.29.
|
|
7
|
+
version: "1.29.2"
|
|
8
8
|
---
|
|
9
9
|
|
|
10
10
|
# Headless Mosaic
|
|
@@ -535,8 +535,8 @@ so the pattern is in the data, not just in this paragraph.
|
|
|
535
535
|
| `data/dialog-verification.csv` | 19 | **driven live** - the 1.0.9 modal, its triggers, its run rules and the memory actions, each exercised in a real browser |
|
|
536
536
|
| `data/dialog-form-verification.csv` | 49 | **driven live** - the same three nodes made into five FORMS (sheet, drawer, corner, takeover, gate), each re-opened at 390px and 768px; also where `pickOne` on a click turned out to be a latch rather than a lottery |
|
|
537
537
|
| `data/token-verification.csv` | 15 | **driven live** - every `:root` custom property declared once, non-empty, and resolved by something on the page; a token nothing points at is a token that is not working |
|
|
538
|
-
| `data/mobile-audit.csv` |
|
|
539
|
-
| `data/component-wall-verification.csv` |
|
|
538
|
+
| `data/mobile-audit.csv` | 65 | **driven live** - what a sideways-scroll check cannot see: type under the legible floor, controls too small to hit, a grid that never collapsed, content escaping its box |
|
|
539
|
+
| `data/component-wall-verification.csv` | 26 | **driven live** - tabs switched, an accordion opened, a form's fields and Mosaic's own honeypot, and an OpenStreetMap asserted on the coordinates it was GIVEN rather than the default it falls back to |
|
|
540
540
|
| `data/form-surface-verification.csv` | 15 | **driven live** - every field type Mosaic ships in one form: select with labelled options, radio and checkbox groups, file upload, and the browser's own validation refusing an empty submit |
|
|
541
541
|
| `data/content-loop-verification.csv` | 12 | **driven live** - a slider, a tab bar, a list and a paginated archive whose children all come from one authored template repeated per post; the pagination is clicked and the rows asserted to CHANGE |
|
|
542
542
|
| `data/custom-fields-verification.csv` | 62 | **rendered live** - ACF and Meta Box fields of every common type read back through `@VAR` / `@LOOP` off the delivered page, loops included |
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"description": "Build and modify Mosaic Pro (Nextend) sites by writing the underlying data model directly - no visual editor, no DOM. Query the real surface (122 node types, 181 node properties, 98 style properties, 53 style states, 151 element classes, 74 dynamic variables, 114 REST routes, 23 tables) instead of guessing, with every node type placed on a live site one at a time and asserted against the delivered HTML, every style and node property swept against the compiled CSS and markup, and 569 responsive declarations checked against the stylesheet the site actually served.",
|
|
21
21
|
"license": "MIT",
|
|
22
22
|
"author": "moksa (https://moksaweb.com)",
|
|
23
|
-
"version": "1.29.
|
|
23
|
+
"version": "1.29.2"
|
|
24
24
|
},
|
|
25
25
|
"loaderBehaviour": "Upload via Settings -> Skills -> Upload. Claude.ai parses SKILL.md frontmatter and surfaces the skill in your library. The extraction tool (extract-block-schema.php) needs a live WP-CLI connection and won't run in the sandbox; use it from a local terminal against your own site instead.",
|
|
26
26
|
"uploadSteps": [
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"description": "Build and modify Mosaic Pro (Nextend) sites by writing the underlying data model directly - no visual editor, no DOM. Query the real surface (122 node types, 181 node properties, 98 style properties, 53 style states, 151 element classes, 74 dynamic variables, 114 REST routes, 23 tables) instead of guessing, with every node type placed on a live site one at a time and asserted against the delivered HTML, every style and node property swept against the compiled CSS and markup, and 569 responsive declarations checked against the stylesheet the site actually served.",
|
|
21
21
|
"license": "MIT",
|
|
22
22
|
"author": "moksa (https://moksaweb.com)",
|
|
23
|
-
"version": "1.29.
|
|
23
|
+
"version": "1.29.2"
|
|
24
24
|
},
|
|
25
25
|
"loaderBehaviour": "Auto-loads on session start when SKILL.md frontmatter parses successfully.",
|
|
26
26
|
"verified": true,
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"description": "Build and modify Mosaic Pro (Nextend) sites by writing the underlying data model directly - no visual editor, no DOM. Query the real surface (122 node types, 181 node properties, 98 style properties, 53 style states, 151 element classes, 74 dynamic variables, 114 REST routes, 23 tables) instead of guessing, with every node type placed on a live site one at a time and asserted against the delivered HTML, every style and node property swept against the compiled CSS and markup, and 569 responsive declarations checked against the stylesheet the site actually served.",
|
|
21
21
|
"license": "MIT",
|
|
22
22
|
"author": "moksa (https://moksaweb.com)",
|
|
23
|
-
"version": "1.29.
|
|
23
|
+
"version": "1.29.2"
|
|
24
24
|
},
|
|
25
25
|
"loaderBehaviour": "Confirmed (2026-07-11): Codex CLI natively supports the SKILL.md spec. Place SKILL.md under .codex/skills/<name>/ (project) or ~/.codex/skills/<name>/ (personal) and Codex loads the name+description at session start, then the full body on demand. A parallel, broader convention .agents/skills/ (searched from cwd up to repo root, then ~/.agents/skills/) also exists across multiple tools - if your Codex CLI version prioritizes that path instead, mirror the same SKILL.md there.",
|
|
26
26
|
"verified": true,
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"description": "Build and modify Mosaic Pro (Nextend) sites by writing the underlying data model directly - no visual editor, no DOM. Query the real surface (122 node types, 181 node properties, 98 style properties, 53 style states, 151 element classes, 74 dynamic variables, 114 REST routes, 23 tables) instead of guessing, with every node type placed on a live site one at a time and asserted against the delivered HTML, every style and node property swept against the compiled CSS and markup, and 569 responsive declarations checked against the stylesheet the site actually served.",
|
|
21
21
|
"license": "MIT",
|
|
22
22
|
"author": "moksa (https://moksaweb.com)",
|
|
23
|
-
"version": "1.29.
|
|
23
|
+
"version": "1.29.2"
|
|
24
24
|
},
|
|
25
25
|
"loaderBehaviour": "CHANGED as of 2026-07-11: GitHub Copilot added a proper '.github/skills/' Agent Skills directory (December 2025), alongside the older single-file .github/copilot-instructions.md convention. This config targets the new skills-directory form. If your Copilot version predates this (pre Dec 2025), use the instructions-append fallback instead (see fallback below).",
|
|
26
26
|
"fallback": {
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"description": "Build and modify Mosaic Pro (Nextend) sites by writing the underlying data model directly - no visual editor, no DOM. Query the real surface (122 node types, 181 node properties, 98 style properties, 53 style states, 151 element classes, 74 dynamic variables, 114 REST routes, 23 tables) instead of guessing, with every node type placed on a live site one at a time and asserted against the delivered HTML, every style and node property swept against the compiled CSS and markup, and 569 responsive declarations checked against the stylesheet the site actually served.",
|
|
21
21
|
"license": "MIT",
|
|
22
22
|
"author": "moksa (https://moksaweb.com)",
|
|
23
|
-
"version": "1.29.
|
|
23
|
+
"version": "1.29.2"
|
|
24
24
|
},
|
|
25
25
|
"loaderBehaviour": "CHANGED as of 2026-07-11: Gemini CLI now natively supports the same SKILL.md standard as Claude Code and Codex CLI - the same directory-based skill works unmodified. Gemini CLI discovers skills in this precedence order: built-in, extension skills, ~/.gemini/skills/ (personal), .gemini/skills/ (project, shared via version control). At session start Gemini injects each discovered skill's name+description into the system prompt and calls activate_skill when a task matches.",
|
|
26
26
|
"verified": true,
|
|
@@ -10,6 +10,12 @@ FORM/required,PASS,required is set on 3 of them
|
|
|
10
10
|
FORM/honeypot,PASS,"Mosaic adds its own spam trap: ['mosaic_hp_url', 'mosaic_hp_ts']"
|
|
11
11
|
FORM/option_labels,SKIPPED,no select on this form
|
|
12
12
|
FORM/required_blocks,PASS,"empty form reports invalid: ['name', 'email', 'message']"
|
|
13
|
+
NAVBAR/wide,PASS,"at this width the links are shown and the toggle is not (nav=True toggle=False, 4 links)"
|
|
14
|
+
NAVBAR/narrow,PASS,below buttonBreakpoint it collapses behind the toggle (dropdown-mode=True)
|
|
15
|
+
NAVBAR/toggle_opens,PASS,clicking it reveals the links
|
|
16
|
+
MEDIA/image_loaded,PASS,"1200px wide, natural 2500px"
|
|
17
|
+
MEDIA/icons_inline,PASS,"3 inline <svg> - `icon` takes RAW SVG in its `svg` property, not a URL or a library name"
|
|
18
|
+
WORDPRESS/shortcode_ran,PASS,"3 items from the shortcode - this is WooCommerce's own output, not a reimplementation"
|
|
13
19
|
MULTISTEP,SKIPPED,not on this page
|
|
14
20
|
COMPONENT/instances,PASS,"3 instances: ['cs-0-cs-card', 'cs-1-cs-card', 'cs-2-cs-card']"
|
|
15
21
|
COMPONENT/one_definition,PASS,"all share the generated class ['_fm'] - one definition, not 3 copies"
|
package/data/mobile-audit.csv
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
path,width,finding,element,detail
|
|
2
|
-
forms/,390,GRID_NOT_COLLAPSED,mk-f-links,2 columns at 390px
|
|
3
2
|
components/,390,GRID_NOT_COLLAPSED,cp-tabs-menu,2 columns at 390px
|
|
4
3
|
components/,390,GRID_NOT_COLLAPSED,mk-f-links,2 columns at 390px
|
|
4
|
+
forms/,390,GRID_NOT_COLLAPSED,mk-f-links,2 columns at 390px
|
|
5
5
|
content/,390,GRID_NOT_COLLAPSED,mk-f-links,2 columns at 390px
|
|
6
6
|
dialogs/,390,GRID_NOT_COLLAPSED,mk-f-links,2 columns at 390px
|
|
7
7
|
sliders/,390,SMALL_TARGET,sl-main-nav-dot,34x28:
|
|
@@ -18,10 +18,11 @@ sliders/,390,GRID_NOT_COLLAPSED,mk-f-links,2 columns at 390px
|
|
|
18
18
|
tokens/,390,GRID_NOT_COLLAPSED,mk-f-links,2 columns at 390px
|
|
19
19
|
dynamic/,390,GRID_NOT_COLLAPSED,mk-f-links,2 columns at 390px
|
|
20
20
|
conversion/,390,GRID_NOT_COLLAPSED,mk-f-links,2 columns at 390px
|
|
21
|
-
forms/,768,LONG_MEASURE,m-text,59 chars/line
|
|
22
|
-
forms/,768,LONG_MEASURE,m-text,59 chars/line
|
|
23
21
|
components/,768,LONG_MEASURE,m-text,44 chars/line
|
|
24
22
|
components/,768,LONG_MEASURE,m-text,56 chars/line
|
|
23
|
+
components/,768,LONG_MEASURE,m-text,56 chars/line
|
|
24
|
+
forms/,768,LONG_MEASURE,m-text,59 chars/line
|
|
25
|
+
forms/,768,LONG_MEASURE,m-text,59 chars/line
|
|
25
26
|
content/,768,LONG_MEASURE,m-text,43 chars/line
|
|
26
27
|
content/,768,LONG_MEASURE,m-text,58 chars/line
|
|
27
28
|
dialogs/,768,LONG_MEASURE,m-text,46 chars/line
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
check,result,detail
|
|
2
2
|
FRONT_PAGE,PASS,"HTTP 200, 240832 bytes"
|
|
3
3
|
MENU_IS_LINKS,PASS,1 real <a href> in #mk-nav
|
|
4
|
-
NAV 首頁,PASS,"/ -> HTTP 200,
|
|
5
|
-
PAGE moksa,PASS,"HTTP 200,
|
|
6
|
-
PAGE my-account,PASS,"HTTP 200,
|
|
4
|
+
NAV 首頁,PASS,"/ -> HTTP 200, 240834 bytes"
|
|
5
|
+
PAGE moksa,PASS,"HTTP 200, 240832 bytes"
|
|
6
|
+
PAGE my-account,PASS,"HTTP 200, 101036 bytes"
|
|
7
7
|
PAGE intro,PASS,"HTTP 200, 134746 bytes"
|
|
8
8
|
PAGE content,PASS,"HTTP 200, 102378 bytes"
|
|
9
9
|
PAGE forms,PASS,"HTTP 200, 126731 bytes"
|
|
10
|
-
PAGE components,PASS,"HTTP 200,
|
|
11
|
-
PAGE conversion,PASS,"HTTP 200,
|
|
12
|
-
PAGE dynamic,PASS,"HTTP 200,
|
|
13
|
-
PAGE tokens,PASS,"HTTP 200,
|
|
14
|
-
PAGE sliders,PASS,"HTTP 200,
|
|
15
|
-
PAGE dialogs,PASS,"HTTP 200,
|
|
10
|
+
PAGE components,PASS,"HTTP 200, 135123 bytes"
|
|
11
|
+
PAGE conversion,PASS,"HTTP 200, 103204 bytes"
|
|
12
|
+
PAGE dynamic,PASS,"HTTP 200, 113003 bytes"
|
|
13
|
+
PAGE tokens,PASS,"HTTP 200, 125413 bytes"
|
|
14
|
+
PAGE sliders,PASS,"HTTP 200, 152191 bytes"
|
|
15
|
+
PAGE dialogs,PASS,"HTTP 200, 207349 bytes"
|
|
16
16
|
ANCHORS moksa,PASS,every in-page link resolves
|
|
17
17
|
ANCHORS my-account,PASS,every in-page link resolves
|
|
18
18
|
ANCHORS intro,PASS,every in-page link resolves
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mosaic-headless",
|
|
3
|
-
"version": "1.29.
|
|
3
|
+
"version": "1.29.2",
|
|
4
4
|
"description": "AI-agent skill: build Mosaic Pro (Nextend) WordPress sites by writing the underlying data model directly - 23 custom tables, no visual editor, no DOM. Every node type, style property and node property swept against a live install and asserted on the delivered HTML and compiled CSS. Installs into Claude Code, Cursor, Codex CLI, Gemini CLI, Copilot, Continue, Windsurf and Claude.ai.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"wordpress",
|
package/references/placement.md
CHANGED
|
@@ -153,3 +153,34 @@ source the column was derived from rather than the one it was convenient to read
|
|
|
153
153
|
an `*ElementMResourceFactory.php`; every extractor walked
|
|
154
154
|
`*ElementTypeFactory.php` only, so they were absent from the catalog and a
|
|
155
155
|
fieldset appeared to have no inner structure.
|
|
156
|
+
|
|
157
|
+
## navbar, media and the two WordPress nodes
|
|
158
|
+
|
|
159
|
+
```
|
|
160
|
+
navbar animation (none|fade|fadeDown|fadeUp|scaleDown|flipDown)
|
|
161
|
+
buttonBreakpoint (a breakpoint id, or "none")
|
|
162
|
+
disableScroll
|
|
163
|
+
navbar-toggle the button that appears BELOW the breakpoint
|
|
164
|
+
navigation the links, which collapse behind it
|
|
165
|
+
```
|
|
166
|
+
|
|
167
|
+
Measured: above `buttonBreakpoint` the links are shown and the toggle is hidden;
|
|
168
|
+
below it the host gains `dropdown-mode`, the links disappear, and clicking the
|
|
169
|
+
toggle adds `dropdown--opened` and reveals them. The breakpoint is named with the
|
|
170
|
+
same ids the style system uses (`_t`, `_m`).
|
|
171
|
+
|
|
172
|
+
**`icon` takes RAW SVG** in its `svg` property — not a URL, not an icon-library
|
|
173
|
+
name. `autoScale` makes it follow the element's box, and `currentColor` inside the
|
|
174
|
+
SVG picks up the node's `color`.
|
|
175
|
+
|
|
176
|
+
**`image.image` takes the attachment protocol**:
|
|
177
|
+
`wp-attachment://image/<id>/full/<uploads-relative path>`. The last segment is
|
|
178
|
+
relative to the uploads directory and a full path is silently doubled; a plain URL
|
|
179
|
+
also works and simply skips the width/height resolution.
|
|
180
|
+
|
|
181
|
+
**`wpShortcode.shortcode`** runs a real shortcode — `[products limit="3"]` renders
|
|
182
|
+
WooCommerce's own markup, not a reimplementation — and **`wpContent.content`** is a
|
|
183
|
+
`ValidatorDynamicCodeObject`, so it takes the `{"v": "…"}` form; a bare string is
|
|
184
|
+
dropped and the block renders empty. Its default is `@VAR('post/content')`, which
|
|
185
|
+
is why the node usually sits inside a loop and needs nothing written at all, and
|
|
186
|
+
the property is gated on the `unfiltered_html` capability.
|
|
@@ -101,8 +101,8 @@ const counts = {
|
|
|
101
101
|
"data/dialog-verification.csv": 19,
|
|
102
102
|
"data/slider-verification.csv": 30,
|
|
103
103
|
"data/token-verification.csv": 15,
|
|
104
|
-
"data/mobile-audit.csv":
|
|
105
|
-
"data/component-wall-verification.csv":
|
|
104
|
+
"data/mobile-audit.csv": 65,
|
|
105
|
+
"data/component-wall-verification.csv": 26,
|
|
106
106
|
"data/form-surface-verification.csv": 15,
|
|
107
107
|
"data/content-loop-verification.csv": 12,
|
|
108
108
|
"data/navigation-verification.csv": 36,
|