[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-automattic-model-local-data":3,"mdc--thvp4t-key":33,"related-repo-automattic-model-local-data":897,"related-org-automattic-model-local-data":1010},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":22,"repoUrl":23,"updatedAt":24,"license":25,"forks":26,"topics":27,"repo":28,"sourceUrl":31,"mdContent":32},"model-local-data","model local site data for WordPress","Analyze an OWNED local static site's JavaScript data grids or repeated static-HTML content cards and emit a data-model.json that turns that data into real WordPress posts\u002Ftaxonomy + native query loops while keeping the styling\u002Fanimation\u002Fmodal JS. Produces the model that liberate-local's convert step consumes. Use before liberate_convert_local_site when the source renders its content from JS data (catalogs, listings, galleries) or repeated post-preview cards in static HTML.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},"automattic","Automattic","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fautomattic.png",[12,16,19],{"name":13,"slug":14,"type":15},"WordPress","wordpress","tag",{"name":17,"slug":18,"type":15},"Data Modeling","data-modeling",{"name":20,"slug":21,"type":15},"Data Cleaning","data-cleaning",31,"https:\u002F\u002Fgithub.com\u002FAutomattic\u002Fdata-liberation-agent","2026-06-19T09:38:06.130173",null,1,[],{"repoUrl":23,"stars":22,"forks":26,"topics":29,"description":30},[],"Extract content from closed web platforms into WordPress-compatible WXR files.","https:\u002F\u002Fgithub.com\u002FAutomattic\u002Fdata-liberation-agent\u002Ftree\u002FHEAD\u002Fskills\u002Fmodel-local-data","---\nname: model-local-data\ndescription: Analyze an OWNED local static site's JavaScript data grids or repeated static-HTML content cards and emit a data-model.json that turns that data into real WordPress posts\u002Ftaxonomy + native query loops while keeping the styling\u002Fanimation\u002Fmodal JS. Produces the model that liberate-local's convert step consumes. Use before liberate_convert_local_site when the source renders its content from JS data (catalogs, listings, galleries) or repeated post-preview cards in static HTML.\n---\n\n# Model local data → WordPress-driven data\n\nSome hand-authored sites render their main content from **JavaScript data**: an empty container like `\u003Cdiv id=\"newestGrid\">\u003C\u002Fdiv>` is filled at runtime by a mount call (`mountGrid('#newestGrid', newestObjets(4))`) that maps over an in-file array (`const OBJETS = [ … ]`). Others render repeated **content cards directly in static HTML**, such as a blog\u002Farchive index of post-preview cards. On a straight carry these grids are **empty or non-native in the block editor** — the data lives in JS or fixed HTML, not WordPress records.\n\nThis skill reads the source and produces a **`data-model.json`** describing how to make the data WordPress-driven: records + taxonomy + per-item meta, native `core\u002Fquery` loops in place of the mounts\u002Fcards, and a faithful card render — while the source's styling, animation, filtering, and detail-modal JS keep running (reading WordPress data from per-card DOM islands).\n\nThe deterministic converter (`liberate_convert_local_site`) consumes the file; this skill only **authors the model by reading the source**.\n\n---\n\n## When it applies\n\nRun this BEFORE `liberate_convert_local_site` when the source has any of:\n\n- empty mount containers (`\u003Cdiv id=\"…\">` \u002F `\u003Cul id=\"…\">` with no children) filled by JS,\n- an in-file data array of records (each with a stable id),\n- a list\u002Fgrid\u002Fcatalog\u002Fgallery rendered by mapping that array to card markup,\n- optionally a detail modal that looks an item up by id (`ARR.find(x => x.id === id)`).\n\nIt also applies when the source renders repeated **content cards directly in static HTML**, such as:\n\n- a blog\u002Farchive index made of post-preview cards,\n- repeated card links to article\u002Fdetail pages,\n- static category\u002Fdate\u002Fexcerpt\u002Fimage card metadata that should become native WordPress posts and terms.\n\nIf the scaffold reports `discovered.source === 'none'`, no JS data array or repeated static-HTML content-card grid was found — skip straight to convert.\n\n---\n\n## How to produce it (scaffold-first)\n\n1. **Run the deterministic scaffold.** Call `liberate_data_model_scaffold({ dir: \"\u003Csource-dir>\", outputDir: \"\u003Coutput-dir>\" })`. It writes `\u003Coutput-dir>\u002Fdata-model.draft.json` (a partial `DataModel`) and returns `{ model, skillTodos, discovered, validation }`. The scaffold reports `discovered.source` as `js-array`, `html-cards`, or `none`. It has already extracted every record verbatim (`items[]`), enumerated `taxonomy.terms` and `fields[]`, linked the `mounts[]`, and set `sourceArrays` when JS arrays were found. The `discovered` summary lists which arrays were found\u002Frejected and records dropped low-confidence\u002Forphan containers under `discovered.unmatchedContainers` — if your data array or content-card grid is missing there, see the manual fallback.\n\n   For `html-cards`, the scaffold derives `card.template` deterministically from the source card markup, so there is no `card.template` todo to resolve. Confirm only the flagged role\u002Forder todos. Bodies come from following each card's link; when multiple cards share a target, the linked page is the single template and the card bodies stay as excerpts. Static HTML cards register as core `post` records with native `category` terms, not a custom CPT, and convert neutralizes the card container into a native query loop.\n\n   If `discovered.source === 'none'`, stop here: do not resolve todos or write `data-model.json`; fall through to the pure carry convert path.\n\n2. **Resolve ONLY the `skillTodos`.** Each has a `path`, `instruction`, and source `evidence`. Do not re-author filled slots. Typical todos:\n   - **`card.template`** (JS array path only) — rewrite the per-item card function (in `evidence`) into a single-root skeleton with `data-dla-*` bindings preserving the source classes. Grammar: `data-dla-text\u002Fattr\u002Fclass\u002Fif`; `\u003Cexpr>` = `'lit'` | `id` | `title` | `content` | `cat.slug` | `cat.label` | `meta.\u003Ckey>` | `gallery.\u003Cn>.caption` | `map.\u003Cname>.\u003Cexpr>`; `\u003Ccond>` = `\u003Cexpr>` | `\u003Cexpr>=='lit'` | `\u003Cexpr>!='lit'`. Add value-keyed lookups (e.g. `CAT_TONE`) to `card.maps`.\n   - **`mounts[i].query.order`** — confirm\u002Fadjust ordering + `perPage` (scaffold defaults to date\u002FDESC). A full\u002Fall\u002Fcomplete catalog grid usually renders in source array order, so set `order: 'ASC'`; use `DESC` only for newest\u002Frecent\u002Flatest grids.\n   - **`items[].id` \u002F `items[].title` \u002F `taxonomy`** — low-confidence role guesses; confirm or correct. If a value belongs in `meta`, move it (never drop it).\n   - **`discovered.unmatchedContainers`** — check these low-confidence\u002Forphan containers for any dropped grid before converting; add missing mounts only when the source proves they are content-driven.\n\n3. **Validate and write.** Re-check that every `map.\u003Cname>`\u002F`meta.\u003Ckey>` the template references exists, item count == source record count, terms == the source's category set. Write the resolved model to `\u003Coutput-dir>\u002Fdata-model.json`. `liberate_convert_local_site` auto-activates the data path when that file is present.\n\n## Manual fallback (if the scaffold tool is unavailable)\n\nIf `liberate_data_model_scaffold` is not registered (e.g. the MCP server hasn't restarted to pick it up) or errors, author `data-model.json` by hand: read the source JS or static card HTML, copy every record into `items[]` (id\u002Ftitle\u002Fcontent → as appropriate, category → `terms`, other fields → `meta`, image lists → `gallery`), enumerate `taxonomy.terms`, list `fields[]`, map each empty mount or repeated card container to a `query`, author `card.template` with the `data-dla-*` grammar above, and set `sourceArrays` when JS arrays were used. Never drop or summarize a record or field.\n\n## Faithfulness rules\n\n- Never drop or summarize a record or field. The card render runs server-side (frontend AND the editor query-loop preview), so the binding must reproduce the source card markup exactly. Surface honest gaps rather than inventing data.\n",{"data":34,"body":35},{"name":4,"description":6},{"type":36,"children":37},"root",[38,47,100,124,144,148,155,167,216,227,245,258,261,267,785,791,883,889],{"type":39,"tag":40,"props":41,"children":43},"element","h1",{"id":42},"model-local-data-wordpress-driven-data",[44],{"type":45,"value":46},"text","Model local data → WordPress-driven data",{"type":39,"tag":48,"props":49,"children":50},"p",{},[51,53,59,61,68,70,76,78,84,86,91,93,98],{"type":45,"value":52},"Some hand-authored sites render their main content from ",{"type":39,"tag":54,"props":55,"children":56},"strong",{},[57],{"type":45,"value":58},"JavaScript data",{"type":45,"value":60},": an empty container like ",{"type":39,"tag":62,"props":63,"children":65},"code",{"className":64},[],[66],{"type":45,"value":67},"\u003Cdiv id=\"newestGrid\">\u003C\u002Fdiv>",{"type":45,"value":69}," is filled at runtime by a mount call (",{"type":39,"tag":62,"props":71,"children":73},{"className":72},[],[74],{"type":45,"value":75},"mountGrid('#newestGrid', newestObjets(4))",{"type":45,"value":77},") that maps over an in-file array (",{"type":39,"tag":62,"props":79,"children":81},{"className":80},[],[82],{"type":45,"value":83},"const OBJETS = [ … ]",{"type":45,"value":85},"). Others render repeated ",{"type":39,"tag":54,"props":87,"children":88},{},[89],{"type":45,"value":90},"content cards directly in static HTML",{"type":45,"value":92},", such as a blog\u002Farchive index of post-preview cards. On a straight carry these grids are ",{"type":39,"tag":54,"props":94,"children":95},{},[96],{"type":45,"value":97},"empty or non-native in the block editor",{"type":45,"value":99}," — the data lives in JS or fixed HTML, not WordPress records.",{"type":39,"tag":48,"props":101,"children":102},{},[103,105,114,116,122],{"type":45,"value":104},"This skill reads the source and produces a ",{"type":39,"tag":54,"props":106,"children":107},{},[108],{"type":39,"tag":62,"props":109,"children":111},{"className":110},[],[112],{"type":45,"value":113},"data-model.json",{"type":45,"value":115}," describing how to make the data WordPress-driven: records + taxonomy + per-item meta, native ",{"type":39,"tag":62,"props":117,"children":119},{"className":118},[],[120],{"type":45,"value":121},"core\u002Fquery",{"type":45,"value":123}," loops in place of the mounts\u002Fcards, and a faithful card render — while the source's styling, animation, filtering, and detail-modal JS keep running (reading WordPress data from per-card DOM islands).",{"type":39,"tag":48,"props":125,"children":126},{},[127,129,135,137,142],{"type":45,"value":128},"The deterministic converter (",{"type":39,"tag":62,"props":130,"children":132},{"className":131},[],[133],{"type":45,"value":134},"liberate_convert_local_site",{"type":45,"value":136},") consumes the file; this skill only ",{"type":39,"tag":54,"props":138,"children":139},{},[140],{"type":45,"value":141},"authors the model by reading the source",{"type":45,"value":143},".",{"type":39,"tag":145,"props":146,"children":147},"hr",{},[],{"type":39,"tag":149,"props":150,"children":152},"h2",{"id":151},"when-it-applies",[153],{"type":45,"value":154},"When it applies",{"type":39,"tag":48,"props":156,"children":157},{},[158,160,165],{"type":45,"value":159},"Run this BEFORE ",{"type":39,"tag":62,"props":161,"children":163},{"className":162},[],[164],{"type":45,"value":134},{"type":45,"value":166}," when the source has any of:",{"type":39,"tag":168,"props":169,"children":170},"ul",{},[171,193,198,203],{"type":39,"tag":172,"props":173,"children":174},"li",{},[175,177,183,185,191],{"type":45,"value":176},"empty mount containers (",{"type":39,"tag":62,"props":178,"children":180},{"className":179},[],[181],{"type":45,"value":182},"\u003Cdiv id=\"…\">",{"type":45,"value":184}," \u002F ",{"type":39,"tag":62,"props":186,"children":188},{"className":187},[],[189],{"type":45,"value":190},"\u003Cul id=\"…\">",{"type":45,"value":192}," with no children) filled by JS,",{"type":39,"tag":172,"props":194,"children":195},{},[196],{"type":45,"value":197},"an in-file data array of records (each with a stable id),",{"type":39,"tag":172,"props":199,"children":200},{},[201],{"type":45,"value":202},"a list\u002Fgrid\u002Fcatalog\u002Fgallery rendered by mapping that array to card markup,",{"type":39,"tag":172,"props":204,"children":205},{},[206,208,214],{"type":45,"value":207},"optionally a detail modal that looks an item up by id (",{"type":39,"tag":62,"props":209,"children":211},{"className":210},[],[212],{"type":45,"value":213},"ARR.find(x => x.id === id)",{"type":45,"value":215},").",{"type":39,"tag":48,"props":217,"children":218},{},[219,221,225],{"type":45,"value":220},"It also applies when the source renders repeated ",{"type":39,"tag":54,"props":222,"children":223},{},[224],{"type":45,"value":90},{"type":45,"value":226},", such as:",{"type":39,"tag":168,"props":228,"children":229},{},[230,235,240],{"type":39,"tag":172,"props":231,"children":232},{},[233],{"type":45,"value":234},"a blog\u002Farchive index made of post-preview cards,",{"type":39,"tag":172,"props":236,"children":237},{},[238],{"type":45,"value":239},"repeated card links to article\u002Fdetail pages,",{"type":39,"tag":172,"props":241,"children":242},{},[243],{"type":45,"value":244},"static category\u002Fdate\u002Fexcerpt\u002Fimage card metadata that should become native WordPress posts and terms.",{"type":39,"tag":48,"props":246,"children":247},{},[248,250,256],{"type":45,"value":249},"If the scaffold reports ",{"type":39,"tag":62,"props":251,"children":253},{"className":252},[],[254],{"type":45,"value":255},"discovered.source === 'none'",{"type":45,"value":257},", no JS data array or repeated static-HTML content-card grid was found — skip straight to convert.",{"type":39,"tag":145,"props":259,"children":260},{},[],{"type":39,"tag":149,"props":262,"children":264},{"id":263},"how-to-produce-it-scaffold-first",[265],{"type":45,"value":266},"How to produce it (scaffold-first)",{"type":39,"tag":268,"props":269,"children":270},"ol",{},[271,464,745],{"type":39,"tag":172,"props":272,"children":273},{},[274,279,281,287,289,295,297,303,305,311,313,319,321,327,329,335,337,343,345,351,353,359,361,367,369,375,377,383,385,391,393,399,401,405,407,412,414,420,422,427,429,435,437,443,445,448,450,455,457,462],{"type":39,"tag":54,"props":275,"children":276},{},[277],{"type":45,"value":278},"Run the deterministic scaffold.",{"type":45,"value":280}," Call ",{"type":39,"tag":62,"props":282,"children":284},{"className":283},[],[285],{"type":45,"value":286},"liberate_data_model_scaffold({ dir: \"\u003Csource-dir>\", outputDir: \"\u003Coutput-dir>\" })",{"type":45,"value":288},". It writes ",{"type":39,"tag":62,"props":290,"children":292},{"className":291},[],[293],{"type":45,"value":294},"\u003Coutput-dir>\u002Fdata-model.draft.json",{"type":45,"value":296}," (a partial ",{"type":39,"tag":62,"props":298,"children":300},{"className":299},[],[301],{"type":45,"value":302},"DataModel",{"type":45,"value":304},") and returns ",{"type":39,"tag":62,"props":306,"children":308},{"className":307},[],[309],{"type":45,"value":310},"{ model, skillTodos, discovered, validation }",{"type":45,"value":312},". The scaffold reports ",{"type":39,"tag":62,"props":314,"children":316},{"className":315},[],[317],{"type":45,"value":318},"discovered.source",{"type":45,"value":320}," as ",{"type":39,"tag":62,"props":322,"children":324},{"className":323},[],[325],{"type":45,"value":326},"js-array",{"type":45,"value":328},", ",{"type":39,"tag":62,"props":330,"children":332},{"className":331},[],[333],{"type":45,"value":334},"html-cards",{"type":45,"value":336},", or ",{"type":39,"tag":62,"props":338,"children":340},{"className":339},[],[341],{"type":45,"value":342},"none",{"type":45,"value":344},". It has already extracted every record verbatim (",{"type":39,"tag":62,"props":346,"children":348},{"className":347},[],[349],{"type":45,"value":350},"items[]",{"type":45,"value":352},"), enumerated ",{"type":39,"tag":62,"props":354,"children":356},{"className":355},[],[357],{"type":45,"value":358},"taxonomy.terms",{"type":45,"value":360}," and ",{"type":39,"tag":62,"props":362,"children":364},{"className":363},[],[365],{"type":45,"value":366},"fields[]",{"type":45,"value":368},", linked the ",{"type":39,"tag":62,"props":370,"children":372},{"className":371},[],[373],{"type":45,"value":374},"mounts[]",{"type":45,"value":376},", and set ",{"type":39,"tag":62,"props":378,"children":380},{"className":379},[],[381],{"type":45,"value":382},"sourceArrays",{"type":45,"value":384}," when JS arrays were found. The ",{"type":39,"tag":62,"props":386,"children":388},{"className":387},[],[389],{"type":45,"value":390},"discovered",{"type":45,"value":392}," summary lists which arrays were found\u002Frejected and records dropped low-confidence\u002Forphan containers under ",{"type":39,"tag":62,"props":394,"children":396},{"className":395},[],[397],{"type":45,"value":398},"discovered.unmatchedContainers",{"type":45,"value":400}," — if your data array or content-card grid is missing there, see the manual fallback.",{"type":39,"tag":402,"props":403,"children":404},"br",{},[],{"type":45,"value":406},"For ",{"type":39,"tag":62,"props":408,"children":410},{"className":409},[],[411],{"type":45,"value":334},{"type":45,"value":413},", the scaffold derives ",{"type":39,"tag":62,"props":415,"children":417},{"className":416},[],[418],{"type":45,"value":419},"card.template",{"type":45,"value":421}," deterministically from the source card markup, so there is no ",{"type":39,"tag":62,"props":423,"children":425},{"className":424},[],[426],{"type":45,"value":419},{"type":45,"value":428}," todo to resolve. Confirm only the flagged role\u002Forder todos. Bodies come from following each card's link; when multiple cards share a target, the linked page is the single template and the card bodies stay as excerpts. Static HTML cards register as core ",{"type":39,"tag":62,"props":430,"children":432},{"className":431},[],[433],{"type":45,"value":434},"post",{"type":45,"value":436}," records with native ",{"type":39,"tag":62,"props":438,"children":440},{"className":439},[],[441],{"type":45,"value":442},"category",{"type":45,"value":444}," terms, not a custom CPT, and convert neutralizes the card container into a native query loop.",{"type":39,"tag":402,"props":446,"children":447},{},[],{"type":45,"value":449},"If ",{"type":39,"tag":62,"props":451,"children":453},{"className":452},[],[454],{"type":45,"value":255},{"type":45,"value":456},", stop here: do not resolve todos or write ",{"type":39,"tag":62,"props":458,"children":460},{"className":459},[],[461],{"type":45,"value":113},{"type":45,"value":463},"; fall through to the pure carry convert path.",{"type":39,"tag":172,"props":465,"children":466},{},[467,479,481,487,488,494,496,502,504],{"type":39,"tag":54,"props":468,"children":469},{},[470,472,478],{"type":45,"value":471},"Resolve ONLY the ",{"type":39,"tag":62,"props":473,"children":475},{"className":474},[],[476],{"type":45,"value":477},"skillTodos",{"type":45,"value":143},{"type":45,"value":480}," Each has a ",{"type":39,"tag":62,"props":482,"children":484},{"className":483},[],[485],{"type":45,"value":486},"path",{"type":45,"value":328},{"type":39,"tag":62,"props":489,"children":491},{"className":490},[],[492],{"type":45,"value":493},"instruction",{"type":45,"value":495},", and source ",{"type":39,"tag":62,"props":497,"children":499},{"className":498},[],[500],{"type":45,"value":501},"evidence",{"type":45,"value":503},". Do not re-author filled slots. Typical todos:",{"type":39,"tag":168,"props":505,"children":506},{},[507,658,696,732],{"type":39,"tag":172,"props":508,"children":509},{},[510,518,520,525,527,533,535,541,543,549,551,557,559,565,566,572,573,579,580,586,587,593,594,600,601,607,608,614,615,621,622,627,628,634,635,641,643,649,651,657],{"type":39,"tag":54,"props":511,"children":512},{},[513],{"type":39,"tag":62,"props":514,"children":516},{"className":515},[],[517],{"type":45,"value":419},{"type":45,"value":519}," (JS array path only) — rewrite the per-item card function (in ",{"type":39,"tag":62,"props":521,"children":523},{"className":522},[],[524],{"type":45,"value":501},{"type":45,"value":526},") into a single-root skeleton with ",{"type":39,"tag":62,"props":528,"children":530},{"className":529},[],[531],{"type":45,"value":532},"data-dla-*",{"type":45,"value":534}," bindings preserving the source classes. Grammar: ",{"type":39,"tag":62,"props":536,"children":538},{"className":537},[],[539],{"type":45,"value":540},"data-dla-text\u002Fattr\u002Fclass\u002Fif",{"type":45,"value":542},"; ",{"type":39,"tag":62,"props":544,"children":546},{"className":545},[],[547],{"type":45,"value":548},"\u003Cexpr>",{"type":45,"value":550}," = ",{"type":39,"tag":62,"props":552,"children":554},{"className":553},[],[555],{"type":45,"value":556},"'lit'",{"type":45,"value":558}," | ",{"type":39,"tag":62,"props":560,"children":562},{"className":561},[],[563],{"type":45,"value":564},"id",{"type":45,"value":558},{"type":39,"tag":62,"props":567,"children":569},{"className":568},[],[570],{"type":45,"value":571},"title",{"type":45,"value":558},{"type":39,"tag":62,"props":574,"children":576},{"className":575},[],[577],{"type":45,"value":578},"content",{"type":45,"value":558},{"type":39,"tag":62,"props":581,"children":583},{"className":582},[],[584],{"type":45,"value":585},"cat.slug",{"type":45,"value":558},{"type":39,"tag":62,"props":588,"children":590},{"className":589},[],[591],{"type":45,"value":592},"cat.label",{"type":45,"value":558},{"type":39,"tag":62,"props":595,"children":597},{"className":596},[],[598],{"type":45,"value":599},"meta.\u003Ckey>",{"type":45,"value":558},{"type":39,"tag":62,"props":602,"children":604},{"className":603},[],[605],{"type":45,"value":606},"gallery.\u003Cn>.caption",{"type":45,"value":558},{"type":39,"tag":62,"props":609,"children":611},{"className":610},[],[612],{"type":45,"value":613},"map.\u003Cname>.\u003Cexpr>",{"type":45,"value":542},{"type":39,"tag":62,"props":616,"children":618},{"className":617},[],[619],{"type":45,"value":620},"\u003Ccond>",{"type":45,"value":550},{"type":39,"tag":62,"props":623,"children":625},{"className":624},[],[626],{"type":45,"value":548},{"type":45,"value":558},{"type":39,"tag":62,"props":629,"children":631},{"className":630},[],[632],{"type":45,"value":633},"\u003Cexpr>=='lit'",{"type":45,"value":558},{"type":39,"tag":62,"props":636,"children":638},{"className":637},[],[639],{"type":45,"value":640},"\u003Cexpr>!='lit'",{"type":45,"value":642},". Add value-keyed lookups (e.g. ",{"type":39,"tag":62,"props":644,"children":646},{"className":645},[],[647],{"type":45,"value":648},"CAT_TONE",{"type":45,"value":650},") to ",{"type":39,"tag":62,"props":652,"children":654},{"className":653},[],[655],{"type":45,"value":656},"card.maps",{"type":45,"value":143},{"type":39,"tag":172,"props":659,"children":660},{},[661,670,672,678,680,686,688,694],{"type":39,"tag":54,"props":662,"children":663},{},[664],{"type":39,"tag":62,"props":665,"children":667},{"className":666},[],[668],{"type":45,"value":669},"mounts[i].query.order",{"type":45,"value":671}," — confirm\u002Fadjust ordering + ",{"type":39,"tag":62,"props":673,"children":675},{"className":674},[],[676],{"type":45,"value":677},"perPage",{"type":45,"value":679}," (scaffold defaults to date\u002FDESC). A full\u002Fall\u002Fcomplete catalog grid usually renders in source array order, so set ",{"type":39,"tag":62,"props":681,"children":683},{"className":682},[],[684],{"type":45,"value":685},"order: 'ASC'",{"type":45,"value":687},"; use ",{"type":39,"tag":62,"props":689,"children":691},{"className":690},[],[692],{"type":45,"value":693},"DESC",{"type":45,"value":695}," only for newest\u002Frecent\u002Flatest grids.",{"type":39,"tag":172,"props":697,"children":698},{},[699,722,724,730],{"type":39,"tag":54,"props":700,"children":701},{},[702,708,709,715,716],{"type":39,"tag":62,"props":703,"children":705},{"className":704},[],[706],{"type":45,"value":707},"items[].id",{"type":45,"value":184},{"type":39,"tag":62,"props":710,"children":712},{"className":711},[],[713],{"type":45,"value":714},"items[].title",{"type":45,"value":184},{"type":39,"tag":62,"props":717,"children":719},{"className":718},[],[720],{"type":45,"value":721},"taxonomy",{"type":45,"value":723}," — low-confidence role guesses; confirm or correct. If a value belongs in ",{"type":39,"tag":62,"props":725,"children":727},{"className":726},[],[728],{"type":45,"value":729},"meta",{"type":45,"value":731},", move it (never drop it).",{"type":39,"tag":172,"props":733,"children":734},{},[735,743],{"type":39,"tag":54,"props":736,"children":737},{},[738],{"type":39,"tag":62,"props":739,"children":741},{"className":740},[],[742],{"type":45,"value":398},{"type":45,"value":744}," — check these low-confidence\u002Forphan containers for any dropped grid before converting; add missing mounts only when the source proves they are content-driven.",{"type":39,"tag":172,"props":746,"children":747},{},[748,753,755,761,763,768,770,776,778,783],{"type":39,"tag":54,"props":749,"children":750},{},[751],{"type":45,"value":752},"Validate and write.",{"type":45,"value":754}," Re-check that every ",{"type":39,"tag":62,"props":756,"children":758},{"className":757},[],[759],{"type":45,"value":760},"map.\u003Cname>",{"type":45,"value":762},"\u002F",{"type":39,"tag":62,"props":764,"children":766},{"className":765},[],[767],{"type":45,"value":599},{"type":45,"value":769}," the template references exists, item count == source record count, terms == the source's category set. Write the resolved model to ",{"type":39,"tag":62,"props":771,"children":773},{"className":772},[],[774],{"type":45,"value":775},"\u003Coutput-dir>\u002Fdata-model.json",{"type":45,"value":777},". ",{"type":39,"tag":62,"props":779,"children":781},{"className":780},[],[782],{"type":45,"value":134},{"type":45,"value":784}," auto-activates the data path when that file is present.",{"type":39,"tag":149,"props":786,"children":788},{"id":787},"manual-fallback-if-the-scaffold-tool-is-unavailable",[789],{"type":45,"value":790},"Manual fallback (if the scaffold tool is unavailable)",{"type":39,"tag":48,"props":792,"children":793},{},[794,795,801,803,808,810,815,817,823,825,830,832,838,840,845,847,852,854,860,862,867,869,874,876,881],{"type":45,"value":449},{"type":39,"tag":62,"props":796,"children":798},{"className":797},[],[799],{"type":45,"value":800},"liberate_data_model_scaffold",{"type":45,"value":802}," is not registered (e.g. the MCP server hasn't restarted to pick it up) or errors, author ",{"type":39,"tag":62,"props":804,"children":806},{"className":805},[],[807],{"type":45,"value":113},{"type":45,"value":809}," by hand: read the source JS or static card HTML, copy every record into ",{"type":39,"tag":62,"props":811,"children":813},{"className":812},[],[814],{"type":45,"value":350},{"type":45,"value":816}," (id\u002Ftitle\u002Fcontent → as appropriate, category → ",{"type":39,"tag":62,"props":818,"children":820},{"className":819},[],[821],{"type":45,"value":822},"terms",{"type":45,"value":824},", other fields → ",{"type":39,"tag":62,"props":826,"children":828},{"className":827},[],[829],{"type":45,"value":729},{"type":45,"value":831},", image lists → ",{"type":39,"tag":62,"props":833,"children":835},{"className":834},[],[836],{"type":45,"value":837},"gallery",{"type":45,"value":839},"), enumerate ",{"type":39,"tag":62,"props":841,"children":843},{"className":842},[],[844],{"type":45,"value":358},{"type":45,"value":846},", list ",{"type":39,"tag":62,"props":848,"children":850},{"className":849},[],[851],{"type":45,"value":366},{"type":45,"value":853},", map each empty mount or repeated card container to a ",{"type":39,"tag":62,"props":855,"children":857},{"className":856},[],[858],{"type":45,"value":859},"query",{"type":45,"value":861},", author ",{"type":39,"tag":62,"props":863,"children":865},{"className":864},[],[866],{"type":45,"value":419},{"type":45,"value":868}," with the ",{"type":39,"tag":62,"props":870,"children":872},{"className":871},[],[873],{"type":45,"value":532},{"type":45,"value":875}," grammar above, and set ",{"type":39,"tag":62,"props":877,"children":879},{"className":878},[],[880],{"type":45,"value":382},{"type":45,"value":882}," when JS arrays were used. Never drop or summarize a record or field.",{"type":39,"tag":149,"props":884,"children":886},{"id":885},"faithfulness-rules",[887],{"type":45,"value":888},"Faithfulness rules",{"type":39,"tag":168,"props":890,"children":891},{},[892],{"type":39,"tag":172,"props":893,"children":894},{},[895],{"type":45,"value":896},"Never drop or summarize a record or field. The card render runs server-side (frontend AND the editor query-loop preview), so the binding must reproduce the source card markup exactly. Surface honest gaps rather than inventing data.",{"items":898,"total":1009},[899,914,931,946,959,976,994],{"slug":900,"name":900,"fn":901,"description":902,"org":903,"tags":904,"stars":22,"repoUrl":23,"updatedAt":913},"adapt","build platform adapters for content extraction","Build a new platform adapter to extract content from an unsupported platform (Blogger, Ghost, Tumblr, etc.)",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[905,908,909,912],{"name":906,"slug":907,"type":15},"Automation","automation",{"name":20,"slug":21,"type":15},{"name":910,"slug":911,"type":15},"Data Engineering","data-engineering",{"name":13,"slug":14,"type":15},"2026-05-09T05:32:13.987972",{"slug":915,"name":915,"fn":916,"description":917,"org":918,"tags":919,"stars":22,"repoUrl":23,"updatedAt":930},"compose-page-blocks","compose WordPress block markup from HTML","Compose a single liberated page's WordPress block-editor markup from its rendered HTML and screenshot. Inputs are a sanitized HTML file, a desktop screenshot, the design-foundation tokens, the URL's archetype (page\u002Fpost\u002Fproduct\u002Fetc.), and the source URL. Output is a string of valid block markup that round-trips through parse_blocks, uses theme tokens (no inlined hex colors), and contains only text drawn from the source HTML. Call per-page during the streaming watch loop after extraction has produced HTML+screenshot for that URL. Use when a freshly-imported page needs `post_content` upgraded from raw HTML into block-editor markup so the replica theme's tokens, gradients, and patterns actually render.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[920,923,926,929],{"name":921,"slug":922,"type":15},"Block Editor","block-editor",{"name":924,"slug":925,"type":15},"Content Creation","content-creation",{"name":927,"slug":928,"type":15},"HTML","html",{"name":13,"slug":14,"type":15},"2026-06-08T08:17:34.212397",{"slug":932,"name":932,"fn":933,"description":934,"org":935,"tags":936,"stars":22,"repoUrl":23,"updatedAt":945},"creating-blocks","create new WordPress blocks","Templates and guidelines for creating new WordPress blocks from scratch — load this before generating block files",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[937,938,941,944],{"name":921,"slug":922,"type":15},{"name":939,"slug":940,"type":15},"Full Site Editing","full-site-editing",{"name":942,"slug":943,"type":15},"Plugin Development","plugin-development",{"name":13,"slug":14,"type":15},"2026-06-08T08:17:49.413995",{"slug":947,"name":947,"fn":948,"description":949,"org":950,"tags":951,"stars":22,"repoUrl":23,"updatedAt":958},"creating-themes","create WordPress block themes","Guidelines for creating new WordPress block themes from scratch — load this before generating theme files",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[952,953,954,957],{"name":921,"slug":922,"type":15},{"name":939,"slug":940,"type":15},{"name":955,"slug":956,"type":15},"Themes","themes",{"name":13,"slug":14,"type":15},"2026-06-08T08:17:50.666611",{"slug":960,"name":960,"fn":961,"description":962,"org":963,"tags":964,"stars":22,"repoUrl":23,"updatedAt":975},"design-foundations","build design foundation JSON from sites","Build a coherent design-foundation JSON from a liberated site — semantic color\u002Ftypography\u002Fspacing roles with evidence trails. Consumes the partial scaffold produced by liberate_design_foundation_scaffold plus aggregate HTML\u002FCSS analysis and representative rendered HTML; produces a complete design-foundation matching the schema. Call after liberation, before theme generation.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[965,966,969,972],{"name":17,"slug":18,"type":15},{"name":967,"slug":968,"type":15},"Design","design",{"name":970,"slug":971,"type":15},"Design System","design-system",{"name":973,"slug":974,"type":15},"Frontend","frontend","2026-06-08T08:17:44.457834",{"slug":977,"name":977,"fn":978,"description":979,"org":980,"tags":981,"stars":22,"repoUrl":23,"updatedAt":993},"design-qa","run visual QA on WordPress themes","Visual-QA loop run after replica theme install and content import. Captures replica screenshots, applies a hard responsiveness gate at 390px AND a hard per-section visual-parity gate (measured SectionParity records, verdict computed by buildRunReport), runs qualitative vision review of source\u002Freplica pairs, checks accessibility, and drives a per-section escalation ladder of fixes via editing-themes\u002Fediting-blocks\u002Frebuild-section (R1 CSS → R2 spec-rebuild → R3 re-extract → R4a AI canonical-block rebuild → R4b deterministic styled-island floor) — escalating unresolved divergences to the operator rather than shipping them. Orchestration-internal — invoked by the replicate-with-blocks\u002Fliberate orchestrators, not directly by users.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[982,985,988,991,992],{"name":983,"slug":984,"type":15},"QA","qa",{"name":986,"slug":987,"type":15},"Screenshots","screenshots",{"name":989,"slug":990,"type":15},"Testing","testing",{"name":955,"slug":956,"type":15},{"name":13,"slug":14,"type":15},"2026-06-08T08:17:45.698278",{"slug":995,"name":995,"fn":996,"description":997,"org":998,"tags":999,"stars":22,"repoUrl":23,"updatedAt":1008},"diagnose","debug failed data extraction processes","Debug failed or low-quality extractions by analyzing logs, probing the source site, and identifying root causes",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1000,1001,1004,1007],{"name":910,"slug":911,"type":15},{"name":1002,"slug":1003,"type":15},"Debugging","debugging",{"name":1005,"slug":1006,"type":15},"Logs","logs",{"name":983,"slug":984,"type":15},"2026-05-10T05:48:11.267642",21,{"items":1011,"total":1181},[1012,1031,1044,1058,1075,1090,1100,1115,1130,1141,1154,1170],{"slug":1013,"name":1013,"fn":1014,"description":1015,"org":1016,"tags":1017,"stars":1028,"repoUrl":1029,"updatedAt":1030},"annotate","collect visual feedback with browser annotation tools","Open a browser with visual annotation tools. The user clicks elements on their site and leaves feedback — the agent reads annotations and makes changes. Use this when the user wants to point at specific elements to fix, tweak, or redesign.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1018,1019,1022,1025],{"name":973,"slug":974,"type":15},{"name":1020,"slug":1021,"type":15},"Productivity","productivity",{"name":1023,"slug":1024,"type":15},"UX Copy","ux-copy",{"name":1026,"slug":1027,"type":15},"UX Design","ux-design",484,"https:\u002F\u002Fgithub.com\u002FAutomattic\u002Fstudio","2026-05-06T05:40:01.516544",{"slug":1032,"name":1032,"fn":1033,"description":1034,"org":1035,"tags":1036,"stars":1028,"repoUrl":1029,"updatedAt":1043},"block-content","write editable WordPress block markup","Write editable WordPress block markup for local Studio sites, including core\u002Fhtml limits, block-theme layout rules, full-width sections, validation, and skeleton-first page\u002FCSS recipes.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1037,1038,1041,1042],{"name":921,"slug":922,"type":15},{"name":1039,"slug":1040,"type":15},"CSS","css",{"name":927,"slug":928,"type":15},{"name":13,"slug":14,"type":15},"2026-05-27T07:01:55.629681",{"slug":1045,"name":1045,"fn":1046,"description":1047,"org":1048,"tags":1049,"stars":1028,"repoUrl":1029,"updatedAt":1057},"hosting-plans-helper","provide WordPress.com hosting plan information","Answer WordPress.com plan, pricing, upgrade, and feature-tier questions (plan names, what each tier unlocks — plugins, themes, custom code, SSH, hosting — and current prices) from authoritative live data. Load before answering ANY plan, pricing, or feature-gating question; never answer these from memory.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1050,1053,1056],{"name":1051,"slug":1052,"type":15},"Pricing","pricing",{"name":1054,"slug":1055,"type":15},"Reference","reference",{"name":13,"slug":14,"type":15},"2026-07-02T07:42:33.654791",{"slug":1059,"name":1059,"fn":1060,"description":1061,"org":1062,"tags":1063,"stars":1028,"repoUrl":1029,"updatedAt":1074},"liberate","migrate websites to WordPress","Import and rebuild a website from a closed platform (Wix, Squarespace, Webflow, Shopify, GoDaddy, Hostinger, HubSpot, Weebly) into a Studio WordPress site. Extracts pages\u002Fposts\u002Fproducts + media, then reconstructs the design as editable blocks + WooCommerce OR as a high-fidelity replica theme. Invoke when the user wants to migrate, import, liberate, or rebuild a site from one of these platforms.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1064,1067,1070,1073],{"name":1065,"slug":1066,"type":15},"CMS","cms",{"name":1068,"slug":1069,"type":15},"Migration","migration",{"name":1071,"slug":1072,"type":15},"Web Development","web-development",{"name":13,"slug":14,"type":15},"2026-07-09T06:47:33.454311",{"slug":1076,"name":1076,"fn":1077,"description":1078,"org":1079,"tags":1080,"stars":1028,"repoUrl":1029,"updatedAt":1089},"need-for-speed","run frontend performance audits for WordPress sites","Run a frontend performance audit on a WordPress site and get actionable optimization recommendations.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1081,1084,1085,1088],{"name":1082,"slug":1083,"type":15},"Audit","audit",{"name":973,"slug":974,"type":15},{"name":1086,"slug":1087,"type":15},"Performance","performance",{"name":13,"slug":14,"type":15},"2026-05-06T05:40:06.433267",{"slug":1091,"name":1091,"fn":1092,"description":1093,"org":1094,"tags":1095,"stars":1028,"repoUrl":1029,"updatedAt":1099},"plugin-recommendations","recommend WordPress plugins for site features","Choose recommended plugins and plugin-provided blocks for features core WordPress blocks do not cover - ecommerce (WooCommerce), forms and newsletters (Jetpack), online courses and quizzes (Sensei LMS), polls, surveys and ratings (Crowdsignal), spam protection (Akismet) - while keeping generated content editable and avoiding raw HTML fallbacks. Any request to sell products or build a shop, store, or storefront requires WooCommerce with products.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1096,1097,1098],{"name":924,"slug":925,"type":15},{"name":942,"slug":943,"type":15},{"name":13,"slug":14,"type":15},"2026-05-27T07:01:58.249105",{"slug":1101,"name":1101,"fn":1102,"description":1103,"org":1104,"tags":1105,"stars":1028,"repoUrl":1029,"updatedAt":1114},"rank-me-up","run on-page SEO audits for WordPress sites","Run an on-page SEO audit on a WordPress site and get actionable recommendations to improve search visibility.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1106,1107,1110,1113],{"name":1082,"slug":1083,"type":15},{"name":1108,"slug":1109,"type":15},"Marketing","marketing",{"name":1111,"slug":1112,"type":15},"SEO","seo",{"name":13,"slug":14,"type":15},"2026-05-06T05:40:05.196367",{"slug":1116,"name":1116,"fn":1117,"description":1118,"org":1119,"tags":1120,"stars":1028,"repoUrl":1029,"updatedAt":1129},"site-spec","gather specifications for new WordPress sites","Gather the site name and layout preference before building a WordPress site. Run this before creating any new site.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1121,1122,1125,1128],{"name":967,"slug":968,"type":15},{"name":1123,"slug":1124,"type":15},"Product Management","product-management",{"name":1126,"slug":1127,"type":15},"Specs","specs",{"name":13,"slug":14,"type":15},"2026-05-06T05:40:02.739409",{"slug":1131,"name":1131,"fn":1132,"description":1133,"org":1134,"tags":1135,"stars":1028,"repoUrl":1029,"updatedAt":1140},"studio-cli","manage local WordPress sites with Studio CLI","Use the Studio CLI to manage local WordPress sites, authentication, and preview sites. Invoke this skill when you need to run Studio CLI commands, manage sites, or troubleshoot site issues.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1136,1139],{"name":1137,"slug":1138,"type":15},"CLI","cli",{"name":13,"slug":14,"type":15},"2026-04-06T18:02:57.150231",{"slug":1142,"name":1142,"fn":1143,"description":1144,"org":1145,"tags":1146,"stars":1028,"repoUrl":1029,"updatedAt":1153},"taxonomist","optimize WordPress category taxonomy","Analyze and optimize a WordPress site's category taxonomy. Exports all posts, uses AI to suggest an improved category structure — merging duplicates, retiring dead categories, creating missing ones, writing descriptions, and re-categorizing posts. Run this when the user wants to clean up or improve their categories.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1147,1150,1151,1152],{"name":1148,"slug":1149,"type":15},"Content Strategy","content-strategy",{"name":20,"slug":21,"type":15},{"name":1111,"slug":1112,"type":15},{"name":13,"slug":14,"type":15},"2026-05-06T05:40:03.966799",{"slug":1155,"name":1155,"fn":1156,"description":1157,"org":1158,"tags":1159,"stars":1028,"repoUrl":1029,"updatedAt":1169},"visual-design","plan and execute visual design direction","Plan and execute high-quality visual direction for site creation, redesign, layout, typography, color, motion, and visual polish.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1160,1163,1164,1167],{"name":1161,"slug":1162,"type":15},"Animation","animation",{"name":967,"slug":968,"type":15},{"name":1165,"slug":1166,"type":15},"Typography","typography",{"name":1168,"slug":1155,"type":15},"Visual Design","2026-07-24T05:40:57.887452",{"slug":1171,"name":1171,"fn":1172,"description":1173,"org":1174,"tags":1175,"stars":1028,"repoUrl":1029,"updatedAt":1180},"visual-polish","verify and polish website visual design","Verify and polish a built or redesigned site by diagnosing rendered-DOM issues against intent and fixing them in a planned, batched screenshot-and-fix loop.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1176,1177,1178,1179],{"name":1002,"slug":1003,"type":15},{"name":973,"slug":974,"type":15},{"name":986,"slug":987,"type":15},{"name":1168,"slug":1155,"type":15},"2026-06-06T07:09:59.809812",81]