Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/AcKeskin/contextureWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/rules/ackeskin/contexture/ui-craft)<a href="https://agentmods.dev/rules/ackeskin/contexture/ui-craft"><img src="https://agentmods.dev/badge/rules/ackeskin/contexture/ui-craft/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/rules/ackeskin/contexture/ui-craft"><img src="https://agentmods.dev/badge/rules/ackeskin/contexture/ui-craft.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.02435 | $0.02435 |
| Opus 5.5 | $0.00974 | $0.00974 |
| Sonnet 5.5 | $0.00487 | $0.00487 |
| Haiku 4.5 | $0.00244 | $0.00244 |
Grade A, and why
ui-craft scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 73 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Generated from
architectural-rules/ui-craft/— do not hand-edit.
UI craft floor
Check these on the rendered result, in one look, not as intentions.
- Read the feeling words from the direction, then point at each visible element and ask whether it serves them. List what does not, and fix or remove it before the checks below. Remove extras first (badges, icons, helper lines, dividers nobody needs); less on screen fixes more than restyling.
- Text contrast at least 4.5:1, large text and UI parts 3:1, checked in every theme the UI ships (light and dark). Secondary text on a colored surface is a tint of that surface, never plain gray.
- One element per view is the most important, and it looks it (size, weight or position). Equal boxes of equal weight hide the number the user came for.
- Tight inside a group, wider between groups, more space above a heading than below it. One spacing scale, not one value everywhere.
- Everything sits on one grid: left edges of text, inputs and cards line up, and items that belong together sit closer than items that do not.
- Body measure 65-75ch, line height 1.4-1.6 for body, clear size steps (at least 1.25x between heading levels; secondary text at the same level may differ by color alone), no tracking tighter than -0.03em, no wide tracking on body text.
- Every view handles: empty, loading, error, long or missing values, and the narrowest width it supports (a desktop app: its minimum window size). Empty states say what is missing and give one next action.
- Color states by meaning: red only for errors and danger, amber for needs-attention, neutral for normal off or idle. A stopped service the user stopped is not an error. Never color as the only signal: pair it with a word or icon.
- Labels and status text are true for the current state and use the product's words. Two status lines on one screen never disagree ("idle" next to "streaming"), and no text repeats the word beside it. Buttons name their action; errors name the problem and the fix.
- Focus rings, text selection, scrollbars and form controls are styled from the palette, not left at browser defaults. Number columns use tabular figures.
- Motion only where it explains a change. Ease-out, 150-250ms for feedback,
transformandopacityonly,prefers-reduced-motionrespected. No identical entrance on every section.
Why: these are the failures that make UI read as unfinished, and none of them is a taste call. Sources: pbakaus/impeccable (craft floor, detector rules), vercel-labs/web-interface-guidelines, ibelick/ui-skills (baseline-ui), Figma "UI design principles" (proximity, alignment), WCAG 2.2.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 9d ago Changed · +2 lines · +153 tokens per session c3b889da8963
- 17d ago First seen · 71 lines · 2,282 tokens per session scan A bc8f58c45bcc
ui-craft is a cursor rule published in the GitHub repository AcKeskin/contexture (2 stars, last pushed 7d ago), licensed MIT. It adds 2,435 tokens to every session, about $0.0097 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-13.
ui-craft compared with cursor rules from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ui-craftAcKeskin/contexture | Cursor rule | 2 | 7d ago | MIT | A | 2,435 | Cursor |
| hatch3r-design-system-detectionhatch3r/hatch3r | Cursor rule | 26 | 2mo ago | MIT | A | 0 | Cursor |
| hatch3r-ux-states-and-flowshatch3r/hatch3r | Cursor rule | 26 | 2mo ago | MIT | A | 0 | Cursor |
| hatch3r-accessibility-standardshatch3r/hatch3r | Cursor rule | 26 | 2mo ago | MIT | A | 0 | Cursor |
| hatch3r-component-conventionshatch3r/hatch3r | Cursor rule | 26 | 2mo ago | MIT | A | 0 | Cursor |
| hatch3r-theminghatch3r/hatch3r | Cursor rule | 26 | 2mo ago | MIT | A | 0 | Cursor |
| accessibilitygirijashankarj/cursor-handbook | Cursor rule | 33 | 3mo ago | MIT | A | 0 | Cursor |