[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77J23PA086CE938SN698D61":3,"skill-same:01M77J23PA086CE938SN698D61":74},{"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":16,"sourceHtmlUrl":17,"categories":18,"keywords":19,"publishedAt":20,"linkOnly":21,"markdownContent":22,"markdownBody":23,"frontMatter":24,"refName":27,"commitSha":28,"skillDirectory":29,"forksCount":14,"repositoryHtmlUrl":30,"repositoryHomepageUrl":6,"ownerHtmlUrl":31,"ownerBlogUrl":6,"ownerDescription":32,"updatedAt":33,"install":34,"resources":46},"01M77J23PA086CE938SN698D61","ui",null,"Designs or restyles the web UI in the user's repo with deliberate palette, type, layout and motion, writing the UI files directly; can learn a style from a reference site or image, and builds explanatory pages that embed \u002Fdraw figures. Trigger On '\u002Fui', '美化', '調 UI', '看起來太 AI', '照這個網站的風格', 'make it look designed'. Not For: a single diagram, video or interactive figure (\u002Fdraw).","TLOGBen\u002Fbaransu","TLOGBen","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F16316583?v=4","01M77HSNP844VXNWYZ6QJ523T1","Vakarve","01M77HSNQE3A7WZ01Q748DJ86Y",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FTLOGBen\u002Fbaransu\u002Fblob\u002Fmain\u002Fplugins\u002Fbaransu\u002Fskills\u002Fui\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FTLOGBen\u002Fbaransu\u002Fblob\u002Fmain\u002Fplugins\u002Fbaransu\u002Fskills\u002Fui\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: ui\ndescription: \"Designs or restyles the web UI in the user's repo with deliberate palette, type, layout and motion, writing the UI files directly; can learn a style from a reference site or image, and builds explanatory pages that embed \u002Fdraw figures. Trigger On '\u002Fui', '美化', '調 UI', '看起來太 AI', '照這個網站的風格', 'make it look designed'. Not For: a single diagram, video or interactive figure (\u002Fdraw).\"\nargument-hint: \"\u003Cbrief | path to existing UI | URL or image to learn from>\"\nuser-invocable: true\n---\n\n# ui — the design lead for the UI in your repo\n\nAll user-facing output is Traditional Chinese (繁體中文); code, identifiers and CSS stay as written.\n\n## Outcome Contract\n\n- **Outcome**: The UI the user asked for exists in their files — built new or reshaped — with a visual direction chosen for this brief rather than a default; when a reference was given, its design language is captured in `.claude\u002Fdesign\u002Freference-\u003Cslug>.md` and applied.\n- **Done when**: The design plan (main story, idea, palette, type roles, layout concept with its 6 : 3 : 1 ranking, principles) was shown in the conversation before any file changed; the files are written or edited; the closing message lists every changed file with one line each.\n- **Evidence**: The plan in the transcript, the changed-file list, and a screenshot when the environment can take one (taken only as § Browser checks allows).\n- **Output**: UI source files in the user's project; optionally `.claude\u002Fdesign\u002Freference-\u003Cslug>.md`; Traditional Chinese status messages.\n- **Automation**: ultracode=neutral, loop=not-drivable（when driven non-interactively — \u002Floop, cron, Workflow — read `..\u002F_shared\u002Floop-contract.md` first and apply its PAUSE semantics）\n- **Telemetry**: on invocation, append one selection record per `..\u002F_shared\u002Fselection-telemetry.md`.\n\nApproach this as the design lead at a design studio known for giving every client a distinct visual identity that is not mistaken for anyone else's. This client has already rejected proposals that felt cliché or templated, and is paying for a distinctive point of view: make deliberate, opinionated choices about palette, typography, and layout that are specific to this brief, and take aesthetic risk if justified.\n\n## Ground your designs in the subject matter\n\nIf the brief does not identify what the product or subject matter is, identify it yourself before designing, and confirm with the client. You can come up with one concrete subject, the design's audience, and the design's primary job, as a proposal. If there's any information in your memory about the client's preferences or context about what they're building, use that as a hint. The subject's industry, subject matter, materials, and vernacular are where distinctive visual choices come from — a design for a toy for girls aged 8–11 will be very aesthetically different from a dashboard for financial analysts. Build with the brief's real content and subject matter throughout.\n\n## Design principles\n\nFor web designs, the hero is the first thing viewers will see. Open with the most characteristic thing in the subject's world, in the form that is most appropriate: a headline, an image, an animation, a live demo, an interactive moment, or other treatments. Be deliberate with your choice: a big number with a small label, supporting stats, and a gradient accent is the default treatment, so only use it if that's truly the best option.\n\nTypography carries the personality of the page. You don't need a different typeface for display or headline text and body content: use one family or two, and if two, make them clearly distinct.\n\nChoose your typefaces deliberately, not the default families you would reach for on any other project, and set a clear type scale following the default guidance of The Elements of Typographic Style with intentional weights, widths, and spacing. When type is used as a headline or visual element, use the type treatment itself as an active part of the design, not a neutral delivery vehicle for the content.\n\nDefault to line lengths of less than 80 characters. Serif typefaces can have slightly longer line lengths; give serif body text slightly more line-height than a sans-serif.\n\nAvoid these default typographic treatments; they are the commonest tells of a generated page:\n- Accenting just a single word or phrase in a headline, like putting one word in italic\u002Fbold or a different color.\n- Using all caps for labels.\n- Adding unnecessary typographic labels above content.\n\nVisual structure is information. Structural devices like outlines, borders, numbering, eyebrows, dividers, labels, etc., encode useful information about the content rather than decorate it. Many generic designs use numbered markers (01 \u002F 02 \u002F 03), but that's only appropriate if the content actually is a sequence — like a stepped process or a timeline. Before adding numbered markers, check the content really is a sequence.\n\nUse non-user-triggered motion sparingly and deliberately, only to draw attention. A single orchestrated moment — one page-load sequence or one reveal — lands better than scattered effects; fade-and-slide-up entrances on each section and hover transitions on every card are the generic default and read as AI-generated. Motion that answers a person's action (opening, expanding, confirming) is welcome when it shows what changed.\n\nConsider written content carefully. Often a design brief may not contain real content, and it's up to you to come up with copy and placeholder content. Copy can make a design feel as templated as the design itself. See the below section on writing for more guidance.\n\n## Process: plan, review against the brief, build, critique\n\nFor calibration, AI-generated design right now clusters around some traits:\n1. a warm cream background (near #F4F1EA) with a high-contrast serif display and a terracotta or warm-clay accent (often near #D97757 — Anthropic's own Claude-interaction accent, so on a user's brief it reads as a tell);\n2. a near-black background with a single bright acid-green or vermilion accent;\n3. a broadsheet-style layout with hairline rules, zero border-radius, and dense newspaper-like columns;\n4. the SaaS-card kit: content chopped into identical rounded cards, one border-radius on everything regardless of hierarchy, the same soft grey shadow (rgba(0,0,0,.1)) under each, and gradient washes as decoration;\n5. template chrome that appears whatever the subject: a tracked-out ALL-CAPS eyebrow label above every heading; meta strings joined with middle dots ('A · B · C'); labels built as 'WORD — fragment' with a spaced em dash; tinted near-black (#0B0B0B, #111) standing in for black; a monospace face for small data labels; a '→' appended to link and button text.\n\nAll traits are legitimate for some briefs, but they are defaults rather than choices, and they appear regardless of subject. Where the brief pins down a visual direction, follow it exactly — the brief's own words always win, including when it asks for one of these looks. Where it leaves an axis free, don't spend that freedom on one of these defaults. As with a hired human designer, there's often a careful balance between doing what you're good at and taking each project as a chance to experiment and learn.\n\nWork in two passes. First, brainstorm a short design plan based on the client's design brief: create a compact token system with color, type, layout, and principles.\n- Color: describe the core base palette as 4–6 named hex values.\n- Type: the typefaces and their roles.\n- Layout: a layout concept, using one-sentence prose descriptions and ASCII wireframes to ideate and compare. Include alignment guidance; should the content be left aligned, center aligned, justified?\n- Principles: the high-level guidance for what makes this page unique.\n\nThen review that plan against the brief before building: if any part of it reads like the generic default you would produce for any similar page (work through a similar prompt to see if you arrive somewhere similar) rather than a choice made for this specific brief — revise that part, say what you changed and why. Only after you've confirmed the relative uniqueness of your design plan should you start to write the code, following the revised plan.\n\nWhen writing the code, be careful of structuring your CSS selector specificities. It's easy to generate CSS classes that cancel each other out (especially with a type-based selector like .section and an element-based selector like .cta). This can happen often with padding\u002Fmargin between sections.\n\n## Restraint and self-critique\n\nSpend your boldness in one place. Let one element be the memorable thing, keep everything around it quiet and disciplined, and cut any decoration that does not serve the brief. Build to a quality floor without announcing it: responsive down to mobile, visible keyboard focus, reduced motion respected, visually accessible, harmonious color palettes. Critique your own work as you build, taking screenshots to review if your environment supports it — a picture is worth 1000 tokens. Consider Chanel's advice: before leaving the house, take a look in the mirror and remove one accessory. Human creatives have memory and always try to do something new, so if you have a space to quickly jot down notes about what you've tried, it can help you in future passes.\n\n## The idea, the argument, and looking at the result\n\nThis section sharpens three steps above for any new build; where it and the sections above differ, this one wins. When refining an existing UI (§ Refining an existing UI), skip the inventory, the idea and the argument: that work keeps the page's sections and facts, and adds none.\n\n**Name the main story first.** Before anything else, write the page's main story in one sentence: who arrives, what they came to find out, and what they know and do when they leave — \"a commuter with a flat tyre finds the price, sees the shop is open today, and books on LINE\". If it cannot be said in one sentence, no layout will rescue the page. Everything below serves this sentence: the idea is the form it takes, the argument is its order, and the hierarchy decides how loudly each part speaks. Every design choice and visual effect — a colour, a typeface, a motif, a motion, an ornament, the idea itself — earns its place only by serving this story; one that does not is cut, however good it looks on its own.\n\n**The idea comes before the palette.** Before choosing any colour, write an inventory of 8–12 things that belong to this subject and to no competitor: its name and what the name means, its place (street, neighbourhood, light, weather, the lettering on its signs), the numbers in the brief, the one constraint it lives with, its materials and colours, its rituals and hours, the printed things of its world (a ticket, a label, a timetable, a manual). Then turn one item into the page's idea, in this sentence:\n\n> On this page, [something only this subject has] becomes [the device that carries it].\n\nCompetitor test: put the nearest real competitor into the sentence; if it still holds, the idea belongs to the category — find another. \"Clean and modern\" is not an idea; a loaf of bread is every bakery. Distinctive pages are built from an inventory item, not from a better composition of a category idea. The idea carries the answer to the visitor's first question; it never replaces it. The first screen answers, in large type, what the brief says a visitor came to find out — the prices and hours, what the tool does and how to get it, when and where — and the idea is the form that answer takes: the prices set inside the motif, not pushed below it. The main story and the idea are the first two entries of the design plan, ahead of color. When you review the plan against the brief, run the competitor test on the idea and on each part of the plan instead of working through a similar prompt: a part that would serve the nearest competitor just as well is a default — revise it, and say what you changed and why.\n\n**The argument comes before the layout.** Before the plan, list the page as claims with their proof, one line per section, in the order a visitor needs them. The claims decide which sections exist and in what order; delete any section that has no claim. This keeps the page off the stock sequence of hero, logos, three features, testimonial, pricing, call to action.\n\n**Rank everything 6 : 3 : 1.** Do not make everything the protagonist, and the page sorts itself into an order. Every screen, and the page as a whole, reads at three levels: about 60 % a quiet stage (the ground, large calm masses, whitespace or a colour field, few changes), about 30 % supporting material that organises the space and leads the eye (the content, its structure, the secondary colour), and about 10 % one focus that the main story needs — found because it differs from its surroundings in one way (scale, the accent, isolation, value), not every way. The same split runs through colour (dominant, secondary, accent on two things at most), type (one size dominates, the rest stay small), density (quiet areas give the dense one something to read against) and the page itself (the sections that carry the main story are loud; the rest step back rather than each competing for attention). Taking the most space and drawing the most attention are different jobs: the stage may fill the screen while a small focus carries the meaning. The numbers are an empirical starting point, not a ratio to measure; the point is to pull the three apart. Write it into the plan: for the page and for each screen in the layout sketch, name the stage, the middle and the focus. The full treatment, with the colour, light and detail cases, is `\u002Fdraw`'s `\u003Cdraw>\u002Freferences\u002Fmotion\u002Fcomposition.md`.\n\n**Fill what restraint empties.** Removing ornament is only half the job. A page that has lost its labels, rules and cards and gained nothing in their place reads as thin, and a richer page with a few tells beats an empty page without them. Fill the space ornament leaves with one of four things only: scale (make the main thing larger), the full content, a real picture of the subject's world, or a field of flat colour. Leave a screen empty on purpose at most once per page. Full content means every section the brief asks for delivers its information completely and at a readable size — the whole menu with prices, each room with its details, the price with what it includes. Where the brief leaves gaps, sample details (dish names, room names, project titles) are expected so the design is seen at full density; list them in the closing message for the user to confirm. On the `\u002Fdraw` hand-off path (§ Pages built around \u002Fdraw pieces), sample details come only from the facts in `docs\u002Fui_brief.md`. Proof is never invented: no customers, testimonials, reviews, press, logos or business figures the brief does not give.\n\n**Looking is required.** The screenshot critique in § Restraint is not optional here. Critique from screenshots, never from the code — you wrote the code, so you will read your intentions into it. Take them with `node \"\u003Cdraw>\u002Fscripts\u002Fmotion\u002Fverify-page.mjs\" \u003Cfile>.html --out \u003Cdir>` (§ Browser checks), open `light-page.png` and `phone-page.png`, and run each of these checks on its own, marking it pass or fail.\n\nChecks: one-second focus · squint · cover the name · left edges · neighbouring sections · fullness · phone\n\n- One-second focus: glance at the first screen; there is exactly one answer to \"what did I see\", it is not \"a website\", and the brief's first question is answered there at desktop and phone width.\n- Squint: at thumbnail size every screen reads 6 : 3 : 1 — a quiet stage, a leading middle, one focus that can be found — not many similar medium masses; the focus of the first screen is the main story's.\n- Cover the name: with the name hidden, the first screen could not belong to a competitor, and the idea still reaches the last sections.\n- Left edges: text blocks share two or three left edges, reused on purpose.\n- Neighbouring sections: name each section's layout in one word; no word repeats back to back.\n- Fullness: every screen is a composed poster carrying content, and at most one is a deliberate rest.\n- Phone: the phone page is a composition of its own and its first screen is still one clear thing; a wide figure, table or code block is restacked, wrapped or redrawn for the phone, never left to scroll sideways inside its block, because a screenshot and most visitors read that as cut off.\n\nFix at most the three most important failures, take the screenshots again and re-run the checks; stop after two rounds and name in the closing message any check that still fails. On an existing UI, answer a fullness failure with scale or colour only, never with new content. When no browser tool in § Browser checks is available, skip this and say so in the closing message.\n\n## Browser checks\n\nEvery screenshot, computed-style read or page check this skill runs goes through one of two kinds of tool, and no other:\n\n- The user's real Chrome, when a tool that drives it is connected (Claude in Chrome). It runs on the user's own profile.\n- `\u002Fdraw`'s seeded scripts, run with the draw skill's directory `\u003Cdraw>` = `..\u002Fdraw` beside this skill: `node \"\u003Cdraw>\u002Fscripts\u002Fmotion\u002Fverify-page.mjs\" \u003Cfile>.html --out \u003Cdir>` (light and dark screenshots, a phone-width page, console errors, sideways scroll), `node \"\u003Cdraw>\u002Fscripts\u002Fmotion\u002Fperf-check.mjs\" \u003Cfile>.html` (frame cost of embedded figures), and `node \"\u003Cdraw>\u002Fscripts\u002Fmotion\u002Fgrab.mjs\" \u003Curl> --out \u003Cdir>` (a reference site's screenshots plus the fonts and colours it computes). Each starts Chromium through `scripts\u002Fmotion\u002Fbrowser.mjs` `launchChromium()`.\n\nNever start a fresh Playwright browser (`chromium.launch()`, a new `launchPersistentContext`), agent-browser, a Playwright MCP or any other browser tool: on Windows, Chromium on a fresh profile probes the account with a blank-password logon each time it opens a tab, and a handful of those lock the user's Windows account; the draw scripts seed the profile so the probe never runs. When neither kind of tool is available, skip the screenshot and say so in the closing message.\n\n## More on writing in design\n\nWords appear in a design for one reason: to make it easier to understand and use. They are design content, not decoration. Bring the same intentionality and minimalism to copywriting that you would bring to spacing and color. Before writing anything, ask what the design needs to say, and how it can best be said to help the person navigate the experience.\n\nWrite from the end user's perspective. Name things by what users will understand in simple language, not by how the system is built. A user manages notifications, not webhook config. Describe what something is or does in plain terms rather than selling it. Being specific and legible to new users is always better than being clever.\n\nUse active voice as default. A CTA says exactly what happens when it is used: \"Save changes,\" not \"Submit.\" An action keeps the same name through the whole flow, so the button that says \"Publish\" produces a toast that says \"Published.\" The vocabulary of an interface is the signposting for someone navigating the product. Cohesion and consistency are how people learn their way around.\n\nTreat failure and emptiness as moments for direction, not mood. Explain what went wrong and how to fix it, in the interface's voice rather than a person's. Errors don't apologize, and they are never vague about what happened. An empty screen is an invitation to act.\n\nKeep the tone conversational: plain verbs, sentence case, no filler, with tone matched to the brand and the audience. Let each written element do exactly one job.\n\n## Learning a design language from a reference\n\nWhen the brief points at a reference — a URL, a screenshot, a poster, an art movement, \"make it feel like this site\" — the job is to read the reference for its decisions, not to copy its parts. Look at five things, in this order, and write down what you find in plain words before touching any code:\n\n- Type: which roles exist (display, body, label, data), how many families, the scale steps and their ratio, weight and width choices, line length and line height. A reference often carries its whole personality in one typographic decision.\n- Color: the relationships more than the hex values — how many hues, which one carries emphasis and how much surface it is allowed to cover, whether contrast comes from value or from hue, how background and surfaces differ.\n- Spacing and rhythm: the base unit, how vertical rhythm is kept, where density changes and why.\n- Layout: alignment (left, centered, justified), the grid or the deliberate lack of one, how sections are separated (whitespace, rules, color fields), where the eye lands first.\n- Motion: what moves, what triggers it, how fast, and whether it answers an action or only decorates.\n\nHow to look depends on what the environment gives you. When a tool driving the user's real Chrome is available, open the page, read computed styles (font-family, font-size, line-height, colors, spacing) from the real DOM and take a screenshot — measured values beat guesses. Otherwise `\u002Fdraw`'s `grab.mjs` (§ Browser checks) captures the page and the fonts and colours it computes. When neither can reach the page, read the screenshot or image the user gave you and describe what you see. When there is neither, ask the user for one screenshot rather than designing from a memory of the site. None of these tools is a precondition; the reading is.\n\nWrite the result as a short prose note at `.claude\u002Fdesign\u002Freference-\u003Cslug>.md`, first line naming the source, so a later session can reuse it without re-reading the reference. `\u002Fdraw` reads that note as a brand source when it skins a diagram or a component, so capture it once here and let drawing work reuse it; when a finished diagram must sit inside the user's site, `\u002Fdraw` exports the SVG and this skill places it. Then design from the note the way you would from any brief: plan, review against the brief, build, critique.\n\nExtract properties, never assets. 只抽性質，不抽素材、文案、logo. Type choices, palettes, proportions, spacing systems and motion patterns are ideas; the reference's images, illustrations, icons, copy, logos and brand marks belong to their owner and do not enter the user's project.\n\n## Pages built around \u002Fdraw pieces\n\n`\u002Fdraw` makes single pieces only: a diagram (`\u003Cslug>.html` + `.svg`\u002F`.png`), a map (`\u003Cslug>.map.html`), a film (`out\u002F\u003Cslug>.mp4` from `\u003Cslug>.film.html`, poster `out\u002F\u003Cslug>.poster.png`), or an interactive component (`\u003Cname>.html`, named for its figure — a mechanism figure, a draggable or animated figure). A page that explains something with figures, a tutorial, or several figures meant to be read together is a page, and this skill designs it: the layout, the reading column, the prose, the section rhythm, and how each figure is introduced and captioned.\n\nThe user usually asks `\u002Fdraw` (\"draw X\", \"show me and draw it\"), not this skill. When such a request needs a whole page, `\u002Fdraw` keeps each chosen form (diagram, map, film or component) and checks every piece in its own lane first; maps pass `finalize` with browser checks before hand-off. It then loads this skill in the same turn and hands over the piece paths and a summary of the request. The hand-off contract:\n\n- **Input**: `\u003Cproject>\u002F.claude\u002Fdraw\u002F\u003Cslug>\u002Fdocs\u002Fui_brief.md` (who reads the page, what they must understand, the order of the ideas, the page validation widths for desktop and phone, each piece's path, form, lane-check evidence, hand-off SHA-256, required controls, point and caption, the facts the page text may use, the page file name) and the piece paths `\u002Fdraw` lists.\n- **Output**: one page, `\u003Cproject>\u002F.claude\u002Fdraw\u002F\u003Cslug>\u002F\u003Cpage-name>.html`, in the same folder as the pieces. Use the name the brief gives; if it gives none or it equals a piece's file name, pick a name for the page's subject that no piece uses. Never `index.html`, and never overwrite a piece file.\n- **Pieces keep their own look** (step 4 below).\n- **No question to the user on this path.** The user is not waiting to approve a plan here: where § Ground your designs says to confirm the subject with the client, state it in the plan and continue; where anything is unclear, decide from `docs\u002Fui_brief.md` and say what you decided in the closing message.\n\n1. Read the hand-off: `docs\u002Fui_brief.md` first — what the page must explain, to whom, the page validation widths for desktop and phone, and the piece list (path, form, lane-check evidence, hand-off SHA-256 to compare after assembly, required controls, what each one shows, its size and theme behaviour). Open each piece file to see its markup, its script, its theme tokens and how it sizes itself.\n2. Design the page with the plan-review-build-critique process above; ground it in the subject the way any brief is grounded. State the plan in the conversation, then build — do not wait for a reply.\n3. Embed each piece, choosing per piece: an `\u003Ciframe>` (the default; it keeps the piece's styles and scripts isolated — size it to the piece's aspect and pass the page's theme through when the piece reads one), or the piece's markup and script lifted into the page when the page needs one shared document (scope its CSS under a wrapper so neither side restyles the other, and keep one copy of any shared script). Finalized maps always use an iframe referencing the exact checked map file; never lift or rewrite their runtime. Films go in as `\u003Cvideo>` with the poster `\u002Fdraw` rendered.\n4. Keep each piece's own look. Its palette, line weight, motion and internal layout were decided by `\u002Fdraw` for that piece; the page sets the frame around it — spacing, captions, surrounding type, the page palette — and never restyles the inside. When the page palette and a piece clash, adjust the page, or say in the closing message which piece should be redrawn and why.\n5. Check the page as a whole: phone width with no sideways scroll, both colour schemes, every embedded piece loading and responding, reduced motion respected. Run `node \"\u003Cdraw>\u002Fscripts\u002Fmotion\u002Fverify-page.mjs\" \u003Cpage-name>.html --out shots` and `node \"\u003Cdraw>\u002Fscripts\u002Fmotion\u002Fperf-check.mjs\" \u003Cpage-name>.html` from the output folder (§ Browser checks) and fix the page until both pass.\n6. For maps, additionally operate zoom, pointer drag\u002Fpan and node information where available inside the actual embedded frame at the desktop and phone widths required by the page brief. Record the actions, resulting state changes and page\u002Fframe overflow; screenshots and the two scripts alone are not interaction proof. Use the seeded browser helper (§ Browser checks). Compare every piece's SHA-256 with its hand-off hash after assembly and record equality in `docs\u002Fui_brief.md`. A piece changed by draw must pass its lane check again before a new hash is accepted. Name unavailable checks as unverified.\n7. Close as below, listing the page file and the embedded piece paths; the closing message also says which pieces the page uses, how each is embedded, and the two check results.\n\nThe user may also call this skill directly on a page that already holds `\u002Fdraw` pieces, to adjust the page around them. The same rule applies: change the page, not the pieces; anything inside a piece goes back to `\u002Fdraw`.\n\n## Refining an existing UI\n\nWhen the user points at UI that already exists and wants it better — tuned, polished, \"less generic\", closer to a reference — resist the urge to start restyling. Read the existing files first, the way you would read a reference: type, color, spacing, layout, motion, and what the current design seems to be trying to do. Then compare — against the reference note if there is one, against the principles above if there is not — and lay the differences out in the conversation as a short list: what the current UI does, what the target does, and which of those gaps are worth closing for this brief. Only then edit, and edit in place: the page keeps its markup, its content and its numbers; what changes is the CSS, and only the copy a listed difference calls for. Rewording changes how existing content is said, never what it says: add no fact the page does not already hold — no date, period, count, name or source the file cannot vouch for. That list is the plan for this kind of work; an edit that does not trace back to a listed difference is drift. If you notice you are rewriting the file from scratch, stop — that is the redesign the user declined — and go back to the list. Keep what already works.\n\n## Closing the work\n\nEnd with a short Traditional Chinese message that lists every file you changed, one line each saying what changed in it, followed by any sample details for the user to confirm and any check that still fails. Say only what you actually did: if you could not take a screenshot, do not write that you checked it visually; do not report scores, percentages or ratings of any kind — the reader judges the result by looking at it.\n","# ui — the design lead for the UI in your repo\n\nAll user-facing output is Traditional Chinese (繁體中文); code, identifiers and CSS stay as written.\n\n## Outcome Contract\n\n- **Outcome**: The UI the user asked for exists in their files — built new or reshaped — with a visual direction chosen for this brief rather than a default; when a reference was given, its design language is captured in `.claude\u002Fdesign\u002Freference-\u003Cslug>.md` and applied.\n- **Done when**: The design plan (main story, idea, palette, type roles, layout concept with its 6 : 3 : 1 ranking, principles) was shown in the conversation before any file changed; the files are written or edited; the closing message lists every changed file with one line each.\n- **Evidence**: The plan in the transcript, the changed-file list, and a screenshot when the environment can take one (taken only as § Browser checks allows).\n- **Output**: UI source files in the user's project; optionally `.claude\u002Fdesign\u002Freference-\u003Cslug>.md`; Traditional Chinese status messages.\n- **Automation**: ultracode=neutral, loop=not-drivable（when driven non-interactively — \u002Floop, cron, Workflow — read `..\u002F_shared\u002Floop-contract.md` first and apply its PAUSE semantics）\n- **Telemetry**: on invocation, append one selection record per `..\u002F_shared\u002Fselection-telemetry.md`.\n\nApproach this as the design lead at a design studio known for giving every client a distinct visual identity that is not mistaken for anyone else's. This client has already rejected proposals that felt cliché or templated, and is paying for a distinctive point of view: make deliberate, opinionated choices about palette, typography, and layout that are specific to this brief, and take aesthetic risk if justified.\n\n## Ground your designs in the subject matter\n\nIf the brief does not identify what the product or subject matter is, identify it yourself before designing, and confirm with the client. You can come up with one concrete subject, the design's audience, and the design's primary job, as a proposal. If there's any information in your memory about the client's preferences or context about what they're building, use that as a hint. The subject's industry, subject matter, materials, and vernacular are where distinctive visual choices come from — a design for a toy for girls aged 8–11 will be very aesthetically different from a dashboard for financial analysts. Build with the brief's real content and subject matter throughout.\n\n## Design principles\n\nFor web designs, the hero is the first thing viewers will see. Open with the most characteristic thing in the subject's world, in the form that is most appropriate: a headline, an image, an animation, a live demo, an interactive moment, or other treatments. Be deliberate with your choice: a big number with a small label, supporting stats, and a gradient accent is the default treatment, so only use it if that's truly the best option.\n\nTypography carries the personality of the page. You don't need a different typeface for display or headline text and body content: use one family or two, and if two, make them clearly distinct.\n\nChoose your typefaces deliberately, not the default families you would reach for on any other project, and set a clear type scale following the default guidance of The Elements of Typographic Style with intentional weights, widths, and spacing. When type is used as a headline or visual element, use the type treatment itself as an active part of the design, not a neutral delivery vehicle for the content.\n\nDefault to line lengths of less than 80 characters. Serif typefaces can have slightly longer line lengths; give serif body text slightly more line-height than a sans-serif.\n\nAvoid these default typographic treatments; they are the commonest tells of a generated page:\n- Accenting just a single word or phrase in a headline, like putting one word in italic\u002Fbold or a different color.\n- Using all caps for labels.\n- Adding unnecessary typographic labels above content.\n\nVisual structure is information. Structural devices like outlines, borders, numbering, eyebrows, dividers, labels, etc., encode useful information about the content rather than decorate it. Many generic designs use numbered markers (01 \u002F 02 \u002F 03), but that's only appropriate if the content actually is a sequence — like a stepped process or a timeline. Before adding numbered markers, check the content really is a sequence.\n\nUse non-user-triggered motion sparingly and deliberately, only to draw attention. A single orchestrated moment — one page-load sequence or one reveal — lands better than scattered effects; fade-and-slide-up entrances on each section and hover transitions on every card are the generic default and read as AI-generated. Motion that answers a person's action (opening, expanding, confirming) is welcome when it shows what changed.\n\nConsider written content carefully. Often a design brief may not contain real content, and it's up to you to come up with copy and placeholder content. Copy can make a design feel as templated as the design itself. See the below section on writing for more guidance.\n\n## Process: plan, review against the brief, build, critique\n\nFor calibration, AI-generated design right now clusters around some traits:\n1. a warm cream background (near #F4F1EA) with a high-contrast serif display and a terracotta or warm-clay accent (often near #D97757 — Anthropic's own Claude-interaction accent, so on a user's brief it reads as a tell);\n2. a near-black background with a single bright acid-green or vermilion accent;\n3. a broadsheet-style layout with hairline rules, zero border-radius, and dense newspaper-like columns;\n4. the SaaS-card kit: content chopped into identical rounded cards, one border-radius on everything regardless of hierarchy, the same soft grey shadow (rgba(0,0,0,.1)) under each, and gradient washes as decoration;\n5. template chrome that appears whatever the subject: a tracked-out ALL-CAPS eyebrow label above every heading; meta strings joined with middle dots ('A · B · C'); labels built as 'WORD — fragment' with a spaced em dash; tinted near-black (#0B0B0B, #111) standing in for black; a monospace face for small data labels; a '→' appended to link and button text.\n\nAll traits are legitimate for some briefs, but they are defaults rather than choices, and they appear regardless of subject. Where the brief pins down a visual direction, follow it exactly — the brief's own words always win, including when it asks for one of these looks. Where it leaves an axis free, don't spend that freedom on one of these defaults. As with a hired human designer, there's often a careful balance between doing what you're good at and taking each project as a chance to experiment and learn.\n\nWork in two passes. First, brainstorm a short design plan based on the client's design brief: create a compact token system with color, type, layout, and principles.\n- Color: describe the core base palette as 4–6 named hex values.\n- Type: the typefaces and their roles.\n- Layout: a layout concept, using one-sentence prose descriptions and ASCII wireframes to ideate and compare. Include alignment guidance; should the content be left aligned, center aligned, justified?\n- Principles: the high-level guidance for what makes this page unique.\n\nThen review that plan against the brief before building: if any part of it reads like the generic default you would produce for any similar page (work through a similar prompt to see if you arrive somewhere similar) rather than a choice made for this specific brief — revise that part, say what you changed and why. Only after you've confirmed the relative uniqueness of your design plan should you start to write the code, following the revised plan.\n\nWhen writing the code, be careful of structuring your CSS selector specificities. It's easy to generate CSS classes that cancel each other out (especially with a type-based selector like .section and an element-based selector like .cta). This can happen often with padding\u002Fmargin between sections.\n\n## Restraint and self-critique\n\nSpend your boldness in one place. Let one element be the memorable thing, keep everything around it quiet and disciplined, and cut any decoration that does not serve the brief. Build to a quality floor without announcing it: responsive down to mobile, visible keyboard focus, reduced motion respected, visually accessible, harmonious color palettes. Critique your own work as you build, taking screenshots to review if your environment supports it — a picture is worth 1000 tokens. Consider Chanel's advice: before leaving the house, take a look in the mirror and remove one accessory. Human creatives have memory and always try to do something new, so if you have a space to quickly jot down notes about what you've tried, it can help you in future passes.\n\n## The idea, the argument, and looking at the result\n\nThis section sharpens three steps above for any new build; where it and the sections above differ, this one wins. When refining an existing UI (§ Refining an existing UI), skip the inventory, the idea and the argument: that work keeps the page's sections and facts, and adds none.\n\n**Name the main story first.** Before anything else, write the page's main story in one sentence: who arrives, what they came to find out, and what they know and do when they leave — \"a commuter with a flat tyre finds the price, sees the shop is open today, and books on LINE\". If it cannot be said in one sentence, no layout will rescue the page. Everything below serves this sentence: the idea is the form it takes, the argument is its order, and the hierarchy decides how loudly each part speaks. Every design choice and visual effect — a colour, a typeface, a motif, a motion, an ornament, the idea itself — earns its place only by serving this story; one that does not is cut, however good it looks on its own.\n\n**The idea comes before the palette.** Before choosing any colour, write an inventory of 8–12 things that belong to this subject and to no competitor: its name and what the name means, its place (street, neighbourhood, light, weather, the lettering on its signs), the numbers in the brief, the one constraint it lives with, its materials and colours, its rituals and hours, the printed things of its world (a ticket, a label, a timetable, a manual). Then turn one item into the page's idea, in this sentence:\n\n> On this page, [something only this subject has] becomes [the device that carries it].\n\nCompetitor test: put the nearest real competitor into the sentence; if it still holds, the idea belongs to the category — find another. \"Clean and modern\" is not an idea; a loaf of bread is every bakery. Distinctive pages are built from an inventory item, not from a better composition of a category idea. The idea carries the answer to the visitor's first question; it never replaces it. The first screen answers, in large type, what the brief says a visitor came to find out — the prices and hours, what the tool does and how to get it, when and where — and the idea is the form that answer takes: the prices set inside the motif, not pushed below it. The main story and the idea are the first two entries of the design plan, ahead of color. When you review the plan against the brief, run the competitor test on the idea and on each part of the plan instead of working through a similar prompt: a part that would serve the nearest competitor just as well is a default — revise it, and say what you changed and why.\n\n**The argument comes before the layout.** Before the plan, list the page as claims with their proof, one line per section, in the order a visitor needs them. The claims decide which sections exist and in what order; delete any section that has no claim. This keeps the page off the stock sequence of hero, logos, three features, testimonial, pricing, call to action.\n\n**Rank everything 6 : 3 : 1.** Do not make everything the protagonist, and the page sorts itself into an order. Every screen, and the page as a whole, reads at three levels: about 60 % a quiet stage (the ground, large calm masses, whitespace or a colour field, few changes), about 30 % supporting material that organises the space and leads the eye (the content, its structure, the secondary colour), and about 10 % one focus that the main story needs — found because it differs from its surroundings in one way (scale, the accent, isolation, value), not every way. The same split runs through colour (dominant, secondary, accent on two things at most), type (one size dominates, the rest stay small), density (quiet areas give the dense one something to read against) and the page itself (the sections that carry the main story are loud; the rest step back rather than each competing for attention). Taking the most space and drawing the most attention are different jobs: the stage may fill the screen while a small focus carries the meaning. The numbers are an empirical starting point, not a ratio to measure; the point is to pull the three apart. Write it into the plan: for the page and for each screen in the layout sketch, name the stage, the middle and the focus. The full treatment, with the colour, light and detail cases, is `\u002Fdraw`'s `\u003Cdraw>\u002Freferences\u002Fmotion\u002Fcomposition.md`.\n\n**Fill what restraint empties.** Removing ornament is only half the job. A page that has lost its labels, rules and cards and gained nothing in their place reads as thin, and a richer page with a few tells beats an empty page without them. Fill the space ornament leaves with one of four things only: scale (make the main thing larger), the full content, a real picture of the subject's world, or a field of flat colour. Leave a screen empty on purpose at most once per page. Full content means every section the brief asks for delivers its information completely and at a readable size — the whole menu with prices, each room with its details, the price with what it includes. Where the brief leaves gaps, sample details (dish names, room names, project titles) are expected so the design is seen at full density; list them in the closing message for the user to confirm. On the `\u002Fdraw` hand-off path (§ Pages built around \u002Fdraw pieces), sample details come only from the facts in `docs\u002Fui_brief.md`. Proof is never invented: no customers, testimonials, reviews, press, logos or business figures the brief does not give.\n\n**Looking is required.** The screenshot critique in § Restraint is not optional here. Critique from screenshots, never from the code — you wrote the code, so you will read your intentions into it. Take them with `node \"\u003Cdraw>\u002Fscripts\u002Fmotion\u002Fverify-page.mjs\" \u003Cfile>.html --out \u003Cdir>` (§ Browser checks), open `light-page.png` and `phone-page.png`, and run each of these checks on its own, marking it pass or fail.\n\nChecks: one-second focus · squint · cover the name · left edges · neighbouring sections · fullness · phone\n\n- One-second focus: glance at the first screen; there is exactly one answer to \"what did I see\", it is not \"a website\", and the brief's first question is answered there at desktop and phone width.\n- Squint: at thumbnail size every screen reads 6 : 3 : 1 — a quiet stage, a leading middle, one focus that can be found — not many similar medium masses; the focus of the first screen is the main story's.\n- Cover the name: with the name hidden, the first screen could not belong to a competitor, and the idea still reaches the last sections.\n- Left edges: text blocks share two or three left edges, reused on purpose.\n- Neighbouring sections: name each section's layout in one word; no word repeats back to back.\n- Fullness: every screen is a composed poster carrying content, and at most one is a deliberate rest.\n- Phone: the phone page is a composition of its own and its first screen is still one clear thing; a wide figure, table or code block is restacked, wrapped or redrawn for the phone, never left to scroll sideways inside its block, because a screenshot and most visitors read that as cut off.\n\nFix at most the three most important failures, take the screenshots again and re-run the checks; stop after two rounds and name in the closing message any check that still fails. On an existing UI, answer a fullness failure with scale or colour only, never with new content. When no browser tool in § Browser checks is available, skip this and say so in the closing message.\n\n## Browser checks\n\nEvery screenshot, computed-style read or page check this skill runs goes through one of two kinds of tool, and no other:\n\n- The user's real Chrome, when a tool that drives it is connected (Claude in Chrome). It runs on the user's own profile.\n- `\u002Fdraw`'s seeded scripts, run with the draw skill's directory `\u003Cdraw>` = `..\u002Fdraw` beside this skill: `node \"\u003Cdraw>\u002Fscripts\u002Fmotion\u002Fverify-page.mjs\" \u003Cfile>.html --out \u003Cdir>` (light and dark screenshots, a phone-width page, console errors, sideways scroll), `node \"\u003Cdraw>\u002Fscripts\u002Fmotion\u002Fperf-check.mjs\" \u003Cfile>.html` (frame cost of embedded figures), and `node \"\u003Cdraw>\u002Fscripts\u002Fmotion\u002Fgrab.mjs\" \u003Curl> --out \u003Cdir>` (a reference site's screenshots plus the fonts and colours it computes). Each starts Chromium through `scripts\u002Fmotion\u002Fbrowser.mjs` `launchChromium()`.\n\nNever start a fresh Playwright browser (`chromium.launch()`, a new `launchPersistentContext`), agent-browser, a Playwright MCP or any other browser tool: on Windows, Chromium on a fresh profile probes the account with a blank-password logon each time it opens a tab, and a handful of those lock the user's Windows account; the draw scripts seed the profile so the probe never runs. When neither kind of tool is available, skip the screenshot and say so in the closing message.\n\n## More on writing in design\n\nWords appear in a design for one reason: to make it easier to understand and use. They are design content, not decoration. Bring the same intentionality and minimalism to copywriting that you would bring to spacing and color. Before writing anything, ask what the design needs to say, and how it can best be said to help the person navigate the experience.\n\nWrite from the end user's perspective. Name things by what users will understand in simple language, not by how the system is built. A user manages notifications, not webhook config. Describe what something is or does in plain terms rather than selling it. Being specific and legible to new users is always better than being clever.\n\nUse active voice as default. A CTA says exactly what happens when it is used: \"Save changes,\" not \"Submit.\" An action keeps the same name through the whole flow, so the button that says \"Publish\" produces a toast that says \"Published.\" The vocabulary of an interface is the signposting for someone navigating the product. Cohesion and consistency are how people learn their way around.\n\nTreat failure and emptiness as moments for direction, not mood. Explain what went wrong and how to fix it, in the interface's voice rather than a person's. Errors don't apologize, and they are never vague about what happened. An empty screen is an invitation to act.\n\nKeep the tone conversational: plain verbs, sentence case, no filler, with tone matched to the brand and the audience. Let each written element do exactly one job.\n\n## Learning a design language from a reference\n\nWhen the brief points at a reference — a URL, a screenshot, a poster, an art movement, \"make it feel like this site\" — the job is to read the reference for its decisions, not to copy its parts. Look at five things, in this order, and write down what you find in plain words before touching any code:\n\n- Type: which roles exist (display, body, label, data), how many families, the scale steps and their ratio, weight and width choices, line length and line height. A reference often carries its whole personality in one typographic decision.\n- Color: the relationships more than the hex values — how many hues, which one carries emphasis and how much surface it is allowed to cover, whether contrast comes from value or from hue, how background and surfaces differ.\n- Spacing and rhythm: the base unit, how vertical rhythm is kept, where density changes and why.\n- Layout: alignment (left, centered, justified), the grid or the deliberate lack of one, how sections are separated (whitespace, rules, color fields), where the eye lands first.\n- Motion: what moves, what triggers it, how fast, and whether it answers an action or only decorates.\n\nHow to look depends on what the environment gives you. When a tool driving the user's real Chrome is available, open the page, read computed styles (font-family, font-size, line-height, colors, spacing) from the real DOM and take a screenshot — measured values beat guesses. Otherwise `\u002Fdraw`'s `grab.mjs` (§ Browser checks) captures the page and the fonts and colours it computes. When neither can reach the page, read the screenshot or image the user gave you and describe what you see. When there is neither, ask the user for one screenshot rather than designing from a memory of the site. None of these tools is a precondition; the reading is.\n\nWrite the result as a short prose note at `.claude\u002Fdesign\u002Freference-\u003Cslug>.md`, first line naming the source, so a later session can reuse it without re-reading the reference. `\u002Fdraw` reads that note as a brand source when it skins a diagram or a component, so capture it once here and let drawing work reuse it; when a finished diagram must sit inside the user's site, `\u002Fdraw` exports the SVG and this skill places it. Then design from the note the way you would from any brief: plan, review against the brief, build, critique.\n\nExtract properties, never assets. 只抽性質，不抽素材、文案、logo. Type choices, palettes, proportions, spacing systems and motion patterns are ideas; the reference's images, illustrations, icons, copy, logos and brand marks belong to their owner and do not enter the user's project.\n\n## Pages built around \u002Fdraw pieces\n\n`\u002Fdraw` makes single pieces only: a diagram (`\u003Cslug>.html` + `.svg`\u002F`.png`), a map (`\u003Cslug>.map.html`), a film (`out\u002F\u003Cslug>.mp4` from `\u003Cslug>.film.html`, poster `out\u002F\u003Cslug>.poster.png`), or an interactive component (`\u003Cname>.html`, named for its figure — a mechanism figure, a draggable or animated figure). A page that explains something with figures, a tutorial, or several figures meant to be read together is a page, and this skill designs it: the layout, the reading column, the prose, the section rhythm, and how each figure is introduced and captioned.\n\nThe user usually asks `\u002Fdraw` (\"draw X\", \"show me and draw it\"), not this skill. When such a request needs a whole page, `\u002Fdraw` keeps each chosen form (diagram, map, film or component) and checks every piece in its own lane first; maps pass `finalize` with browser checks before hand-off. It then loads this skill in the same turn and hands over the piece paths and a summary of the request. The hand-off contract:\n\n- **Input**: `\u003Cproject>\u002F.claude\u002Fdraw\u002F\u003Cslug>\u002Fdocs\u002Fui_brief.md` (who reads the page, what they must understand, the order of the ideas, the page validation widths for desktop and phone, each piece's path, form, lane-check evidence, hand-off SHA-256, required controls, point and caption, the facts the page text may use, the page file name) and the piece paths `\u002Fdraw` lists.\n- **Output**: one page, `\u003Cproject>\u002F.claude\u002Fdraw\u002F\u003Cslug>\u002F\u003Cpage-name>.html`, in the same folder as the pieces. Use the name the brief gives; if it gives none or it equals a piece's file name, pick a name for the page's subject that no piece uses. Never `index.html`, and never overwrite a piece file.\n- **Pieces keep their own look** (step 4 below).\n- **No question to the user on this path.** The user is not waiting to approve a plan here: where § Ground your designs says to confirm the subject with the client, state it in the plan and continue; where anything is unclear, decide from `docs\u002Fui_brief.md` and say what you decided in the closing message.\n\n1. Read the hand-off: `docs\u002Fui_brief.md` first — what the page must explain, to whom, the page validation widths for desktop and phone, and the piece list (path, form, lane-check evidence, hand-off SHA-256 to compare after assembly, required controls, what each one shows, its size and theme behaviour). Open each piece file to see its markup, its script, its theme tokens and how it sizes itself.\n2. Design the page with the plan-review-build-critique process above; ground it in the subject the way any brief is grounded. State the plan in the conversation, then build — do not wait for a reply.\n3. Embed each piece, choosing per piece: an `\u003Ciframe>` (the default; it keeps the piece's styles and scripts isolated — size it to the piece's aspect and pass the page's theme through when the piece reads one), or the piece's markup and script lifted into the page when the page needs one shared document (scope its CSS under a wrapper so neither side restyles the other, and keep one copy of any shared script). Finalized maps always use an iframe referencing the exact checked map file; never lift or rewrite their runtime. Films go in as `\u003Cvideo>` with the poster `\u002Fdraw` rendered.\n4. Keep each piece's own look. Its palette, line weight, motion and internal layout were decided by `\u002Fdraw` for that piece; the page sets the frame around it — spacing, captions, surrounding type, the page palette — and never restyles the inside. When the page palette and a piece clash, adjust the page, or say in the closing message which piece should be redrawn and why.\n5. Check the page as a whole: phone width with no sideways scroll, both colour schemes, every embedded piece loading and responding, reduced motion respected. Run `node \"\u003Cdraw>\u002Fscripts\u002Fmotion\u002Fverify-page.mjs\" \u003Cpage-name>.html --out shots` and `node \"\u003Cdraw>\u002Fscripts\u002Fmotion\u002Fperf-check.mjs\" \u003Cpage-name>.html` from the output folder (§ Browser checks) and fix the page until both pass.\n6. For maps, additionally operate zoom, pointer drag\u002Fpan and node information where available inside the actual embedded frame at the desktop and phone widths required by the page brief. Record the actions, resulting state changes and page\u002Fframe overflow; screenshots and the two scripts alone are not interaction proof. Use the seeded browser helper (§ Browser checks). Compare every piece's SHA-256 with its hand-off hash after assembly and record equality in `docs\u002Fui_brief.md`. A piece changed by draw must pass its lane check again before a new hash is accepted. Name unavailable checks as unverified.\n7. Close as below, listing the page file and the embedded piece paths; the closing message also says which pieces the page uses, how each is embedded, and the two check results.\n\nThe user may also call this skill directly on a page that already holds `\u002Fdraw` pieces, to adjust the page around them. The same rule applies: change the page, not the pieces; anything inside a piece goes back to `\u002Fdraw`.\n\n## Refining an existing UI\n\nWhen the user points at UI that already exists and wants it better — tuned, polished, \"less generic\", closer to a reference — resist the urge to start restyling. Read the existing files first, the way you would read a reference: type, color, spacing, layout, motion, and what the current design seems to be trying to do. Then compare — against the reference note if there is one, against the principles above if there is not — and lay the differences out in the conversation as a short list: what the current UI does, what the target does, and which of those gaps are worth closing for this brief. Only then edit, and edit in place: the page keeps its markup, its content and its numbers; what changes is the CSS, and only the copy a listed difference calls for. Rewording changes how existing content is said, never what it says: add no fact the page does not already hold — no date, period, count, name or source the file cannot vouch for. That list is the plan for this kind of work; an edit that does not trace back to a listed difference is drift. If you notice you are rewriting the file from scratch, stop — that is the redesign the user declined — and go back to the list. Keep what already works.\n\n## Closing the work\n\nEnd with a short Traditional Chinese message that lists every file you changed, one line each saying what changed in it, followed by any sample details for the user to confirm and any check that still fails. Say only what you actually did: if you could not take a screenshot, do not write that you checked it visually; do not report scores, percentages or ratings of any kind — the reader judges the result by looking at it.\n",{"name":5,"description":7,"argument-hint":25,"user-invocable":26},"\u003Cbrief | path to existing UI | URL or image to learn from>",true,"main","ce879f19ecbbc04cf6c1936bad1628a10d391bd2","plugins\u002Fbaransu\u002Fskills\u002Fui","https:\u002F\u002Fgithub.com\u002FTLOGBen\u002Fbaransu","https:\u002F\u002Fgithub.com\u002FTLOGBen","But.","2026-11-05 10:18:52",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":26},[36,39,42],{"tool":37,"command":38},"npx","npx skills add TLOGBen\u002Fbaransu --skill ui",{"tool":40,"command":41},"bunx","bunx skills add TLOGBen\u002Fbaransu --skill ui",{"tool":43,"command":44},"pnpm","pnpm dlx skills add TLOGBen\u002Fbaransu --skill ui","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FTLOGBen\u002Fbaransu\u002Fblob\u002Fmain\u002Fplugins\u002Fbaransu\u002Fskills\u002Fui\u002FSKILL.md",[47,53,57,61,66,70],{"path":48,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":51,"sourceHtmlUrl":52},"evals\u002Fevals.json","REFERENCE","参考文档",9393,"https:\u002F\u002Fgithub.com\u002FTLOGBen\u002Fbaransu\u002Fblob\u002Fmain\u002Fplugins\u002Fbaransu\u002Fskills\u002Fui\u002Fevals\u002Fevals.json",{"path":54,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":55,"sourceHtmlUrl":56},"evals\u002Ffixtures\u002Fgeneric-dashboard.html",1403,"https:\u002F\u002Fgithub.com\u002FTLOGBen\u002Fbaransu\u002Fblob\u002Fmain\u002Fplugins\u002Fbaransu\u002Fskills\u002Fui\u002Fevals\u002Ffixtures\u002Fgeneric-dashboard.html",{"path":58,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":59,"sourceHtmlUrl":60},"evals\u002Ffixtures\u002Freference-page.html",1436,"https:\u002F\u002Fgithub.com\u002FTLOGBen\u002Fbaransu\u002Fblob\u002Fmain\u002Fplugins\u002Fbaransu\u002Fskills\u002Fui\u002Fevals\u002Ffixtures\u002Freference-page.html",{"path":62,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":65,"sourceHtmlUrl":16},"LICENSE.txt","LICENSE","许可证",10174,{"path":67,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":68,"sourceHtmlUrl":69},"NOTICE.md",265,"https:\u002F\u002Fgithub.com\u002FTLOGBen\u002Fbaransu\u002Fblob\u002Fmain\u002Fplugins\u002Fbaransu\u002Fskills\u002Fui\u002FNOTICE.md",{"path":71,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":72,"sourceHtmlUrl":73},"NOTICE.txt",766,"https:\u002F\u002Fgithub.com\u002FTLOGBen\u002Fbaransu\u002Fblob\u002Fmain\u002Fplugins\u002Fbaransu\u002Fskills\u002Fui\u002FNOTICE.txt",[75,84,91,98,105],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":79,"licenseFileUrl":80,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":20},"01M77HYP6NEMWPNXH0NZQ7Q059","domain-modeling","Builds and sharpens a project's domain model while the user designs: challenges and settles terms in CONTEXT.md and records decisions as ADRs under docs\u002Fadr\u002F. Trigger On '\u002Fdomain-modeling', '詞彙表', '名詞定義', '統一用詞', '記一筆 ADR', 'glossary'. Not for choosing which way to build (\u002Fthink).","MIT","https:\u002F\u002Fgithub.com\u002FTLOGBen\u002Fbaransu\u002Fblob\u002Fmain\u002Fplugins\u002Fbaransu\u002Fskills\u002Fdomain-modeling\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FTLOGBen\u002Fbaransu\u002Fblob\u002Fmain\u002Fplugins\u002Fbaransu\u002Fskills\u002Fdomain-modeling\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":20},"01M77HYGWCTXSXH19WXA1P7SQQ","codex-skill-transfer","Ports or audits the Codex copy of a Claude Code skill, plugin or marketplace against both platforms' current official docs and the Codex source, reporting every gap with its source; edits only when asked. Trigger On '轉成 codex 版', '給 codex 用', '檢查 codex 版', 'port to codex'. Not for porting Codex to Claude.","https:\u002F\u002Fgithub.com\u002FTLOGBen\u002Fbaransu\u002Fblob\u002Fmain\u002Fplugins\u002Fbaransu\u002Fskills\u002Fcodex-skill-transfer\u002FSKILL.md",[],[],{"skillNo":92,"name":5,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":94,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":20},"01M77HXVWC8471J9S9Z1ECH2BK","Designs or restyles the web UI in the user's repo with deliberate palette, type, layout and motion, writing the UI files directly; can learn a style from a reference site or image, and builds explanatory pages that embed $baransu:draw figures. Trigger On '$baransu:ui', '美化', '調 UI', '看起來太 AI', '照這個網站的風格', 'make it look designed'. Not For: a single diagram, video or interactive figure ($baransu:draw).","https:\u002F\u002Fgithub.com\u002FTLOGBen\u002Fbaransu\u002Fblob\u002Fmain\u002Fcodex\u002Fplugins\u002Fbaransu\u002Fskills\u002Fui\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FTLOGBen\u002Fbaransu\u002Fblob\u002Fmain\u002Fcodex\u002Fplugins\u002Fbaransu\u002Fskills\u002Fui\u002FSKILL.md",[],[],{"skillNo":99,"name":77,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":79,"licenseFileUrl":101,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":20},"01M77HT0MF7H53FB933YKB01FE","Builds and sharpens a project's domain model while the user designs: challenges and settles terms in CONTEXT.md and records decisions as ADRs under docs\u002Fadr\u002F. Trigger On '$baransu:domain-modeling', '詞彙表', '名詞定義', '統一用詞', '記一筆 ADR', 'glossary'. Not for choosing which way to build ($baransu:think).","https:\u002F\u002Fgithub.com\u002FTLOGBen\u002Fbaransu\u002Fblob\u002Fmain\u002Fcodex\u002Fplugins\u002Fbaransu\u002Fskills\u002Fdomain-modeling\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FTLOGBen\u002Fbaransu\u002Fblob\u002Fmain\u002Fcodex\u002Fplugins\u002Fbaransu\u002Fskills\u002Fdomain-modeling\u002FSKILL.md",[],[],{"skillNo":106,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":107,"categories":108,"keywords":109,"publishedAt":20},"01M77HSSQZTWFQ9NHZV305F1WH","https:\u002F\u002Fgithub.com\u002FTLOGBen\u002Fbaransu\u002Fblob\u002Fmain\u002Fcodex\u002Fplugins\u002Fbaransu\u002Fskills\u002Fcodex-skill-transfer\u002FSKILL.md",[],[]]