[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CYBD9G35S7HAW48NPCGGPK":3,"skill-same:01M7CYBD9G35S7HAW48NPCGGPK":98},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":26,"commitSha":27,"skillDirectory":28,"forksCount":29,"repositoryHtmlUrl":30,"repositoryHomepageUrl":6,"ownerHtmlUrl":31,"ownerBlogUrl":32,"ownerDescription":33,"updatedAt":34,"install":35,"resources":47},"01M7CYBD9G35S7HAW48NPCGGPK","feature-design",null,"Decides how to build an Umbraco feature: extension points, data model, Management API surface and frontend components, written to ARCHITECTURE.md, SPEC.md and mockups. Use once feature-explore has defined the problem, or on its own to capture a mockup starter for a product screen.","mattbrailsford\u002Fumbraco-devkit","mattbrailsford","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F527305?v=4","01M7CY974D4XX1P90YSXQC1T39","Matt Brailsford","01M7CY9751PSRA3EHBH03G936J",3,"MIT","https:\u002F\u002Fgithub.com\u002Fmattbrailsford\u002Fumbraco-devkit\u002Fblob\u002Fmain\u002Fplugins\u002Fumbraco-devkit\u002Fskills\u002Ffeature-design\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: feature-design\ndescription: >-\n  Decides how to build an Umbraco feature: extension points, data model, Management API\n  surface and frontend components, written to ARCHITECTURE.md, SPEC.md and mockups. Use once\n  feature-explore has defined the problem, or on its own to capture a mockup starter for a\n  product screen.\nuser-invocable: true\nargument-hint: \"[feature slug or plan folder path, and\u002For area to focus, optional]\"\n---\n\n# feature-design\n\n> 🎯 **Design for change.** Every decision here is judged by one question: when this\n> changes, how big is the diff? Pick the Umbraco extension points, seams, and data shapes\n> that make the *next* change small and local — not the ones that are merely first to mind.\n\nDecide *how* to build what `feature-explore` defined. Output: which parts of Umbraco you're\nextending, the data model (if any), the Management API surface (if any), and the frontend\ncomponent shape (if any).\n\n## Where this writes\n\nThe same per-feature plan folder `feature-explore` started. Owns two files, plus a `mockups\u002F`\nfolder when the feature has a UI and a `diagrams\u002F` folder when a picture explains it:\n\n- **`ARCHITECTURE.md`** — the internal structural decisions: which extension point(s), the\n  data model, key decisions with their rationale and the rejected alternative. This answers\n  \"how is it built, and why.\"\n- **`SPEC.md`** — the externally observable contract: the Management API surface and the\n  frontend components' expected behavior, in concrete, testable terms. This answers \"what must\n  it do,\" and is what `feature-plan` slices into stories — keep it testable, not vague.\n\nEach fact goes in one of the two, never both (`plain-writing`'s \"One fact, one place\").\nAnything a user or a caller can see goes in `SPEC.md`: routes and their shapes, limits,\npermissions, what happens to a duplicate. `ARCHITECTURE.md` points to it (\"what they do:\nSPEC\") instead of repeating it. Neither repeats `BRIEF.md`'s problem, audience or non-goals.\n- **`mockups\u002F\u003Cscreen>.html` + `mockups\u002F\u003Cscreen>.png`** — one static mockup per new or changed\n  screen (or user-facing email), and its screenshot. This answers \"what will it look like,\" and\n  is what the human approves before any UI code is written. See \"Mockup each screen\" and\n  \"Mockup a user-facing email\" below.\n- **`diagrams\u002F\u003Cname>.svg`** — one diagram per idea that `ARCHITECTURE.md` or `SPEC.md` would\n  otherwise explain in prose: the main flow, the order of calls, a record's statuses, the\n  data model, which layer holds what. Drawn following `diagrams`.\n\nOutside the plan folder, it also owns the project's shared mockup starters in\n`docs\u002Fmockups\u002Fstarters\u002F` (see \"Project starters\" below), created only when a product surface\nis distinct enough to need one.\n\nRead `BRIEF.md` — design must serve it, not redefine it. As with `feature-explore`: if the project\nhas its own plan-folder convention, fold this content into that shape, but keep the discipline\nof touching only these files; that's the point, not the specific file names.\n\nAlso updates its own two rows in `README.md` (the index `feature-explore` created) — same\nappend-only discipline as `DECISION-LOG.md`: never touch a row owned by another phase.\n\n## Scope\n\n- IN: which Umbraco extension point(s) to use (property editor, dashboard, content app,\n  section, notification handler, middleware, tree, workspace, etc.), data model & persistence\n  (EF Core entities\u002Fmigrations, or none), Management API surface (controllers, DTOs, routes),\n  frontend component boundaries, static mockups of each new or changed screen and of any\n  user-facing email the feature sends, build-vs-buy, key tradeoffs, which connected systems a\n  change of this kind conventionally touches (see \"Connected-pattern check\" below).\n- OUT: the problem\u002Fwhy (`feature-explore` — read it, don't redo it), task breakdown\n  (`feature-plan`), actual code (`feature-build`).\n\n## Preflight\n\nIf the request is only to capture a project mockup starter, skip this preflight: no plan\nfolder or `BRIEF.md` is needed. Read the project's `CLAUDE.md` for the Umbraco version, then\ngo straight to \"Project starters\".\n\n1. Resolve which feature this run is for. If the argument names a plan folder (its path or\n   feature slug), use it. Else, if more than one plan folder exists, prefer a match\n   between the current branch\u002Fworktree name and a folder name (see `CLAUDE.md`'s \"Finding the\n   current feature's plan folder\" rule) — this is the normal case once `feature-build` has\n   started. If nothing matches, fall back to the one plan folder present, or ask if more than\n   one is ambiguous.\n2. Read `BRIEF.md` in the resolved folder. If it still has open questions or is missing,\n   surface that and offer to bounce back to `feature-explore` — designing against an undefined\n   problem is wasted work.\n3. Read the project's `CLAUDE.md` for existing architectural conventions (folder structure,\n   namespace rules, extension patterns already in use) — a new feature should extend the\n   grain of the codebase, not fight it.\n4. Check the whole plan folder for unresolved review comments and approvals, following\n   `markdown-preview`'s \"Comments before moving on\". Open ones on `ARCHITECTURE.md` and `SPEC.md` are input to\n   this run.\n\n## Connected-pattern check\n\nSome changes belong to a *kind* the codebase already has conventions for — a new property on\na content\u002Fmodel type, a new CRUD method on a repository, a new entity type — and that kind\nconventionally fans out to systems well outside the file being changed: version history\u002Faudit\ntrail, Deploy import\u002Fexport connectors, search indexing, cache refreshers, before\u002Fafter\nnotification events, permission checks. Missing one of these doesn't fail a build or a test —\nit ships a feature that quietly doesn't round-trip through Deploy, or doesn't show up in\nversion history, and nobody notices until a user does.\n\nBefore drafting `ARCHITECTURE.md`, decide if this feature is that kind of addition. If it is:\n\n1. **Check docs first.** If `CLAUDE.md` or another skill already states what a change of this\n   kind must touch, that's ground truth — skip straight to step 3. For Deploy and uSync,\n   `umbraco-env-sync`'s \"Keep sync in step\" table is that statement.\n2. **Otherwise, sample sibling implementations.** Find two or three existing siblings of the\n   same kind (properties on similar models, similar entity types, similar CRUD methods) and\n   read what each one currently wires up. If they agree, that's the pattern. If they disagree,\n   put the split in `ARCHITECTURE.md`'s callout as an open question with the siblings'\n   behaviors as options, rather than picking one.\n3. For each system the pattern touches, decide: does this feature need the same treatment?\n   Carry the ones that apply into `ARCHITECTURE.md`'s \"What changes\" and `SPEC.md`'s rules so\n   `feature-plan` slices them into real tasks. Name the ones that don't apply, with a few words\n   on why, in the \"Not touched\" line, so it reads as a deliberate cut, not an oversight.\n\nThis is a different altitude than `reviewer`'s sibling-comparison step: reviewer catches a\nmissed cross-cutting concern on the *same class* after the code is written; this catches a\nmissed *subsystem* before a single task is planned. Skipping this step doesn't fail review —\nit just means the gap ships, because nothing else in the pipeline looks for it.\n\n## Backoffice UX check (features with a UI)\n\nIf `SPEC.md` has a screen section, invoke `umbraco-backoffice-ux` and apply\nit before finalizing the design:\n\n1. **Pick each component by its convention**, not the plainest control that works. Above all,\n   anything that chooses an entity is a picker, not a select box. A select chosen over a picker\n   gets a line in `ARCHITECTURE.md` saying why.\n2. **Walk the five moments** (first run, mistake, wait, finish, return) for each screen. Each\n   one that applies becomes one ordinary line in `SPEC.md`, same as any other observable\n   behaviour, that `feature-plan` slices into a task like anything else. One that doesn't apply is\n   noted as a deliberate skip.\n3. **List every place each component will appear**, so the mockups and the spec cover all of\n   them.\n4. **A CMS component reused somewhere new is a risky assumption.** A picker, input or\n   property editor can behave differently outside the screen it was built for. Prove it as\n   \"Prove the riskiest assumptions\" below describes.\n\n### Mockup each screen\n\nA screen described in words can't be judged until it's built. \"A summary box and a by-model\ntable, styled like the Usage dashboard\" reads fine in `SPEC.md` and still ships with the wrong\nbox layout, a column nobody needs, and a chart people misread — each one found only once the\ncode exists, and each one a fix-and-rebuild round trip. A picture gets the same feedback in\nminutes, before a task is planned.\n\nEvery new or visibly changed screen gets a mockup; none is optional. If the session is too\nlong to finish them, stop and say which screens are left, so the user can re-run this phase\nin a fresh session. Never hand off with a screen described but not drawn.\n\nFor each screen the feature adds or visibly changes:\n\n1. **Match the sibling screen first.** Following `umbraco-backoffice-ux`'s \"Match what's already\n   there\", open the nearest existing screen of the same kind and write down its layout rules\n   before drawing anything. A new screen that looks like a stranger next to its neighbours is\n   the most common UI fix, and the cheapest to prevent.\n2. **Start from a project starter if one fits, otherwise the matching pattern in\n   `templates\u002Fmockups\u002F`.** Check the project's `docs\u002Fmockups\u002Fstarters\u002F` first (see \"Project\n   starters\" below). Otherwise, almost every backoffice screen is one of a handful of\n   patterns, and each has a starter:\n\n   | Pattern | Starter | Covers |\n   |---|---|---|\n   | Dashboard | `dashboard.html` | Dashboard tabs, summary boxes, chart box, box with an edge-to-edge table |\n   | Collection (list) view | `collection.html` | Toolbar (create, filter, view switch), table with status tags and selection, bulk action bar, pagination; content cards and empty state as alternatives |\n   | Media card view | `collection-media.html` | Grid of folder, image and file cards, selection, bulk action bar |\n   | Editor (workspace) | `editor.html` | Header (back, icon, name, \"...\" actions menu, view tabs), count badges on a view tab and a content tab, property groups, a picker property, footer with save actions, toast; `editor.html#save-options` shows the save options menu |\n   | Sidebar modal (picker) | `modal-sidebar.html` | Slide-in panel for choosing from a list, small\u002Fmedium\u002Flarge widths |\n   | Sidebar modal (form) | `modal-form.html` | Slide-in panel for create\u002Fedit forms — property rows inside a `uui-box` group, same as `editor.html`'s groups |\n   | Dialog modal | `modal-dialog.html` | Centred confirm box, positive or danger action |\n\n   Every starter carries the backoffice chrome: the header with **section tabs** and the\n   sidebar with the **tree**, so those are set on whichever starter the screen uses — mark the\n   new section tab or tree item active. Copy `_mockup.css` and `_mockup.js` into `mockups\u002F`\n   once, copy the starter to `mockups\u002F\u003Cscreen>.html`, and replace what's between its \"Replace\n   from here\" and \"Replace to here\" comments. Delete the parts the screen doesn't use. Open\n   menus (`.popover-menu`) sit in a `.popover-anchor` beside their trigger; a page that needs\n   a second open state uses the `on-target` class and is shot at `\u003Cscreen>.html#\u003Cid>`.\n\n   A few more patterns build from these: a **property editor** is one `.property` row in\n   `editor.html`; an editor's **Info view** is the editor's main area as a two-column grid\n   (`1fr 350px`, 24px gap) with stacked boxes left and a \"General\" box right; a **search or\n   filter bar** above a box is the collection toolbar without its create button; a **state\nmarker on a tree item** (shared, scheduled, locked) is an entity sign on Umbraco 17 and\nlater, a small icon on the corner of the item's own icon: wrap the item's icon in\n`_mockup.css`'s `.entity-sign`, not a swapped icon or a second icon or line by the name. Property\n   rows always sit inside a `uui-box` group, never loose on the page or modal background —\n   `modal-form.html` is `modal-sidebar.html`'s shell with that content instead of a picker\n   list; reach for it whenever the modal's job is to create or edit something, not choose\n   from a list. A property row stacks (label, then description, then the editor, full width)\n   or sits side by side (a fixed label column next to the editor) purely by how wide the row\n   itself renders, not by which starter or modal size it's in — `_mockup.css` already does\n   this with a container query, the same way the real `umb-property-layout` component does,\n   so it's never something to add by hand per screen. A property row that looks wrong is\n   almost always a sign something else broke its width (an unexpected `max-width`, a modal\n   narrower than intended), not a layout to override directly.\n\n   A property with a validation problem — a duplicate alias, a value that fails a rule — gets\n   the real mistake-moment treatment, not an invented one: inside the `uui-label`, right after\n   its text, a small red `!` badge (`\u003Cspan class=\"invalid-badge\">\u003Cuui-badge color=\"danger\"\n   attention>!\u003C\u002Fuui-badge>\u003C\u002Fspan>` — the span is required, since `uui-badge` positions itself\n   absolutely by default and needs a small relatively-positioned box to land in rather than\n   the corner of the page), and a `\u003Cdiv class=\"validation-message\">` as the last thing in the\n   editor column, holding the one-line error. `_mockup.css` styles both already. Show it on\n   the one field with the problem, not every field, matching the real\n   `umb-form-validation-message` component. A screen that fits none of them starts from the\n   closest starter, and the mockup notes which.\n\n   The starters load the real UUI elements, theme and Umbraco's own backoffice icons from the\n   CDN (`\u003Cuui-icon name=\"icon-*\">` uses the same icon names the code will), and\n   `_mockup.css` recreates the `umb-*` layout elements with values copied from the backoffice\n   source. So the mockup is built from the same parts the code will be, with no separate\n   design system to keep in sync. Set `UMBRACO_VERSION` at the top of `_mockup.js` to the\n   Umbraco major the project targets (from `CLAUDE.md`; the newest one when it targets more\n   than one). It picks the look: 18 has UUI's rounder corners, 17 the squarer 3px ones and\n   pink highlight. A newer major, or its beta, gets the newest look the starters have; most\n   majors look like the one before. Umbraco 17.6+ and 18 use UUI 2 (the default); 17.5 and older use UUI 1\n   (see the note in `_mockup.js`). Static HTML only: no build step, no data fetching, no charting\n   library (a rough inline SVG of the right chart type is enough).\n3. **For a component that already exists and runs in the product, copy its real source —\n   don't invent it.** A chat bubble from the product's own chat package, a bespoke chart, any\n   custom control that isn't plain UUI: read its actual CSS\u002Fmarkup (the same discipline\n   \"Project starters\" below uses for the backoffice chrome) and copy its real colours,\n   spacing and shape. A plausible-looking guess is exactly the kind of difference a human\n   catches by eye and sends back as a fix-and-rebuild round trip, instead of being resolved in\n   the one minutes-long look that was the point of mocking it up.\n4. **Use realistic fake data.** Real-looking names and real magnitudes, one long value that\n   might wrap, one row in a warning or error state. Placeholder text hides the questions that\n   matter — whether a range reads better as one number, whether a column earns its space,\n   whether a first-time viewer understands what a chart is showing.\n5. **Mock the five moments that apply.** The empty state and error state are their own small\n   variants (a second section in the same file, or `\u003Cscreen>-empty.html`), not something left\n   for the builder to invent.\n6. **Check the styling.** Run `python3 \u003Cthis skill's folder>\u002Fscripts\u002Fcheck_mockup.py --starter\n   \u003Cthe starter it was copied from> mockups\u002F\u003Cscreen>.html`. It compares the page with its\n   starter and flags only what the screen added: custom CSS, inline styles, raw colours\n   (including a colour fallback inside `var()`), `!important`, and headings with no class.\n   Invented styling is what makes the feature's own part look \"not Umbraco\": a made-up row\n   where a `.property` row belongs, a guessed colour, an override fighting a rule nobody read.\n   Fix each finding with the real part. Keep one only when it's copied from the product's real\n   source (step 3), with a `mockup-ok: \u003Cwhere it's from>` comment on the line, or on a CSS\n   rule's opening line. Re-run until it prints \"Nothing flagged\". Styling you keep goes in one\n   `mockups\u002F\u003Cfeature-slug>.css` that every screen of the feature links, not in each page's own\n   `\u003Cstyle>` block: with a copy per page, a fix made on one screen is missed on the next and\n   the screens drift apart. The check reads linked stylesheets too.\n7. **Screenshot and show it.** Serve the folder locally (the pages load ES modules, so\n   `file:\u002F\u002F` won't work), wait for `html[data-mockup-ready]` so UUI, icons and any toast have\n   finished loading, then check the console for warnings before screenshotting — a missing\n   icon name (`No backoffice icon named icon-*`) is the common one, and it's free to catch\n   since the loader already prints it. Screenshot each mockup at a backoffice-sized viewport\n   (1440×900), taking the full page at that width when the mockup runs past 900px, so no\n   state or section is cut off at the bottom. Open the image and check every part of the\n   mockup is in it whole. Save it beside the HTML as `\u003Cscreen>.png`, and show it to the human with the\n   two or three choices you're least sure of named underneath. Revise the HTML on feedback\n   and re-shoot; the screenshot in the folder is always the current one.\n\n#### Project starters\n\nSome products have their own surface that most of their features land on: Umbraco.AI's\nCopilot sidebar, Automate's flow editor. The general starters can't draw these, and mocking a\nCopilot feature on a generic editor page hides the questions that matter (does it fit a\nnarrow sidebar, how does it sit among flow nodes). A project starter captures that surface\nonce so every later feature reuses it.\n\nA starter gets made one of two ways:\n\n- **On first need:** while mocking a feature's screen, the surface passes the test below and\n  no starter exists yet.\n- **On request:** someone asks for one ahead of time, usually because they know several\n  upcoming features will land on that surface. Apply the first test only; the second is the\n  requester's call, since they know what's coming. If the surface can be drawn from a general\n  starter, say which one and don't save a project starter. Show the finished starter's\n  screenshot for approval, then leave it uncommitted and tell the user, since there's no\n  build to commit it with (committing follows `git-workflow`).\n\n**On first need, capture one only when both are true:**\n\n1. **It can't be drawn from a general starter.** The surface's own layout or chrome differs\n   (a docked panel over the backoffice, a canvas of connected nodes, a chat thread), not just\n   the content between the \"Replace from here\" comments. A dashboard with unusual boxes is\n   still a dashboard: use `dashboard.html`.\n2. **Features keep landing on it.** It's a host surface the product's features are built\n   into, not one screen of this feature. If it's a one-off, draw it inside this feature's own\n   mockup and don't save a starter.\n\nWhen both are true and no starter exists yet:\n\n- **It's a drawing of the surface, not the surface.** Like the general starters, it's static\n  HTML and CSS plus UUI elements, built to look like the real thing. Never load the product's\n  own components, bundles or libraries into it (a flow editor's React canvas, the Copilot's\n  chat element, the package's built JS): they need the running app, they break outside it, and\n  they make the starter as hard to change as the product. Draw a flow node as a styled box and\n  a connector as an inline SVG line; draw a chat thread as stacked message boxes.\n- Build it the same way the general starters were built: read the product's own source for\n  that surface and copy its layout, spacing and colours into an HTML page that uses\n  `_mockup.css` and `_mockup.js`, with a \"Replace from here\" \u002F \"Replace to here\" region where\n  feature content goes. Screenshot the real surface, if a running site is available, and\n  compare.\n- Save it to `docs\u002Fmockups\u002Fstarters\u002F\u003Csurface>.html`, with the surface's own CSS in\n  `\u003Csurface>.css` beside it (linked, not a `\u003Cstyle>` block) and a copy of `_mockup.css` and\n  `_mockup.js`, so it previews on its own. A feature reusing it copies the HTML and the CSS\n  into `mockups\u002F`, and every screen links that one CSS copy.\n- Start the file with a comment naming the source files it copies and the commit it was\n  copied from (`git rev-parse HEAD`).\n- Run the styling check (step 6 above) against the general starter it was built from. Each\n  rule copied from the product's source gets a `mockup-ok:` comment naming the file it came\n  from; a rule with no source to name is a guess, so read the source first.\n\nWhen reusing a project starter, first check whether its source files have changed since that\ncommit (`git log --oneline \u003Ccommit>..HEAD -- \u003Csource files>`). If they have, refresh the\nstarter before copying it, and update the commit in its comment.\n\nFidelity has two zones. **What the feature adds or changes** is drawn as close to the built\nscreen as the starter's parts allow: real components, real spacing tokens, real data shapes,\nand a clean styling check. It's what the human approves and the builder copies. **Everything\naround it** (the header, the tree, the page behind a modal) stays as the starter drew it: set\nthe active section tab and tree item, use plausible names, and stop. The backdrop isn't\nwhat's being decided, so time spent restyling it is time not spent on the feature. Final\ncolour tweaks and dark-mode polish still happen on the built screen.\n\nEach screen section in `SPEC.md` shows its mockup's screenshot inline at full size\n(GitHub fits it to the page; a thumbnail is too small to judge layout) with a link to its\nHTML source underneath. The text under a screenshot covers only what the picture can't show\n(see `plain-writing`'s \"Let pictures carry what they show\"): what happens on click, save and\nfailure, rules and permissions, where the data comes from, and the states not pictured. It\ndoesn't walk through the layout, labels or columns the reader can already see. The mockup is part of the contract: the builder matches its layout\nand content, and `feature-build`'s smoke step compares the built screen against it. A deliberate change from the mockup during the build\nis a decision, logged in `DECISION-LOG.md` and reflected back into the mockup by re-running\nthis phase.\n\n## Mockup a user-facing email\n\nIf the feature sends an email (a notification, a digest, anything a real person reads in their\ninbox), it needs the same mockup discipline as a screen, whether or not the feature has any\nbackoffice UI of its own — a described email reads fine in `ARCHITECTURE.md` and still ships\nwith a subject line that's too long or a layout that breaks in Outlook, found only once it's\nbuilt.\n\nStart from `templates\u002Fmockups\u002Femail-notification.html` (check the project's own\n`docs\u002Fmockups\u002Fstarters\u002F` first, same as a screen) and replace what's between its \"Replace from\nhere\"\u002F\"Replace to here\" comments, including the subject line — it's as reviewable as the layout.\nReal Umbraco notification emails, and most transactional email generally, are plain\ninline-styled HTML with literal hex colors, not CSS custom properties or a `\u003Cstyle>` block on\nthe email body itself: mail clients strip both. This file never loads this folder's\n`_mockup.css`\u002F`_mockup.js`\u002FUUI harness — that's for backoffice screens, and would be actively\nwrong here. Open it directly in a browser or an email client preview; no local server needed.\n\nSame rules as a screen otherwise: realistic copy, not placeholder text; the real send and\nfailure behaviour goes in `SPEC.md`'s prose, not the mockup; screenshot it and show the human\nbefore moving on.\n\n## Skills to pull in\n\n- Extension-point idioms, DI registration patterns → `umbraco-extensibility`.\n- Umbraco's documented way to use an extension point, setting, or API → `umbraco-docs`, for\n  the project's major.\n- How the CMS itself implements something (a base class, an extension point's real contract,\n  a built-in sibling) → `umbraco-cms-source`, read at the project's release tag.\n- Async naming, visibility (internal by default), public-API compatibility → `umbraco-package-conventions`.\n- A new service's result shape for routine failures → `umbraco-package-conventions`.\n- Persistence needed → `ef-core-data`.\n- A new NuGet or npm dependency → `umbraco-dependencies`, so whether the CMS already\n  decides its version, and whether it ships to sites, is known before it's chosen.\n- Reading content on front-end requests, caching, or large lists → `umbraco-performance`,\n  so where data is read from and what clears each cache is decided now.\n- Background jobs or scheduled work → `umbraco-extensibility`, so work meant to happen once\n  happens once on a site with several servers.\n- A new or changed entity in a project that supports Umbraco Deploy or uSync, or adding that\n  support → `umbraco-env-sync`, so how the entity moves between environments is decided\n  now, and its \"Keep sync in step\" changes reach `SPEC.md`'s scope.\n- Backoffice UI needed → `umbraco-backoffice-ux` for how screens should look and behave, the official\n  Umbraco Backoffice Skills plugin for the specific extension point (dashboard, property\n  editor, tree, etc.), plus `umbraco-backoffice-conventions` for package-level frontend\n  structure.\n- Writing `ARCHITECTURE.md` and `SPEC.md` → `plain-writing`.\n- A flow, call order, lifecycle, data model or layer structure to explain, or an exact file\n  layout, table, setting, route or type to show → `diagrams` (its \"Text views\" for the\n  second).\n- Anything touching auth, the Management API, an endpoint outside it, a stored secret,\n  rendering external or AI-generated content in the backoffice, or a design that would\n  expose a secret to the client → `umbraco-security`, now, not at review time.\n\n## Assume, then show\n\nNot every topic below needs a spoken question. Before asking:\n\n1. **Check whether it's a checkable fact** — the codebase's existing conventions, how a\n   sibling feature is built, what an extension point actually supports — and go find it\n   instead of asking. Find it in the real source (the CMS's own via `umbraco-cms-source`) or Umbraco's docs\n   (`umbraco-docs`). When the design says it mirrors a sibling's\n   method signature, type or settings pattern, open that sibling's file and copy from it, not\n   from a `CLAUDE.md` summary or memory. A detail recalled from a summary can be wrong in ways\n   nothing catches until a builder compiles against it, several tasks later.\n2. **If it's a judgment call and a wrong guess is cheap to correct once it's written down**\n   (component boundaries, a non-functional target, which pattern to reach for), write it as a\n   guess in the list at the top of `ARCHITECTURE.md` or `SPEC.md`, whichever owns the fact,\n   instead of asking, and let the human correct it when they read the design. Correcting a written-down\n   guess costs them a sentence; answering a live question costs them a context switch.\n3. **Ask directly only when a wrong guess is expensive to undo here** — which extension point\n   to hang the feature off (hard to walk back once built against), the data model\u002Fmigration\n   shape, which CMS version(s) to support, or an auth\u002Ftrust boundary crossing into the\n   public-facing site. Everything else defaults to assume-and-show.\n\nThis doesn't relax \"stop, don't guess\" — that rule is about a phase's *required input* being\nmissing (no `BRIEF.md` to read). This is about which of *this* phase's own questions you put\nto the human versus answer yourself and show your work.\n\n## Prove the riskiest assumptions\n\nA design often rests on how something outside the package behaves: a CMS picker in a new\nhost, when a notification fires, what an API returns, whether a query works on both database\nproviders. When that's wrong, the build finds out: a task blocks on a question, then takes\nseveral fix rounds. In real builds, one CMS picker let an empty required value save, another's\nChoose button did nothing in a modal, and a question about the format a CMS editor saves\nblocked a build for 15 hours. Prove these while the design is still cheap to change.\n\n1. **Pick them.** List each decision that rests on outside behaviour the docs and source\n   don't state plainly for this use, and that would change the design if it's wrong. The\n   interview's hardest-risk question names the first one. A CMS picker, input or property\n   editor reused in a new host always counts: how it behaves there is never plain from its\n   docs. Most features have none, one or two.\n2. **Say what to check:** the case the design relies on, plus the edges that would break it.\n   For a CMS picker, input or property editor reused somewhere new: `required` with an empty\n   value, a value pointing at a deleted item, each config option the design relies on, and\n   the shape of the value it saves.\n3. **Hand it off and keep only the answers.** The spike's code, the browser and the source\n   stay out of this session.\n   - **The project has a demo site:** dispatch a `builder` (Agent tool,\n     `subagent_type: builder`) in spike mode, with the assumption and how the design plans\n     to use it (the host, the config, the call). It writes the smallest throwaway that\n     exercises it, in one `\u003Cfeature-slug>-spike` folder in the demo site. Where the CMS uses\n     it differently from the plan, it builds the CMS's way as a second variant. Then dispatch\n     a `smoke-tester` (`subagent_type: smoke-tester`) for a try-out of every variant, with the\n     list from step 2. If none works, send its report to one more `builder` spike and try\n     again. Delete the spike folder once you have the answers.\n   - **No demo site:** dispatch a `general-purpose` subagent to load `umbraco-cms-source` and\n     `umbraco-docs`, read how it behaves at the project's release tag, and answer the list in\n     one line each.\n4. **Write each answer down.** It becomes a line in `ARCHITECTURE.md` or `SPEC.md`, whichever\n   owns the fact. When the planned way failed and another worked (a routed modal, not a plain\n   one), change the design to the way that worked and log the change in `DECISION-LOG.md`.\n   When nothing worked, pick another approach or ask the human. One read, not tried, goes in\n   that file's guesses at the top for the human to confirm, with an answer for each item on\n   step 2's list, not one line for the component as a whole (\"works in a modal\" says nothing\n   about an empty required value). A surprise changes the design now, not during the build.\n5. **Don't rest on what's unproven.** For each answer that's still a guess, or couldn't be\n   checked at all, the design says what the package does if the guess is wrong. For a reused\n   input with `required`, that's the package's own check that blocks an empty save, on the\n   server too.\n\n## Interview\n\nUp to ~10 questions, adaptive, batched (4 at a time) — only what's left after the filter\nabove:\n\n1. Which Umbraco extension point(s) does this hang off? (property editor, dashboard,\n   content app, notification handler, middleware, custom section, tree...)\n2. Does it need its own persistence, or does it read\u002Fwrite existing Umbraco data\n   (content, media, members)?\n3. If persistence: core entities, relationships, and — SQL Server only, or SQL Server *and*\n   SQLite (most packages need both, since sites run either)?\n4. Does this need a Management API surface of its own, or is it purely a backoffice UI\n   against existing APIs?\n5. Component boundaries — what's a service, what's a repository, what's UI-only?\n6. Which CMS major version(s) does this need to run on? Any API used only in one?\n7. Auth & trust boundaries — is this backoffice-only, or does anything cross into the\n   public-facing site?\n8. Hardest technical risk, and the fallback if the assumed extension point doesn't behave as\n   expected? Prove it before the plan, as \"Prove the riskiest assumptions\" describes.\n9. What are we explicitly **not** building for now (YAGNI)?\n10. Non-functionals that bite: content-tree or data scale, request latency, cold-start on a\n    busy site, accessibility of a new screen? Each answer becomes a target in `SPEC.md`.\n\n## Produce\n\nWrite every file this phase produces following `plain-writing`: a person reads it before the\nnext phase runs, so it should be quick to read without leaving anything out.\n\nWhen revising an existing `ARCHITECTURE.md`\u002F`SPEC.md`, rewrite the affected sections to\nreflect the current approach only — don't leave the old approach in place alongside a note\nabout what changed. These files are a snapshot of the current design, not a changelog. Past\napproaches and why they were rejected belong in `DECISION-LOG.md`.\n\nBoth files open with what needs the human, per `plain-writing`'s \"What needs the reader goes\nfirst\": a `> [!IMPORTANT]` callout with a numbered list of guesses and open questions, each\nwith its *If not:* line. A guess lives only there until the human agrees; then it moves into\nits section as a plain fact. A file with nothing to check has no callout.\n\nA section that explains how parts connect, in what order they run, or which states a record\nmoves through opens with its diagram from `diagrams\u002F`\n(`![Delivery flow](.\u002Fdiagrams\u002Fdelivery-flow.svg)`), and its prose keeps only what the\npicture can't show. A data model with more than one table gets one too. `ARCHITECTURE.md`\nopens with the diagram of the main flow, under its one-line summary.\n\nTables follow `plain-writing`'s \"Fit a narrow screen\": short cells only. Decisions, rules and\nendpoints are lists.\n\nWhere an exact name, type or value matters, use a text view from `diagrams` (its \"Text\nviews\") in the plan form, with no `+` or `-`: the database table for the data model, a file\ntree for where new code goes, settings as `appsettings.json`, a data contract's shape, and\nendpoints at contract depth in `SPEC.md`. Use one only where it replaces prose.\n\n`ARCHITECTURE.md`:\n\n```md\n# Architecture: \u003Cfeature name>\n\n\u003COne or two sentences: how it works, not why. The why is in BRIEF.>\n\n![\u003CMain flow>](.\u002Fdiagrams\u002F\u003Cmain-flow>.svg)\n\n> [!IMPORTANT]\n> **\u003CN> guesses need your OK.**\n>\n> 1. \u003Cthe guess>\\\n>    *If not:* \u003Cwhat changes>\n\n## Decisions\n- **\u003CWhat was chosen>**, not \u003Cthe alternative>. \u003CWhy, in one sentence.>\n\u003Cone line per decision: extension point, persistence, where the work runs, anything a later\nreader might want to undo>\n\n## What changes\n\n**\u003CArea: Server \u002F Backoffice \u002F an integration>**\n\n```text\n\u003Cthat area's new and changed files as `diagrams`' file tree in plan form, starting at the\narea's real path (even when the client sits inside the project folder), each file's job in\na trailing comment>\n```\n\n\u003Cone labelled tree per area the feature touches, in the same areas and order as PLAN.md's\nheadings will use>\n\n- **\u003CCache \u002F Events \u002F Audit log \u002F ...>:** \u003Can effect that isn't a file, in a few words>\n\nNot touched: \u003Ceach connected system this kind of change usually touches that doesn't apply\nhere, with a few words on why: \"Deploy (no connector), search index (not indexed)\". One line.>\n\n## Data model\n\n\u003Ceach new or changed table as `diagrams`' database table view, the new or changed columns\nmarked in its Change column, its relationships, and SQL Server and SQLite notes. A data model\nwith more than one table also gets its diagram. Leave the section out when the feature reads\nand writes only existing Umbraco data, and say which service it uses in \"What changes\".>\n```\n\n`SPEC.md`:\n\n```md\n# Spec: \u003Cfeature name>\n\n> [!IMPORTANT]\n> **\u003CN> guesses need your OK.**\n>\n> 1. \u003Cthe guess, such as a limit or a target figure>\\\n>    *If not:* \u003Cwhat changes>\n\n## Endpoints\nBase path: `\u003Cshared prefix>`\n\n**`\u003CMETHOD> \u003Croute>`** \u003Cwhat it takes, in a few words>\n- **\u003Cstatus>** `\u003Cresponse shape>`\n- **\u003Cstatus>** \u003Cwhen, in a few words>\n\n\u003Cone block per route, the contract depth of `diagrams`' endpoints view, or \"None.\">\n\n## Settings\n\u003Cnew settings as `diagrams`' settings view, or leave the section out>\n\n## Rules\n- **R1** \u003Cone observable rule a test can check: validation, permissions, limits, what\n  happens to a duplicate>\n\n## \u003CScreen name>\n\u003CWhere it opens from, in one line.>\n\n![\u003CScreen name> mockup](.\u002Fmockups\u002F\u003Cscreen>.png)\n\n[Mockup source](.\u002Fmockups\u002F\u003Cscreen>.html)\n\n| When | The screen |\n|---|---|\n| \u003Can action or state> | \u003Cwhat it shows or does, in a few words> |\n\n\u003Cbehaviour the screenshot can't show, per plain-writing's \"Let pictures carry what they\nshow\". One block like this per mocked-up screen.>\n\n## Targets\n- \u003Cone line per target the feature must meet (scale, speed on a hot path, accessibility of a\n  new screen), each a number or a condition a test or reviewer can check. Every figure that\n  `BRIEF.md` or the human didn't give (a time, a limit, a count) is a guess in the callout\n  until they agree to it, not a line here. \"None: \u003Cwhy>\" when nothing applies.>\n```\n\nUpdate the Architecture and Spec rows in `README.md`: `⬜` becomes `✅`, \"In one line\" gets a\nfew words for what each file now says, and \"Needs you\" gets the count from each file's\ncallout, or stays empty. Same rules as `feature-explore`'s Brief row.\n\nAppend dated entries to `DECISION-LOG.md` for each architectural call made here. If a call is\na standing, project-wide decision rather than one scoped to this feature (the CMS major\nversion(s) targeted, the database provider(s) supported, a pattern every future feature must\nfollow), write it to `.claude\u002Fmemory\u002F` instead (type: `decision`) — see\n`.claude\u002Fmemory\u002FREADME.md` for the format.\n\n## Hand off\n\nIf any screen or email described in `SPEC.md`\u002F`ARCHITECTURE.md` is still missing its mockup,\nthis phase is not finished. Stop here instead of handing off: say which are left, per \"Mockup\neach screen\" and \"Mockup a user-facing email\" above, so the human can re-run this phase in a\nfresh session. A design with a screen or email described but not drawn is not a smaller version\nof this phase's output — it's an unfinished one, and noting the gap is not a substitute for\nclosing it.\n\nOtherwise, note any open question in `ARCHITECTURE.md`\u002F`SPEC.md`, any screen mockup the human\nhasn't approved yet, and any project starter created or refreshed in `docs\u002Fmockups\u002Fstarters\u002F`.\nOffer to open `ARCHITECTURE.md` in a live preview, following `markdown-preview`'s \"Offering a\npreview\". With a preview open, ask for approval on `SPEC.md` and `ARCHITECTURE.md`, following\nits \"Approval\". Then: `Suggested next: \u002Fclear, then feature-plan \u003Cfeature-slug>.` The plan\nfolder carries everything over, so a fresh session loses nothing.\n","# feature-design\n\n> 🎯 **Design for change.** Every decision here is judged by one question: when this\n> changes, how big is the diff? Pick the Umbraco extension points, seams, and data shapes\n> that make the *next* change small and local — not the ones that are merely first to mind.\n\nDecide *how* to build what `feature-explore` defined. Output: which parts of Umbraco you're\nextending, the data model (if any), the Management API surface (if any), and the frontend\ncomponent shape (if any).\n\n## Where this writes\n\nThe same per-feature plan folder `feature-explore` started. Owns two files, plus a `mockups\u002F`\nfolder when the feature has a UI and a `diagrams\u002F` folder when a picture explains it:\n\n- **`ARCHITECTURE.md`** — the internal structural decisions: which extension point(s), the\n  data model, key decisions with their rationale and the rejected alternative. This answers\n  \"how is it built, and why.\"\n- **`SPEC.md`** — the externally observable contract: the Management API surface and the\n  frontend components' expected behavior, in concrete, testable terms. This answers \"what must\n  it do,\" and is what `feature-plan` slices into stories — keep it testable, not vague.\n\nEach fact goes in one of the two, never both (`plain-writing`'s \"One fact, one place\").\nAnything a user or a caller can see goes in `SPEC.md`: routes and their shapes, limits,\npermissions, what happens to a duplicate. `ARCHITECTURE.md` points to it (\"what they do:\nSPEC\") instead of repeating it. Neither repeats `BRIEF.md`'s problem, audience or non-goals.\n- **`mockups\u002F\u003Cscreen>.html` + `mockups\u002F\u003Cscreen>.png`** — one static mockup per new or changed\n  screen (or user-facing email), and its screenshot. This answers \"what will it look like,\" and\n  is what the human approves before any UI code is written. See \"Mockup each screen\" and\n  \"Mockup a user-facing email\" below.\n- **`diagrams\u002F\u003Cname>.svg`** — one diagram per idea that `ARCHITECTURE.md` or `SPEC.md` would\n  otherwise explain in prose: the main flow, the order of calls, a record's statuses, the\n  data model, which layer holds what. Drawn following `diagrams`.\n\nOutside the plan folder, it also owns the project's shared mockup starters in\n`docs\u002Fmockups\u002Fstarters\u002F` (see \"Project starters\" below), created only when a product surface\nis distinct enough to need one.\n\nRead `BRIEF.md` — design must serve it, not redefine it. As with `feature-explore`: if the project\nhas its own plan-folder convention, fold this content into that shape, but keep the discipline\nof touching only these files; that's the point, not the specific file names.\n\nAlso updates its own two rows in `README.md` (the index `feature-explore` created) — same\nappend-only discipline as `DECISION-LOG.md`: never touch a row owned by another phase.\n\n## Scope\n\n- IN: which Umbraco extension point(s) to use (property editor, dashboard, content app,\n  section, notification handler, middleware, tree, workspace, etc.), data model & persistence\n  (EF Core entities\u002Fmigrations, or none), Management API surface (controllers, DTOs, routes),\n  frontend component boundaries, static mockups of each new or changed screen and of any\n  user-facing email the feature sends, build-vs-buy, key tradeoffs, which connected systems a\n  change of this kind conventionally touches (see \"Connected-pattern check\" below).\n- OUT: the problem\u002Fwhy (`feature-explore` — read it, don't redo it), task breakdown\n  (`feature-plan`), actual code (`feature-build`).\n\n## Preflight\n\nIf the request is only to capture a project mockup starter, skip this preflight: no plan\nfolder or `BRIEF.md` is needed. Read the project's `CLAUDE.md` for the Umbraco version, then\ngo straight to \"Project starters\".\n\n1. Resolve which feature this run is for. If the argument names a plan folder (its path or\n   feature slug), use it. Else, if more than one plan folder exists, prefer a match\n   between the current branch\u002Fworktree name and a folder name (see `CLAUDE.md`'s \"Finding the\n   current feature's plan folder\" rule) — this is the normal case once `feature-build` has\n   started. If nothing matches, fall back to the one plan folder present, or ask if more than\n   one is ambiguous.\n2. Read `BRIEF.md` in the resolved folder. If it still has open questions or is missing,\n   surface that and offer to bounce back to `feature-explore` — designing against an undefined\n   problem is wasted work.\n3. Read the project's `CLAUDE.md` for existing architectural conventions (folder structure,\n   namespace rules, extension patterns already in use) — a new feature should extend the\n   grain of the codebase, not fight it.\n4. Check the whole plan folder for unresolved review comments and approvals, following\n   `markdown-preview`'s \"Comments before moving on\". Open ones on `ARCHITECTURE.md` and `SPEC.md` are input to\n   this run.\n\n## Connected-pattern check\n\nSome changes belong to a *kind* the codebase already has conventions for — a new property on\na content\u002Fmodel type, a new CRUD method on a repository, a new entity type — and that kind\nconventionally fans out to systems well outside the file being changed: version history\u002Faudit\ntrail, Deploy import\u002Fexport connectors, search indexing, cache refreshers, before\u002Fafter\nnotification events, permission checks. Missing one of these doesn't fail a build or a test —\nit ships a feature that quietly doesn't round-trip through Deploy, or doesn't show up in\nversion history, and nobody notices until a user does.\n\nBefore drafting `ARCHITECTURE.md`, decide if this feature is that kind of addition. If it is:\n\n1. **Check docs first.** If `CLAUDE.md` or another skill already states what a change of this\n   kind must touch, that's ground truth — skip straight to step 3. For Deploy and uSync,\n   `umbraco-env-sync`'s \"Keep sync in step\" table is that statement.\n2. **Otherwise, sample sibling implementations.** Find two or three existing siblings of the\n   same kind (properties on similar models, similar entity types, similar CRUD methods) and\n   read what each one currently wires up. If they agree, that's the pattern. If they disagree,\n   put the split in `ARCHITECTURE.md`'s callout as an open question with the siblings'\n   behaviors as options, rather than picking one.\n3. For each system the pattern touches, decide: does this feature need the same treatment?\n   Carry the ones that apply into `ARCHITECTURE.md`'s \"What changes\" and `SPEC.md`'s rules so\n   `feature-plan` slices them into real tasks. Name the ones that don't apply, with a few words\n   on why, in the \"Not touched\" line, so it reads as a deliberate cut, not an oversight.\n\nThis is a different altitude than `reviewer`'s sibling-comparison step: reviewer catches a\nmissed cross-cutting concern on the *same class* after the code is written; this catches a\nmissed *subsystem* before a single task is planned. Skipping this step doesn't fail review —\nit just means the gap ships, because nothing else in the pipeline looks for it.\n\n## Backoffice UX check (features with a UI)\n\nIf `SPEC.md` has a screen section, invoke `umbraco-backoffice-ux` and apply\nit before finalizing the design:\n\n1. **Pick each component by its convention**, not the plainest control that works. Above all,\n   anything that chooses an entity is a picker, not a select box. A select chosen over a picker\n   gets a line in `ARCHITECTURE.md` saying why.\n2. **Walk the five moments** (first run, mistake, wait, finish, return) for each screen. Each\n   one that applies becomes one ordinary line in `SPEC.md`, same as any other observable\n   behaviour, that `feature-plan` slices into a task like anything else. One that doesn't apply is\n   noted as a deliberate skip.\n3. **List every place each component will appear**, so the mockups and the spec cover all of\n   them.\n4. **A CMS component reused somewhere new is a risky assumption.** A picker, input or\n   property editor can behave differently outside the screen it was built for. Prove it as\n   \"Prove the riskiest assumptions\" below describes.\n\n### Mockup each screen\n\nA screen described in words can't be judged until it's built. \"A summary box and a by-model\ntable, styled like the Usage dashboard\" reads fine in `SPEC.md` and still ships with the wrong\nbox layout, a column nobody needs, and a chart people misread — each one found only once the\ncode exists, and each one a fix-and-rebuild round trip. A picture gets the same feedback in\nminutes, before a task is planned.\n\nEvery new or visibly changed screen gets a mockup; none is optional. If the session is too\nlong to finish them, stop and say which screens are left, so the user can re-run this phase\nin a fresh session. Never hand off with a screen described but not drawn.\n\nFor each screen the feature adds or visibly changes:\n\n1. **Match the sibling screen first.** Following `umbraco-backoffice-ux`'s \"Match what's already\n   there\", open the nearest existing screen of the same kind and write down its layout rules\n   before drawing anything. A new screen that looks like a stranger next to its neighbours is\n   the most common UI fix, and the cheapest to prevent.\n2. **Start from a project starter if one fits, otherwise the matching pattern in\n   `templates\u002Fmockups\u002F`.** Check the project's `docs\u002Fmockups\u002Fstarters\u002F` first (see \"Project\n   starters\" below). Otherwise, almost every backoffice screen is one of a handful of\n   patterns, and each has a starter:\n\n   | Pattern | Starter | Covers |\n   |---|---|---|\n   | Dashboard | `dashboard.html` | Dashboard tabs, summary boxes, chart box, box with an edge-to-edge table |\n   | Collection (list) view | `collection.html` | Toolbar (create, filter, view switch), table with status tags and selection, bulk action bar, pagination; content cards and empty state as alternatives |\n   | Media card view | `collection-media.html` | Grid of folder, image and file cards, selection, bulk action bar |\n   | Editor (workspace) | `editor.html` | Header (back, icon, name, \"...\" actions menu, view tabs), count badges on a view tab and a content tab, property groups, a picker property, footer with save actions, toast; `editor.html#save-options` shows the save options menu |\n   | Sidebar modal (picker) | `modal-sidebar.html` | Slide-in panel for choosing from a list, small\u002Fmedium\u002Flarge widths |\n   | Sidebar modal (form) | `modal-form.html` | Slide-in panel for create\u002Fedit forms — property rows inside a `uui-box` group, same as `editor.html`'s groups |\n   | Dialog modal | `modal-dialog.html` | Centred confirm box, positive or danger action |\n\n   Every starter carries the backoffice chrome: the header with **section tabs** and the\n   sidebar with the **tree**, so those are set on whichever starter the screen uses — mark the\n   new section tab or tree item active. Copy `_mockup.css` and `_mockup.js` into `mockups\u002F`\n   once, copy the starter to `mockups\u002F\u003Cscreen>.html`, and replace what's between its \"Replace\n   from here\" and \"Replace to here\" comments. Delete the parts the screen doesn't use. Open\n   menus (`.popover-menu`) sit in a `.popover-anchor` beside their trigger; a page that needs\n   a second open state uses the `on-target` class and is shot at `\u003Cscreen>.html#\u003Cid>`.\n\n   A few more patterns build from these: a **property editor** is one `.property` row in\n   `editor.html`; an editor's **Info view** is the editor's main area as a two-column grid\n   (`1fr 350px`, 24px gap) with stacked boxes left and a \"General\" box right; a **search or\n   filter bar** above a box is the collection toolbar without its create button; a **state\nmarker on a tree item** (shared, scheduled, locked) is an entity sign on Umbraco 17 and\nlater, a small icon on the corner of the item's own icon: wrap the item's icon in\n`_mockup.css`'s `.entity-sign`, not a swapped icon or a second icon or line by the name. Property\n   rows always sit inside a `uui-box` group, never loose on the page or modal background —\n   `modal-form.html` is `modal-sidebar.html`'s shell with that content instead of a picker\n   list; reach for it whenever the modal's job is to create or edit something, not choose\n   from a list. A property row stacks (label, then description, then the editor, full width)\n   or sits side by side (a fixed label column next to the editor) purely by how wide the row\n   itself renders, not by which starter or modal size it's in — `_mockup.css` already does\n   this with a container query, the same way the real `umb-property-layout` component does,\n   so it's never something to add by hand per screen. A property row that looks wrong is\n   almost always a sign something else broke its width (an unexpected `max-width`, a modal\n   narrower than intended), not a layout to override directly.\n\n   A property with a validation problem — a duplicate alias, a value that fails a rule — gets\n   the real mistake-moment treatment, not an invented one: inside the `uui-label`, right after\n   its text, a small red `!` badge (`\u003Cspan class=\"invalid-badge\">\u003Cuui-badge color=\"danger\"\n   attention>!\u003C\u002Fuui-badge>\u003C\u002Fspan>` — the span is required, since `uui-badge` positions itself\n   absolutely by default and needs a small relatively-positioned box to land in rather than\n   the corner of the page), and a `\u003Cdiv class=\"validation-message\">` as the last thing in the\n   editor column, holding the one-line error. `_mockup.css` styles both already. Show it on\n   the one field with the problem, not every field, matching the real\n   `umb-form-validation-message` component. A screen that fits none of them starts from the\n   closest starter, and the mockup notes which.\n\n   The starters load the real UUI elements, theme and Umbraco's own backoffice icons from the\n   CDN (`\u003Cuui-icon name=\"icon-*\">` uses the same icon names the code will), and\n   `_mockup.css` recreates the `umb-*` layout elements with values copied from the backoffice\n   source. So the mockup is built from the same parts the code will be, with no separate\n   design system to keep in sync. Set `UMBRACO_VERSION` at the top of `_mockup.js` to the\n   Umbraco major the project targets (from `CLAUDE.md`; the newest one when it targets more\n   than one). It picks the look: 18 has UUI's rounder corners, 17 the squarer 3px ones and\n   pink highlight. A newer major, or its beta, gets the newest look the starters have; most\n   majors look like the one before. Umbraco 17.6+ and 18 use UUI 2 (the default); 17.5 and older use UUI 1\n   (see the note in `_mockup.js`). Static HTML only: no build step, no data fetching, no charting\n   library (a rough inline SVG of the right chart type is enough).\n3. **For a component that already exists and runs in the product, copy its real source —\n   don't invent it.** A chat bubble from the product's own chat package, a bespoke chart, any\n   custom control that isn't plain UUI: read its actual CSS\u002Fmarkup (the same discipline\n   \"Project starters\" below uses for the backoffice chrome) and copy its real colours,\n   spacing and shape. A plausible-looking guess is exactly the kind of difference a human\n   catches by eye and sends back as a fix-and-rebuild round trip, instead of being resolved in\n   the one minutes-long look that was the point of mocking it up.\n4. **Use realistic fake data.** Real-looking names and real magnitudes, one long value that\n   might wrap, one row in a warning or error state. Placeholder text hides the questions that\n   matter — whether a range reads better as one number, whether a column earns its space,\n   whether a first-time viewer understands what a chart is showing.\n5. **Mock the five moments that apply.** The empty state and error state are their own small\n   variants (a second section in the same file, or `\u003Cscreen>-empty.html`), not something left\n   for the builder to invent.\n6. **Check the styling.** Run `python3 \u003Cthis skill's folder>\u002Fscripts\u002Fcheck_mockup.py --starter\n   \u003Cthe starter it was copied from> mockups\u002F\u003Cscreen>.html`. It compares the page with its\n   starter and flags only what the screen added: custom CSS, inline styles, raw colours\n   (including a colour fallback inside `var()`), `!important`, and headings with no class.\n   Invented styling is what makes the feature's own part look \"not Umbraco\": a made-up row\n   where a `.property` row belongs, a guessed colour, an override fighting a rule nobody read.\n   Fix each finding with the real part. Keep one only when it's copied from the product's real\n   source (step 3), with a `mockup-ok: \u003Cwhere it's from>` comment on the line, or on a CSS\n   rule's opening line. Re-run until it prints \"Nothing flagged\". Styling you keep goes in one\n   `mockups\u002F\u003Cfeature-slug>.css` that every screen of the feature links, not in each page's own\n   `\u003Cstyle>` block: with a copy per page, a fix made on one screen is missed on the next and\n   the screens drift apart. The check reads linked stylesheets too.\n7. **Screenshot and show it.** Serve the folder locally (the pages load ES modules, so\n   `file:\u002F\u002F` won't work), wait for `html[data-mockup-ready]` so UUI, icons and any toast have\n   finished loading, then check the console for warnings before screenshotting — a missing\n   icon name (`No backoffice icon named icon-*`) is the common one, and it's free to catch\n   since the loader already prints it. Screenshot each mockup at a backoffice-sized viewport\n   (1440×900), taking the full page at that width when the mockup runs past 900px, so no\n   state or section is cut off at the bottom. Open the image and check every part of the\n   mockup is in it whole. Save it beside the HTML as `\u003Cscreen>.png`, and show it to the human with the\n   two or three choices you're least sure of named underneath. Revise the HTML on feedback\n   and re-shoot; the screenshot in the folder is always the current one.\n\n#### Project starters\n\nSome products have their own surface that most of their features land on: Umbraco.AI's\nCopilot sidebar, Automate's flow editor. The general starters can't draw these, and mocking a\nCopilot feature on a generic editor page hides the questions that matter (does it fit a\nnarrow sidebar, how does it sit among flow nodes). A project starter captures that surface\nonce so every later feature reuses it.\n\nA starter gets made one of two ways:\n\n- **On first need:** while mocking a feature's screen, the surface passes the test below and\n  no starter exists yet.\n- **On request:** someone asks for one ahead of time, usually because they know several\n  upcoming features will land on that surface. Apply the first test only; the second is the\n  requester's call, since they know what's coming. If the surface can be drawn from a general\n  starter, say which one and don't save a project starter. Show the finished starter's\n  screenshot for approval, then leave it uncommitted and tell the user, since there's no\n  build to commit it with (committing follows `git-workflow`).\n\n**On first need, capture one only when both are true:**\n\n1. **It can't be drawn from a general starter.** The surface's own layout or chrome differs\n   (a docked panel over the backoffice, a canvas of connected nodes, a chat thread), not just\n   the content between the \"Replace from here\" comments. A dashboard with unusual boxes is\n   still a dashboard: use `dashboard.html`.\n2. **Features keep landing on it.** It's a host surface the product's features are built\n   into, not one screen of this feature. If it's a one-off, draw it inside this feature's own\n   mockup and don't save a starter.\n\nWhen both are true and no starter exists yet:\n\n- **It's a drawing of the surface, not the surface.** Like the general starters, it's static\n  HTML and CSS plus UUI elements, built to look like the real thing. Never load the product's\n  own components, bundles or libraries into it (a flow editor's React canvas, the Copilot's\n  chat element, the package's built JS): they need the running app, they break outside it, and\n  they make the starter as hard to change as the product. Draw a flow node as a styled box and\n  a connector as an inline SVG line; draw a chat thread as stacked message boxes.\n- Build it the same way the general starters were built: read the product's own source for\n  that surface and copy its layout, spacing and colours into an HTML page that uses\n  `_mockup.css` and `_mockup.js`, with a \"Replace from here\" \u002F \"Replace to here\" region where\n  feature content goes. Screenshot the real surface, if a running site is available, and\n  compare.\n- Save it to `docs\u002Fmockups\u002Fstarters\u002F\u003Csurface>.html`, with the surface's own CSS in\n  `\u003Csurface>.css` beside it (linked, not a `\u003Cstyle>` block) and a copy of `_mockup.css` and\n  `_mockup.js`, so it previews on its own. A feature reusing it copies the HTML and the CSS\n  into `mockups\u002F`, and every screen links that one CSS copy.\n- Start the file with a comment naming the source files it copies and the commit it was\n  copied from (`git rev-parse HEAD`).\n- Run the styling check (step 6 above) against the general starter it was built from. Each\n  rule copied from the product's source gets a `mockup-ok:` comment naming the file it came\n  from; a rule with no source to name is a guess, so read the source first.\n\nWhen reusing a project starter, first check whether its source files have changed since that\ncommit (`git log --oneline \u003Ccommit>..HEAD -- \u003Csource files>`). If they have, refresh the\nstarter before copying it, and update the commit in its comment.\n\nFidelity has two zones. **What the feature adds or changes** is drawn as close to the built\nscreen as the starter's parts allow: real components, real spacing tokens, real data shapes,\nand a clean styling check. It's what the human approves and the builder copies. **Everything\naround it** (the header, the tree, the page behind a modal) stays as the starter drew it: set\nthe active section tab and tree item, use plausible names, and stop. The backdrop isn't\nwhat's being decided, so time spent restyling it is time not spent on the feature. Final\ncolour tweaks and dark-mode polish still happen on the built screen.\n\nEach screen section in `SPEC.md` shows its mockup's screenshot inline at full size\n(GitHub fits it to the page; a thumbnail is too small to judge layout) with a link to its\nHTML source underneath. The text under a screenshot covers only what the picture can't show\n(see `plain-writing`'s \"Let pictures carry what they show\"): what happens on click, save and\nfailure, rules and permissions, where the data comes from, and the states not pictured. It\ndoesn't walk through the layout, labels or columns the reader can already see. The mockup is part of the contract: the builder matches its layout\nand content, and `feature-build`'s smoke step compares the built screen against it. A deliberate change from the mockup during the build\nis a decision, logged in `DECISION-LOG.md` and reflected back into the mockup by re-running\nthis phase.\n\n## Mockup a user-facing email\n\nIf the feature sends an email (a notification, a digest, anything a real person reads in their\ninbox), it needs the same mockup discipline as a screen, whether or not the feature has any\nbackoffice UI of its own — a described email reads fine in `ARCHITECTURE.md` and still ships\nwith a subject line that's too long or a layout that breaks in Outlook, found only once it's\nbuilt.\n\nStart from `templates\u002Fmockups\u002Femail-notification.html` (check the project's own\n`docs\u002Fmockups\u002Fstarters\u002F` first, same as a screen) and replace what's between its \"Replace from\nhere\"\u002F\"Replace to here\" comments, including the subject line — it's as reviewable as the layout.\nReal Umbraco notification emails, and most transactional email generally, are plain\ninline-styled HTML with literal hex colors, not CSS custom properties or a `\u003Cstyle>` block on\nthe email body itself: mail clients strip both. This file never loads this folder's\n`_mockup.css`\u002F`_mockup.js`\u002FUUI harness — that's for backoffice screens, and would be actively\nwrong here. Open it directly in a browser or an email client preview; no local server needed.\n\nSame rules as a screen otherwise: realistic copy, not placeholder text; the real send and\nfailure behaviour goes in `SPEC.md`'s prose, not the mockup; screenshot it and show the human\nbefore moving on.\n\n## Skills to pull in\n\n- Extension-point idioms, DI registration patterns → `umbraco-extensibility`.\n- Umbraco's documented way to use an extension point, setting, or API → `umbraco-docs`, for\n  the project's major.\n- How the CMS itself implements something (a base class, an extension point's real contract,\n  a built-in sibling) → `umbraco-cms-source`, read at the project's release tag.\n- Async naming, visibility (internal by default), public-API compatibility → `umbraco-package-conventions`.\n- A new service's result shape for routine failures → `umbraco-package-conventions`.\n- Persistence needed → `ef-core-data`.\n- A new NuGet or npm dependency → `umbraco-dependencies`, so whether the CMS already\n  decides its version, and whether it ships to sites, is known before it's chosen.\n- Reading content on front-end requests, caching, or large lists → `umbraco-performance`,\n  so where data is read from and what clears each cache is decided now.\n- Background jobs or scheduled work → `umbraco-extensibility`, so work meant to happen once\n  happens once on a site with several servers.\n- A new or changed entity in a project that supports Umbraco Deploy or uSync, or adding that\n  support → `umbraco-env-sync`, so how the entity moves between environments is decided\n  now, and its \"Keep sync in step\" changes reach `SPEC.md`'s scope.\n- Backoffice UI needed → `umbraco-backoffice-ux` for how screens should look and behave, the official\n  Umbraco Backoffice Skills plugin for the specific extension point (dashboard, property\n  editor, tree, etc.), plus `umbraco-backoffice-conventions` for package-level frontend\n  structure.\n- Writing `ARCHITECTURE.md` and `SPEC.md` → `plain-writing`.\n- A flow, call order, lifecycle, data model or layer structure to explain, or an exact file\n  layout, table, setting, route or type to show → `diagrams` (its \"Text views\" for the\n  second).\n- Anything touching auth, the Management API, an endpoint outside it, a stored secret,\n  rendering external or AI-generated content in the backoffice, or a design that would\n  expose a secret to the client → `umbraco-security`, now, not at review time.\n\n## Assume, then show\n\nNot every topic below needs a spoken question. Before asking:\n\n1. **Check whether it's a checkable fact** — the codebase's existing conventions, how a\n   sibling feature is built, what an extension point actually supports — and go find it\n   instead of asking. Find it in the real source (the CMS's own via `umbraco-cms-source`) or Umbraco's docs\n   (`umbraco-docs`). When the design says it mirrors a sibling's\n   method signature, type or settings pattern, open that sibling's file and copy from it, not\n   from a `CLAUDE.md` summary or memory. A detail recalled from a summary can be wrong in ways\n   nothing catches until a builder compiles against it, several tasks later.\n2. **If it's a judgment call and a wrong guess is cheap to correct once it's written down**\n   (component boundaries, a non-functional target, which pattern to reach for), write it as a\n   guess in the list at the top of `ARCHITECTURE.md` or `SPEC.md`, whichever owns the fact,\n   instead of asking, and let the human correct it when they read the design. Correcting a written-down\n   guess costs them a sentence; answering a live question costs them a context switch.\n3. **Ask directly only when a wrong guess is expensive to undo here** — which extension point\n   to hang the feature off (hard to walk back once built against), the data model\u002Fmigration\n   shape, which CMS version(s) to support, or an auth\u002Ftrust boundary crossing into the\n   public-facing site. Everything else defaults to assume-and-show.\n\nThis doesn't relax \"stop, don't guess\" — that rule is about a phase's *required input* being\nmissing (no `BRIEF.md` to read). This is about which of *this* phase's own questions you put\nto the human versus answer yourself and show your work.\n\n## Prove the riskiest assumptions\n\nA design often rests on how something outside the package behaves: a CMS picker in a new\nhost, when a notification fires, what an API returns, whether a query works on both database\nproviders. When that's wrong, the build finds out: a task blocks on a question, then takes\nseveral fix rounds. In real builds, one CMS picker let an empty required value save, another's\nChoose button did nothing in a modal, and a question about the format a CMS editor saves\nblocked a build for 15 hours. Prove these while the design is still cheap to change.\n\n1. **Pick them.** List each decision that rests on outside behaviour the docs and source\n   don't state plainly for this use, and that would change the design if it's wrong. The\n   interview's hardest-risk question names the first one. A CMS picker, input or property\n   editor reused in a new host always counts: how it behaves there is never plain from its\n   docs. Most features have none, one or two.\n2. **Say what to check:** the case the design relies on, plus the edges that would break it.\n   For a CMS picker, input or property editor reused somewhere new: `required` with an empty\n   value, a value pointing at a deleted item, each config option the design relies on, and\n   the shape of the value it saves.\n3. **Hand it off and keep only the answers.** The spike's code, the browser and the source\n   stay out of this session.\n   - **The project has a demo site:** dispatch a `builder` (Agent tool,\n     `subagent_type: builder`) in spike mode, with the assumption and how the design plans\n     to use it (the host, the config, the call). It writes the smallest throwaway that\n     exercises it, in one `\u003Cfeature-slug>-spike` folder in the demo site. Where the CMS uses\n     it differently from the plan, it builds the CMS's way as a second variant. Then dispatch\n     a `smoke-tester` (`subagent_type: smoke-tester`) for a try-out of every variant, with the\n     list from step 2. If none works, send its report to one more `builder` spike and try\n     again. Delete the spike folder once you have the answers.\n   - **No demo site:** dispatch a `general-purpose` subagent to load `umbraco-cms-source` and\n     `umbraco-docs`, read how it behaves at the project's release tag, and answer the list in\n     one line each.\n4. **Write each answer down.** It becomes a line in `ARCHITECTURE.md` or `SPEC.md`, whichever\n   owns the fact. When the planned way failed and another worked (a routed modal, not a plain\n   one), change the design to the way that worked and log the change in `DECISION-LOG.md`.\n   When nothing worked, pick another approach or ask the human. One read, not tried, goes in\n   that file's guesses at the top for the human to confirm, with an answer for each item on\n   step 2's list, not one line for the component as a whole (\"works in a modal\" says nothing\n   about an empty required value). A surprise changes the design now, not during the build.\n5. **Don't rest on what's unproven.** For each answer that's still a guess, or couldn't be\n   checked at all, the design says what the package does if the guess is wrong. For a reused\n   input with `required`, that's the package's own check that blocks an empty save, on the\n   server too.\n\n## Interview\n\nUp to ~10 questions, adaptive, batched (4 at a time) — only what's left after the filter\nabove:\n\n1. Which Umbraco extension point(s) does this hang off? (property editor, dashboard,\n   content app, notification handler, middleware, custom section, tree...)\n2. Does it need its own persistence, or does it read\u002Fwrite existing Umbraco data\n   (content, media, members)?\n3. If persistence: core entities, relationships, and — SQL Server only, or SQL Server *and*\n   SQLite (most packages need both, since sites run either)?\n4. Does this need a Management API surface of its own, or is it purely a backoffice UI\n   against existing APIs?\n5. Component boundaries — what's a service, what's a repository, what's UI-only?\n6. Which CMS major version(s) does this need to run on? Any API used only in one?\n7. Auth & trust boundaries — is this backoffice-only, or does anything cross into the\n   public-facing site?\n8. Hardest technical risk, and the fallback if the assumed extension point doesn't behave as\n   expected? Prove it before the plan, as \"Prove the riskiest assumptions\" describes.\n9. What are we explicitly **not** building for now (YAGNI)?\n10. Non-functionals that bite: content-tree or data scale, request latency, cold-start on a\n    busy site, accessibility of a new screen? Each answer becomes a target in `SPEC.md`.\n\n## Produce\n\nWrite every file this phase produces following `plain-writing`: a person reads it before the\nnext phase runs, so it should be quick to read without leaving anything out.\n\nWhen revising an existing `ARCHITECTURE.md`\u002F`SPEC.md`, rewrite the affected sections to\nreflect the current approach only — don't leave the old approach in place alongside a note\nabout what changed. These files are a snapshot of the current design, not a changelog. Past\napproaches and why they were rejected belong in `DECISION-LOG.md`.\n\nBoth files open with what needs the human, per `plain-writing`'s \"What needs the reader goes\nfirst\": a `> [!IMPORTANT]` callout with a numbered list of guesses and open questions, each\nwith its *If not:* line. A guess lives only there until the human agrees; then it moves into\nits section as a plain fact. A file with nothing to check has no callout.\n\nA section that explains how parts connect, in what order they run, or which states a record\nmoves through opens with its diagram from `diagrams\u002F`\n(`![Delivery flow](.\u002Fdiagrams\u002Fdelivery-flow.svg)`), and its prose keeps only what the\npicture can't show. A data model with more than one table gets one too. `ARCHITECTURE.md`\nopens with the diagram of the main flow, under its one-line summary.\n\nTables follow `plain-writing`'s \"Fit a narrow screen\": short cells only. Decisions, rules and\nendpoints are lists.\n\nWhere an exact name, type or value matters, use a text view from `diagrams` (its \"Text\nviews\") in the plan form, with no `+` or `-`: the database table for the data model, a file\ntree for where new code goes, settings as `appsettings.json`, a data contract's shape, and\nendpoints at contract depth in `SPEC.md`. Use one only where it replaces prose.\n\n`ARCHITECTURE.md`:\n\n```md\n# Architecture: \u003Cfeature name>\n\n\u003COne or two sentences: how it works, not why. The why is in BRIEF.>\n\n![\u003CMain flow>](.\u002Fdiagrams\u002F\u003Cmain-flow>.svg)\n\n> [!IMPORTANT]\n> **\u003CN> guesses need your OK.**\n>\n> 1. \u003Cthe guess>\\\n>    *If not:* \u003Cwhat changes>\n\n## Decisions\n- **\u003CWhat was chosen>**, not \u003Cthe alternative>. \u003CWhy, in one sentence.>\n\u003Cone line per decision: extension point, persistence, where the work runs, anything a later\nreader might want to undo>\n\n## What changes\n\n**\u003CArea: Server \u002F Backoffice \u002F an integration>**\n\n```text\n\u003Cthat area's new and changed files as `diagrams`' file tree in plan form, starting at the\narea's real path (even when the client sits inside the project folder), each file's job in\na trailing comment>\n```\n\n\u003Cone labelled tree per area the feature touches, in the same areas and order as PLAN.md's\nheadings will use>\n\n- **\u003CCache \u002F Events \u002F Audit log \u002F ...>:** \u003Can effect that isn't a file, in a few words>\n\nNot touched: \u003Ceach connected system this kind of change usually touches that doesn't apply\nhere, with a few words on why: \"Deploy (no connector), search index (not indexed)\". One line.>\n\n## Data model\n\n\u003Ceach new or changed table as `diagrams`' database table view, the new or changed columns\nmarked in its Change column, its relationships, and SQL Server and SQLite notes. A data model\nwith more than one table also gets its diagram. Leave the section out when the feature reads\nand writes only existing Umbraco data, and say which service it uses in \"What changes\".>\n```\n\n`SPEC.md`:\n\n```md\n# Spec: \u003Cfeature name>\n\n> [!IMPORTANT]\n> **\u003CN> guesses need your OK.**\n>\n> 1. \u003Cthe guess, such as a limit or a target figure>\\\n>    *If not:* \u003Cwhat changes>\n\n## Endpoints\nBase path: `\u003Cshared prefix>`\n\n**`\u003CMETHOD> \u003Croute>`** \u003Cwhat it takes, in a few words>\n- **\u003Cstatus>** `\u003Cresponse shape>`\n- **\u003Cstatus>** \u003Cwhen, in a few words>\n\n\u003Cone block per route, the contract depth of `diagrams`' endpoints view, or \"None.\">\n\n## Settings\n\u003Cnew settings as `diagrams`' settings view, or leave the section out>\n\n## Rules\n- **R1** \u003Cone observable rule a test can check: validation, permissions, limits, what\n  happens to a duplicate>\n\n## \u003CScreen name>\n\u003CWhere it opens from, in one line.>\n\n![\u003CScreen name> mockup](.\u002Fmockups\u002F\u003Cscreen>.png)\n\n[Mockup source](.\u002Fmockups\u002F\u003Cscreen>.html)\n\n| When | The screen |\n|---|---|\n| \u003Can action or state> | \u003Cwhat it shows or does, in a few words> |\n\n\u003Cbehaviour the screenshot can't show, per plain-writing's \"Let pictures carry what they\nshow\". One block like this per mocked-up screen.>\n\n## Targets\n- \u003Cone line per target the feature must meet (scale, speed on a hot path, accessibility of a\n  new screen), each a number or a condition a test or reviewer can check. Every figure that\n  `BRIEF.md` or the human didn't give (a time, a limit, a count) is a guess in the callout\n  until they agree to it, not a line here. \"None: \u003Cwhy>\" when nothing applies.>\n```\n\nUpdate the Architecture and Spec rows in `README.md`: `⬜` becomes `✅`, \"In one line\" gets a\nfew words for what each file now says, and \"Needs you\" gets the count from each file's\ncallout, or stays empty. Same rules as `feature-explore`'s Brief row.\n\nAppend dated entries to `DECISION-LOG.md` for each architectural call made here. If a call is\na standing, project-wide decision rather than one scoped to this feature (the CMS major\nversion(s) targeted, the database provider(s) supported, a pattern every future feature must\nfollow), write it to `.claude\u002Fmemory\u002F` instead (type: `decision`) — see\n`.claude\u002Fmemory\u002FREADME.md` for the format.\n\n## Hand off\n\nIf any screen or email described in `SPEC.md`\u002F`ARCHITECTURE.md` is still missing its mockup,\nthis phase is not finished. Stop here instead of handing off: say which are left, per \"Mockup\neach screen\" and \"Mockup a user-facing email\" above, so the human can re-run this phase in a\nfresh session. A design with a screen or email described but not drawn is not a smaller version\nof this phase's output — it's an unfinished one, and noting the gap is not a substitute for\nclosing it.\n\nOtherwise, note any open question in `ARCHITECTURE.md`\u002F`SPEC.md`, any screen mockup the human\nhasn't approved yet, and any project starter created or refreshed in `docs\u002Fmockups\u002Fstarters\u002F`.\nOffer to open `ARCHITECTURE.md` in a live preview, following `markdown-preview`'s \"Offering a\npreview\". With a preview open, ask for approval on `SPEC.md` and `ARCHITECTURE.md`, following\nits \"Approval\". Then: `Suggested next: \u002Fclear, then feature-plan \u003Cfeature-slug>.` The plan\nfolder carries everything over, so a fresh session loses nothing.\n",{"name":5,"description":7,"argument-hint":24,"user-invocable":25},"[feature slug or plan folder path, and\u002For area to focus, optional]",true,"main","a2f9c28bc56802b4e6db01e03972e497b30ad001","plugins\u002Fumbraco-devkit\u002Fskills\u002Ffeature-design",1,"https:\u002F\u002Fgithub.com\u002Fmattbrailsford\u002Fumbraco-devkit","https:\u002F\u002Fgithub.com\u002Fmattbrailsford","https:\u002F\u002Fmattbrailsford.dev","AI Staff Engineer @umbraco ","2026-11-12 18:33:53",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":25},[37,40,43],{"tool":38,"command":39},"npx","npx skills add mattbrailsford\u002Fumbraco-devkit --skill feature-design",{"tool":41,"command":42},"bunx","bunx skills add mattbrailsford\u002Fumbraco-devkit --skill feature-design",{"tool":44,"command":45},"pnpm","pnpm dlx skills add mattbrailsford\u002Fumbraco-devkit --skill feature-design","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmattbrailsford\u002Fumbraco-devkit\u002Fblob\u002Fmain\u002Fplugins\u002Fumbraco-devkit\u002Fskills\u002Ffeature-design\u002FSKILL.md",[48,54,60,64,70,74,78,82,86,90,94],{"path":49,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":53},"scripts\u002Fcheck_mockup.py","SCRIPT","脚本",8482,"https:\u002F\u002Fgithub.com\u002Fmattbrailsford\u002Fumbraco-devkit\u002Fblob\u002Fmain\u002Fplugins\u002Fumbraco-devkit\u002Fskills\u002Ffeature-design\u002Fscripts\u002Fcheck_mockup.py",{"path":55,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":58,"sourceHtmlUrl":59},"templates\u002Fmockups\u002F_mockup.css","OTHER","其他",15826,"https:\u002F\u002Fgithub.com\u002Fmattbrailsford\u002Fumbraco-devkit\u002Fblob\u002Fmain\u002Fplugins\u002Fumbraco-devkit\u002Fskills\u002Ffeature-design\u002Ftemplates\u002Fmockups\u002F_mockup.css",{"path":61,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":62,"sourceHtmlUrl":63},"templates\u002Fmockups\u002F_mockup.js",2936,"https:\u002F\u002Fgithub.com\u002Fmattbrailsford\u002Fumbraco-devkit\u002Fblob\u002Fmain\u002Fplugins\u002Fumbraco-devkit\u002Fskills\u002Ffeature-design\u002Ftemplates\u002Fmockups\u002F_mockup.js",{"path":65,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":68,"sourceHtmlUrl":69},"templates\u002Fmockups\u002Fcollection-media.html","REFERENCE","参考文档",5905,"https:\u002F\u002Fgithub.com\u002Fmattbrailsford\u002Fumbraco-devkit\u002Fblob\u002Fmain\u002Fplugins\u002Fumbraco-devkit\u002Fskills\u002Ffeature-design\u002Ftemplates\u002Fmockups\u002Fcollection-media.html",{"path":71,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":72,"sourceHtmlUrl":73},"templates\u002Fmockups\u002Fcollection.html",5634,"https:\u002F\u002Fgithub.com\u002Fmattbrailsford\u002Fumbraco-devkit\u002Fblob\u002Fmain\u002Fplugins\u002Fumbraco-devkit\u002Fskills\u002Ffeature-design\u002Ftemplates\u002Fmockups\u002Fcollection.html",{"path":75,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":76,"sourceHtmlUrl":77},"templates\u002Fmockups\u002Fdashboard.html",4611,"https:\u002F\u002Fgithub.com\u002Fmattbrailsford\u002Fumbraco-devkit\u002Fblob\u002Fmain\u002Fplugins\u002Fumbraco-devkit\u002Fskills\u002Ffeature-design\u002Ftemplates\u002Fmockups\u002Fdashboard.html",{"path":79,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":80,"sourceHtmlUrl":81},"templates\u002Fmockups\u002Feditor.html",8468,"https:\u002F\u002Fgithub.com\u002Fmattbrailsford\u002Fumbraco-devkit\u002Fblob\u002Fmain\u002Fplugins\u002Fumbraco-devkit\u002Fskills\u002Ffeature-design\u002Ftemplates\u002Fmockups\u002Feditor.html",{"path":83,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":84,"sourceHtmlUrl":85},"templates\u002Fmockups\u002Femail-notification.html",5323,"https:\u002F\u002Fgithub.com\u002Fmattbrailsford\u002Fumbraco-devkit\u002Fblob\u002Fmain\u002Fplugins\u002Fumbraco-devkit\u002Fskills\u002Ffeature-design\u002Ftemplates\u002Fmockups\u002Femail-notification.html",{"path":87,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":88,"sourceHtmlUrl":89},"templates\u002Fmockups\u002Fmodal-dialog.html",1813,"https:\u002F\u002Fgithub.com\u002Fmattbrailsford\u002Fumbraco-devkit\u002Fblob\u002Fmain\u002Fplugins\u002Fumbraco-devkit\u002Fskills\u002Ffeature-design\u002Ftemplates\u002Fmockups\u002Fmodal-dialog.html",{"path":91,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":92,"sourceHtmlUrl":93},"templates\u002Fmockups\u002Fmodal-form.html",2945,"https:\u002F\u002Fgithub.com\u002Fmattbrailsford\u002Fumbraco-devkit\u002Fblob\u002Fmain\u002Fplugins\u002Fumbraco-devkit\u002Fskills\u002Ffeature-design\u002Ftemplates\u002Fmockups\u002Fmodal-form.html",{"path":95,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":96,"sourceHtmlUrl":97},"templates\u002Fmockups\u002Fmodal-sidebar.html",2512,"https:\u002F\u002Fgithub.com\u002Fmattbrailsford\u002Fumbraco-devkit\u002Fblob\u002Fmain\u002Fplugins\u002Fumbraco-devkit\u002Fskills\u002Ffeature-design\u002Ftemplates\u002Fmockups\u002Fmodal-sidebar.html",[99,106,113,120,127,134],{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":19},"01M7CYGRPVNP8H9YNHGMZ6CP3C","user-stories","Writes, splits and refines user stories with Given\u002FWhen\u002FThen acceptance criteria in STORIES.md, feeding bdd-specs. Use when turning a feature request or a vague ask into a testable backlog entry.","https:\u002F\u002Fgithub.com\u002Fmattbrailsford\u002Fumbraco-devkit\u002Fblob\u002Fmain\u002Fplugins\u002Fumbraco-devkit\u002Fskills\u002Fuser-stories\u002FSKILL.md",[],[],{"skillNo":107,"name":108,"nameZh":6,"description":109,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":19},"01M7CYGJB26N83DXKMDEKY2X48","umbraco-security","What Umbraco provides for keeping a package secure, on the server and in the backoffice: Management API authorization and policies, settings that hold secrets, endpoints outside the Management API, sanitizeHTML and escapeHTML, DOMPurify rules for custom elements, and umbHttpClient instead of handling tokens in the browser. Use when writing or reviewing a Management API controller, a secret setting, a custom endpoint, a backoffice template that uses unsafeHTML, or frontend code that calls an API.","https:\u002F\u002Fgithub.com\u002Fmattbrailsford\u002Fumbraco-devkit\u002Fblob\u002Fmain\u002Fplugins\u002Fumbraco-devkit\u002Fskills\u002Fumbraco-security\u002FSKILL.md",[],[],{"skillNo":114,"name":115,"nameZh":6,"description":116,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":117,"categories":118,"keywords":119,"publishedAt":19},"01M7CYGBEZ2Q4AXDDNADWW4Q9H","umbraco-performance","Keeping a package fast on the sites that install it: the published cache over the services layer, tree traversal, caching lookups and clearing them, data type config and converter cache levels, output cache eviction, light hot paths, and backoffice screens that don't over-fetch. Use when writing, changing or reviewing code that runs per request, per save, per indexed item or at startup (property value converters, notification handlers, indexing), code that loops over every content item (a full rebuild, an import, a sync), or a list or search screen. Not for a site's own templates.","https:\u002F\u002Fgithub.com\u002Fmattbrailsford\u002Fumbraco-devkit\u002Fblob\u002Fmain\u002Fplugins\u002Fumbraco-devkit\u002Fskills\u002Fumbraco-performance\u002FSKILL.md",[],[],{"skillNo":121,"name":122,"nameZh":6,"description":123,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":124,"categories":125,"keywords":126,"publishedAt":19},"01M7CYG59CZN1K2KERB0SSDGSY","umbraco-package-conventions","Backend conventions for an Umbraco package: async naming, internal by default, Attempt-based results for routine failures, public-API backwards compatibility, and where extension methods live. Use when naming a method, choosing visibility, shaping a service's result, changing a public signature (including adding a dependency to a public class's constructor), or organizing extension methods. For extension mechanisms, see `umbraco-extensibility`.","https:\u002F\u002Fgithub.com\u002Fmattbrailsford\u002Fumbraco-devkit\u002Fblob\u002Fmain\u002Fplugins\u002Fumbraco-devkit\u002Fskills\u002Fumbraco-package-conventions\u002FSKILL.md",[],[],{"skillNo":128,"name":129,"nameZh":6,"description":130,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":131,"categories":132,"keywords":133,"publishedAt":19},"01M7CYG0J10QH8J2GS825WTTET","umbraco-marketplace","Gets a finished package listed on the Umbraco Marketplace: the NuGet tag, the dependency Marketplace reads version support from, the v14+ compatibility gotcha, and umbraco-marketplace.json. Use when a package is ready to publish, or when reviewing its packaging.","https:\u002F\u002Fgithub.com\u002Fmattbrailsford\u002Fumbraco-devkit\u002Fblob\u002Fmain\u002Fplugins\u002Fumbraco-devkit\u002Fskills\u002Fumbraco-marketplace\u002FSKILL.md",[],[],{"skillNo":135,"name":136,"nameZh":6,"description":137,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":138,"categories":139,"keywords":140,"publishedAt":19},"01M7CYFT7MSYW4GRDSQRDPG020","umbraco-extensibility","Umbraco's extension mechanisms (Composers, collection builders, notification handlers, attribute discovery) and a catalogue of backend CMS extension points: property value converters, Management API endpoints, content finders, health checks, search indexing, package migrations, background jobs, and more. Use when making a feature extensible or choosing which extension point fits. Not for property editor UI, dashboards, sections or trees, which the official Backoffice Skills plugin covers.","https:\u002F\u002Fgithub.com\u002Fmattbrailsford\u002Fumbraco-devkit\u002Fblob\u002Fmain\u002Fplugins\u002Fumbraco-devkit\u002Fskills\u002Fumbraco-extensibility\u002FSKILL.md",[],[]]