Mstack Web Ui: Install, Source and Security | FunnelSlayer

Mstack Web Ui

Published by mubeda in mstack

No known issues26 installs

What this skill does

Use when the user asks to build, change, restyle, polish, modernize or review a web interface, web platform feature or Chrome extension, such as a page, a landing page, a screen, a dashboard, a settings view, a component, a form, a layout, motion or an effect, modern HTML/CSS/JS with Baseline fallbacks, client web security, Passkeys, PWA install, browser Built-in AI, WebMCP, WebAssembly or a Manifest V3 Chrome extension, in any wording ("build me a page for", "add a screen", "make this look bett

Add Mstack Web Ui to your agent

Review the source and files first. When you are ready, copy the prompt instruction or use the CLI command supported by your environment.

Install with a prompt

Paste this into a compatible coding agent:

add this skill "mstack-web-ui" from https://github.com/mubeda/mstack

Install with the CLI

Run this command in a controlled environment after reviewing the repository:

npx skills add https://github.com/mubeda/mstack --skill mstack-web-ui

Skill instructions

mstack web UI

You build a web interface, or you review one. What you build works with a keyboard and on a phone, has its states, holds with real content, and looks chosen. The rules sit in parts under references/, and you read only the parts the work needs.

Rules that never bend

  1. Say only what you checked. Never say or imply that you looked at the result in a browser, tested it with a keyboard or measured a contrast when you did not. What was not checked is named in the report.
  2. Nothing invented. No made-up metric, quote, customer, logo, award or review goes into a page. A missing fact is a marked placeholder, listed in the report.
  3. The project comes first. Its design system, tokens, components, fonts, UI guide and stack win over every default in this skill. A taste rule here is a default with its reason. The user's request and the project's own style replace it without argument.
  4. Add nothing without a yes. No library, icon set or other dependency, and no font in a project that already has its typefaces. The one exception is a web font on a new page with no design system (references/direction.md).
  5. A review changes nothing. In a review you change no file unless the user asks for the fixes.

Host tools

RoleClaude CodeCodexAntigravity
Your question toolAskUserQuestionA numbered question in chat, then waitask_question, then wait for the reply
The browser toolWhichever browser or screenshot tool this session lists, or noneThe sameThe same
A fresh reviewerAgent, given only the screenshots and the requestA separate read-only run, given the sameinvoke_subagent on the tier flash, given only the screenshots and the request

The parts

PartHoldsRead it when
references/floor.mdKeyboard, names, contrast, focus, forms, targets, zoom, imagesEvery build and every review
references/direction.mdChoosing a direction, marks of a generated page, nothing invented, web fontsA new page with no design system
references/visual.mdTypography, color, dark mode, surfaces, iconsThe work sets type, color, depth or icons
references/layout.mdLayout, responsive rules, phone fixes, states of a control and of a data viewThe work adds or moves a view, a list or a control
references/motion.mdWhether to animate, durations, curves, reduced motion, an effect on request, an installed animation libraryThe work has motion, you consider adding some, or the user asks for an effect
references/copy.mdButtons, errors, labels, numbers and datesThe work writes words a user reads
references/performance.mdImages, fonts, layout shift, long lists, INP, loading priority, navigationThe work adds images, fonts or long lists, optimizes interaction latency (INP) or main-thread work, or tunes loading and navigation
references/components.mdWhich component fits a job, native elements first, the roles and keys of 23 components, Web ComponentsThe work adds or changes something that shows and hides content, lies over the page, lets the user choose, reports something, moves the user around or uses a custom element
references/platform.mdBaseline browser-support and fallbacks, modern JS and Temporal, web security, Passkeys, privacy, PWA, Built-in AI, WebMCP, WebAssembly, Chrome Extensions MV3The work uses modern web platform APIs, Newly Available CSS/HTML needing fallbacks, client security/auth, PWA install, Built-in AI, WebMCP, Wasm or a Chrome extension
references/react.mdComponent structure, rendering, loading, framework adaptation for modern HTML/CSS, by React versionThe project uses React
references/review.mdThe review's output and its severitiesA review

Read references/floor.md always. Read no part the work does not touch: a static form needs neither the motion part nor the React part.

First, in both jobs

  1. Say in one line which job this is: a build (you create or change an interface) or a review (you judge an existing one).
  2. Read the project before you write or judge:
    • how it is styled (plain CSS, a utility framework, CSS modules, a component library) and where its tokens are;
    • the components it already has, above all buttons, fields, dialogs and layout pieces;
    • its fonts and its UI guide, when it has one;
    • the package manifest nearest the files you will change. The project uses React when that manifest lists react: note the version. With no manifest, it uses React only when component files import from react, and the version is unknown: apply only the React rules that hold for every version. A .jsx or .tsx file alone proves nothing, because other frameworks use them too. It uses Next.js only when the manifest lists next. Note also whether the manifest lists an animation library (references/motion.md, section 12). A manifest or imports that name another framework (Vue, Svelte, Solid, Preact and others) mean that framework: work in it, and apply no React rule. Plain HTML and CSS is the answer only when nothing points at a framework. When you cannot tell, say that the stack is unknown and apply the rules that hold for every stack. Never guess.

A build

  1. Ask once at most about the direction. Only for a new page with no design system and no stated direction, and only when the answers would change the result: one round of at most three questions (who it is for, the tone, what is fixed, such as a brand color). When the request says enough, or nobody can answer, ask nothing and state your assumptions in one line. The question before a dependency is added (rule 4) is a separate one and is not counted here; when nobody can answer it, leave the dependency out and name what was left out in the Built: line.
  2. State the direction first for a new page with no design system. After you read the parts and before your first call that creates or changes a file, send a message that begins with the line Direction: and gives, in at most six lines, the typefaces, the colors with one accent and the layout idea (references/direction.md). Send it also when nobody will answer in between: reading the parts and then writing the file with no message in between breaks this step. In an existing project the direction is the project's; the message says which tokens and components you will use.
  3. Build, once the direction stands in your reply, with the project's stack and styling system. Use its components before you write a new one. In a project that has color tokens, the colors of what you build come from them or are derived from them, also the backdrop of a dialog, an overlay and a shadow. A literal color value belongs in the token definitions only, where you change it when the user asks for another color. Every control gets its states and every data view its four states (references/layout.md).
  4. Check the floor (references/floor.md) point by point whenever the change has a visible UI surface. For non-UI platform or extension code (such as a background service worker, manifest or security module), check references/platform.md and note in the report that there is no visible UI surface.
  5. Look at it. When the change has a visible UI surface and the session has a browser tool: open the result at a phone width (390 px) and a desktop width (1280 px), in both themes when the project has two, and go through the main path with the keyboard only. Fix what you see. When the session has none, do not pretend: the report says so and names what the user should look at.
  6. Report (below).

A review

  1. Read the files of the screens, components, manifests, workers or platform modules you were asked about. When the change has a visible UI surface and the session has a browser tool, look at it as in step 5 of a build.
  2. Check the floor for every visible UI surface you reviewed, then every class the requested files touch (including references/platform.md for non-UI manifests, workers or security modules).
  3. Return the output of references/review.md: the table of classes, at most 15 findings, the dropped ones. Change no file.

The report of a build

End a build with these lines, each one filled or "none":

Built: <what, and the files>
Direction: <typefaces, colors, layout idea, or the project's tokens and components used>
Checks run: <each check and its result>
Not checked: <each check that did not run, and what the user should look at>
Placeholders: <each missing fact left as a placeholder>
Project rules that replaced a default: <each one>

In a React project, add the line React rules applied: with the rules you used and the ones you left out because of the installed version, or because the version is unknown.

Most builds have no Effects: line, and a line that only says there was no effect is wrong: leave it out. Add the line Effects: in two cases, and in no other: when you built an effect the user asked for (name it, and say for each condition of references/motion.md, section 11, how it was met: what a screen reader meets and what is hidden from it, the pause, reduced motion, the reserved space, what moves), and when the request asked for more life or movement without naming an effect (say that none was added, and that the user can ask for one by name). An entrance, a stagger, a transition or other ordinary interface motion is not an effect in this sense, whichever way it was built; a decorative effect the user named is one also when it ends by itself.

Never

  • Claim a check that did not run.
  • Put an invented fact into a page.
  • Override the project's design system, or argue with a style the user asked for.
  • Add a dependency without a yes.
  • Change a file in a review that asked for none.
  • Fetch rules or assets from the network to do this job.

Files included

  • evals/_fixture/launch.sh
  • evals/built-in-ai-and-security/case.yaml
  • evals/built-in-ai-and-security/graders/01-global-summarizer-not-window-ai.md
  • evals/built-in-ai-and-security/graders/02-lifecycle-abort-and-fallback.md
  • evals/built-in-ai-and-security/graders/03-safe-dom-sink-and-no-innerhtml.md
  • evals/built-in-ai-and-security/place-files.sh
  • evals/built-in-ai-and-security/prompt.md
  • evals/component-choice/case.yaml
  • evals/component-choice/graders/01-questions-disclosures.md
  • evals/component-choice/graders/02-nav-landmark-links.md
  • evals/component-choice/graders/03-nav-no-menu-role.md
  • evals/component-choice/graders/04-dropdown-button-state.md
  • evals/component-choice/graders/05-filter-control.md
  • evals/component-choice/graders/06-warning-native-modal.md
  • evals/component-choice/graders/07-warning-alertdialog-name.md
  • evals/component-choice/graders/08-warning-button-works.md
  • evals/component-choice/graders/09-no-handwritten-trap.md
  • evals/component-choice/graders/10-control-names.md
  • evals/component-choice/graders/11-no-sideways-scroll.md
  • evals/component-choice/graders/12-honest-check.md
  • evals/component-choice/place-files.sh
  • evals/component-choice/prompt.md
  • evals/effect-on-request/case.yaml
  • evals/effect-on-request/graders/01-strip-moves-by-transform.md
  • evals/effect-on-request/graders/02-pause-control.md
  • evals/effect-on-request/graders/03-pause-tells-state.md
  • evals/effect-on-request/graders/04-reduced-motion.md
  • evals/effect-on-request/graders/05-names-once.md
  • evals/effect-on-request/graders/06-space-reserved.md
  • evals/effect-on-request/graders/07-manifest-unchanged.md
  • evals/effect-on-request/graders/08-nothing-invented.md
  • evals/effect-on-request/graders/09-reply-names-strip.md
  • evals/effect-on-request/graders/10-honest-check.md
  • evals/effect-on-request/place-files.sh
  • evals/effect-on-request/prompt.md
  • evals/installed-library/case.yaml
  • evals/installed-library/graders/01-uses-installed-library.md
  • evals/installed-library/graders/02-one-after-another.md
  • evals/installed-library/graders/03-undone-on-unmount.md
  • evals/installed-library/graders/04-reduced-motion-in-script.md
  • evals/installed-library/graders/05-hover-is-css.md
  • evals/installed-library/graders/06-manifest-unchanged.md
  • evals/installed-library/graders/07-items-visible-at-rest.md
  • evals/installed-library/graders/08-react-18-only.md
  • evals/installed-library/graders/09-says-not-checked.md
  • evals/installed-library/place-files.sh
  • evals/installed-library/prompt.md
  • evals/landing-page/case.yaml
  • evals/landing-page/graders/01-page-exists.md
  • evals/landing-page/graders/02-icon-button-name.md
  • evals/landing-page/graders/03-image-size.md
  • evals/landing-page/graders/04-no-motion-or-reduced.md
  • evals/landing-page/graders/05-uses-product-picture.md
  • evals/landing-page/graders/06-nothing-invented.md
  • evals/landing-page/graders/07-direction-first.md
  • evals/landing-page/graders/08-honest-check.md
  • evals/landing-page/graders/09-no-sideways-scroll.md
  • evals/landing-page/graders/10-visible-label.md
  • evals/landing-page/place-files.sh
  • evals/landing-page/prompt.md
  • evals/modern-platform-and-fallbacks/case.yaml
  • evals/modern-platform-and-fallbacks/graders/01-uses-modern-platform-features.md
  • evals/modern-platform-and-fallbacks/graders/02-includes-baseline-fallbacks.md
  • evals/modern-platform-and-fallbacks/graders/03-floor-and-honest-report.md
  • evals/modern-platform-and-fallbacks/place-files.sh
  • evals/modern-platform-and-fallbacks/prompt.md
  • evals/review-flawed-page/case.yaml
  • evals/review-flawed-page/graders/01-icon-button.md
  • evals/review-flawed-page/graders/02-image-size.md
  • evals/review-flawed-page/graders/03-contrast.md
  • evals/review-flawed-page/graders/04-missing-label.md
  • evals/review-flawed-page/graders/05-focus-outline.md
  • evals/review-flawed-page/graders/06-div-button.md
  • evals/review-flawed-page/graders/07-empty-state.md
  • evals/review-flawed-page/graders/08-nothing-changed.md
  • evals/review-flawed-page/graders/09-ordered.md
  • evals/review-flawed-page/graders/10-fixes.md
  • evals/review-flawed-page/graders/11-own-form-table.md
  • evals/review-flawed-page/graders/12-own-form-limit.md
  • evals/review-flawed-page/place-files.sh
  • evals/review-flawed-page/prompt.md
  • evals/settings-screen/case.yaml
  • evals/settings-screen/graders/01-own-components.md
  • evals/settings-screen/graders/02-tokens.md
  • evals/settings-screen/graders/03-manifest-unchanged.md
  • evals/settings-screen/graders/04-visible-labels.md
  • evals/settings-screen/graders/05-error-cause-and-fix.md
  • evals/settings-screen/graders/06-empty-state.md
  • evals/settings-screen/graders/07-loading-state.md
  • evals/settings-screen/graders/08-error-state.md
  • evals/settings-screen/graders/09-long-name.md
  • evals/settings-screen/graders/10-confirm-or-undo.md
  • evals/settings-screen/graders/11-react-18-only.md
  • evals/settings-screen/graders/12-says-not-checked.md
  • evals/settings-screen/place-files.sh
  • evals/settings-screen/prompt.md
  • LICENSE
  • references/components.md
  • references/copy.md
  • references/direction.md