contexture: Instructions file for GitHub Copilot

.github/instructions/ui-craft.instructions.md

contexture ui-craft.instructions.md is an instructions file for GitHub Copilot from AcKeskin/contexture. It costs 2,679 tokens per session, scanned A, original, MIT.

Automatically loaded interface-design instructions for HTML, CSS, Vue, Svelte, JSX, and related files. They describe visual hierarchy, spacing, contrast, responsive behaviour, and interaction details.

In plain words
What is it for?
Use them when creating or editing web interfaces and checking the rendered result.
Why use it?
They give the agent concrete standards to check instead of falling back to generic interface designs.

Instructions file for GitHub Copilot

Written for GitHub Copilot: a Copilot instructions file.

This is AcKeskin/contexture's own configuration. It tells GitHub Copilot how to work on contexture itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything contexture configures →

Reuse

Borrowing it

Nothing to install: this file belongs to AcKeskin/contexture. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/AcKeskin/contexture/main/.github/instructions/ui-craft.instructions.md
Clone the repo
git clone --depth 1 https://github.com/AcKeskin/contexture

Made for: GitHub Copilot.

Wrote 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.

agentmods badge for contexture ui-craft.instructions.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/ackeskin/contexture/ui-craft/github.svg)](https://agentmods.dev/instructions/ackeskin/contexture/ui-craft)
Your own site
<a href="https://agentmods.dev/instructions/ackeskin/contexture/ui-craft"><img src="https://agentmods.dev/badge/instructions/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.

agentmods 80×15 button for contexture ui-craft.instructions.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/ackeskin/contexture/ui-craft"><img src="https://agentmods.dev/badge/instructions/ackeskin/contexture/ui-craft.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,679 This file is loaded in full into every session.
When invoked 2,679 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.02679 $0.02679
Opus 5.5 $0.01072 $0.01072
Sonnet 5.5 $0.00536 $0.00536
Haiku 4.5 $0.00268 $0.00268

Measured today against content hash f9ae3d6ba1c1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

contexture ui-craft.instructions.md 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 today.

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.

.github/instructions/ui-craft.instructions.md · 74 lines

How it starts

The opening of the file, as written. The whole thing — 74 lines — stays where its author put it; the contents beside it link to each section on GitHub.

ui-craft rules

Auto-loaded by Copilot when editing files matching **/*.{html,css,scss,less,vue,svelte,jsx,tsx,uss,uxml}. 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, transform and opacity only, prefers-reduced-motion respected. No identical entrance on every section.

Read the full file on GitHub · 74 lines

Changes

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.

  1. today Changed · +1 lines · +237 tokens per session f9ae3d6ba1c1
  2. 10d ago Changed · +2 lines · +153 tokens per session 9a3ef52f9b84
  3. 18d ago First seen · 71 lines · 2,289 tokens per session scan A eae65b4d1701

Subscribe to this mod's changes

contexture ui-craft.instructions.md is an instructions file published in the GitHub repository AcKeskin/contexture (2 stars, last pushed yesterday), licensed MIT. It adds 2,679 tokens to every session, about $0.0107 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.

Related

contexture ui-craft.instructions.md compared with instructions from other repositories

contexture ui-craft.instructions.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
contexture ui-craft.instructions.mdAcKeskin/contextureInstructions file2yesterdayMITA2,679GitHub Copilot
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA9,887GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file144ktodayMITA7,230Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA5,685GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file150ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA3,303GitHub Copilot
deno copilot-instructions.mddenoland/denoInstructions file109kyesterdayMITA3,077GitHub Copilot