@istmx/skills 2.0.0 → 2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +141 -51
- package/RELEASE_v2.1.0.md +68 -0
- package/bin/cli.js +64 -86
- package/context/conversation_transcript.md +786 -0
- package/context/progress.md +129 -0
- package/istm/SKILL.md +20 -11
- package/istm-animate/SKILL.md +19 -11
- package/istm-architecture/SKILL.md +70 -14
- package/istm-architecture/templates/agents.md +21 -2
- package/istm-awwward-designer/SKILL.md +31 -7
- package/istm-design/SKILL.md +26 -12
- package/istm-design/anti-laziness/architectural-patterns.md +55 -0
- package/istm-design/anti-laziness/parameter-tuning.md +44 -0
- package/istm-design/anti-laziness/prompt-engineering.md +52 -0
- package/istm-design/anti-laziness/reference-prompts.md +79 -0
- package/istm-design/archetypes/brandkit/SKILL.md +798 -0
- package/istm-design/archetypes/brutalist/SKILL.md +92 -0
- package/istm-design/archetypes/minimalist/SKILL.md +85 -0
- package/istm-design/archetypes/soft/SKILL.md +98 -0
- package/istm-design/core/ui-ux-pro-max/data/stacks/wpf.csv +1 -1
- package/istm-design/core/ui-ux-pro-max/scripts/design_system.py +1 -1
- package/istm-design/image-to-code/SKILL.md +1228 -0
- package/istm-design/imagegen/SKILL.md +987 -0
- package/istm-design/presets/airbnb/DESIGN.md +545 -0
- package/istm-design/presets/airbnb/README.md +5 -0
- package/istm-design/presets/airtable/DESIGN.md +554 -0
- package/istm-design/presets/airtable/README.md +5 -0
- package/istm-design/presets/apple/DESIGN.md +562 -0
- package/istm-design/presets/apple/README.md +5 -0
- package/istm-design/presets/binance/DESIGN.md +634 -0
- package/istm-design/presets/binance/README.md +5 -0
- package/istm-design/presets/bmw/DESIGN.md +544 -0
- package/istm-design/presets/bmw/README.md +5 -0
- package/istm-design/presets/bmw-m/DESIGN.md +503 -0
- package/istm-design/presets/bmw-m/README.md +5 -0
- package/istm-design/presets/bugatti/DESIGN.md +454 -0
- package/istm-design/presets/bugatti/README.md +5 -0
- package/istm-design/presets/cal/DESIGN.md +542 -0
- package/istm-design/presets/cal/README.md +5 -0
- package/istm-design/presets/catalog.md +127 -0
- package/istm-design/presets/claude/DESIGN.md +589 -0
- package/istm-design/presets/claude/README.md +5 -0
- package/istm-design/presets/clay/DESIGN.md +541 -0
- package/istm-design/presets/clay/README.md +5 -0
- package/istm-design/presets/clickhouse/DESIGN.md +544 -0
- package/istm-design/presets/clickhouse/README.md +5 -0
- package/istm-design/presets/cohere/DESIGN.md +451 -0
- package/istm-design/presets/cohere/README.md +5 -0
- package/istm-design/presets/coinbase/DESIGN.md +570 -0
- package/istm-design/presets/coinbase/README.md +5 -0
- package/istm-design/presets/composio/DESIGN.md +506 -0
- package/istm-design/presets/composio/README.md +5 -0
- package/istm-design/presets/cursor/DESIGN.md +537 -0
- package/istm-design/presets/cursor/README.md +5 -0
- package/istm-design/presets/dell-1996/DESIGN.md +632 -0
- package/istm-design/presets/dell-1996/README.md +5 -0
- package/istm-design/presets/elevenlabs/DESIGN.md +504 -0
- package/istm-design/presets/elevenlabs/README.md +5 -0
- package/istm-design/presets/expo/DESIGN.md +526 -0
- package/istm-design/presets/expo/README.md +5 -0
- package/istm-design/presets/ferrari/DESIGN.md +531 -0
- package/istm-design/presets/ferrari/README.md +5 -0
- package/istm-design/presets/figma/DESIGN.md +578 -0
- package/istm-design/presets/figma/README.md +5 -0
- package/istm-design/presets/framer/DESIGN.md +544 -0
- package/istm-design/presets/framer/README.md +5 -0
- package/istm-design/presets/hashicorp/DESIGN.md +575 -0
- package/istm-design/presets/hashicorp/README.md +5 -0
- package/istm-design/presets/hp/DESIGN.md +670 -0
- package/istm-design/presets/hp/README.md +5 -0
- package/istm-design/presets/ibm/DESIGN.md +550 -0
- package/istm-design/presets/ibm/README.md +5 -0
- package/istm-design/presets/intercom/DESIGN.md +546 -0
- package/istm-design/presets/intercom/README.md +5 -0
- package/istm-design/presets/kraken/DESIGN.md +125 -0
- package/istm-design/presets/kraken/README.md +5 -0
- package/istm-design/presets/lamborghini/DESIGN.md +288 -0
- package/istm-design/presets/lamborghini/README.md +5 -0
- package/istm-design/presets/linear/DESIGN.md +548 -0
- package/istm-design/presets/linear/README.md +5 -0
- package/istm-design/presets/lovable/DESIGN.md +298 -0
- package/istm-design/presets/lovable/README.md +5 -0
- package/istm-design/presets/mastercard/DESIGN.md +365 -0
- package/istm-design/presets/mastercard/README.md +5 -0
- package/istm-design/presets/meta/DESIGN.md +683 -0
- package/istm-design/presets/meta/README.md +5 -0
- package/istm-design/presets/minimax/DESIGN.md +746 -0
- package/istm-design/presets/minimax/README.md +5 -0
- package/istm-design/presets/mintlify/DESIGN.md +852 -0
- package/istm-design/presets/mintlify/README.md +5 -0
- package/istm-design/presets/miro/DESIGN.md +825 -0
- package/istm-design/presets/miro/README.md +5 -0
- package/istm-design/presets/mistral/DESIGN.md +773 -0
- package/istm-design/presets/mistral/README.md +5 -0
- package/istm-design/presets/mongodb/DESIGN.md +767 -0
- package/istm-design/presets/mongodb/README.md +5 -0
- package/istm-design/presets/nike/DESIGN.md +575 -0
- package/istm-design/presets/nike/README.md +5 -0
- package/istm-design/presets/nintendo-2001/DESIGN.md +649 -0
- package/istm-design/presets/nintendo-2001/README.md +5 -0
- package/istm-design/presets/notion/DESIGN.md +821 -0
- package/istm-design/presets/notion/README.md +5 -0
- package/istm-design/presets/nvidia/DESIGN.md +640 -0
- package/istm-design/presets/nvidia/README.md +5 -0
- package/istm-design/presets/ollama/DESIGN.md +539 -0
- package/istm-design/presets/ollama/README.md +5 -0
- package/istm-design/presets/opencode/DESIGN.md +521 -0
- package/istm-design/presets/opencode/README.md +5 -0
- package/istm-design/presets/pinterest/DESIGN.md +597 -0
- package/istm-design/presets/pinterest/README.md +5 -0
- package/istm-design/presets/playstation/DESIGN.md +661 -0
- package/istm-design/presets/playstation/README.md +5 -0
- package/istm-design/presets/posthog/DESIGN.md +690 -0
- package/istm-design/presets/posthog/README.md +5 -0
- package/istm-design/presets/raycast/DESIGN.md +669 -0
- package/istm-design/presets/raycast/README.md +5 -0
- package/istm-design/presets/renault/DESIGN.md +589 -0
- package/istm-design/presets/renault/README.md +5 -0
- package/istm-design/presets/replicate/DESIGN.md +616 -0
- package/istm-design/presets/replicate/README.md +5 -0
- package/istm-design/presets/resend/DESIGN.md +585 -0
- package/istm-design/presets/resend/README.md +5 -0
- package/istm-design/presets/revolut/DESIGN.md +636 -0
- package/istm-design/presets/revolut/README.md +5 -0
- package/istm-design/presets/runwayml/DESIGN.md +244 -0
- package/istm-design/presets/runwayml/README.md +5 -0
- package/istm-design/presets/sanity/DESIGN.md +357 -0
- package/istm-design/presets/sanity/README.md +5 -0
- package/istm-design/presets/sentry/DESIGN.md +551 -0
- package/istm-design/presets/sentry/README.md +5 -0
- package/istm-design/presets/shopify/DESIGN.md +516 -0
- package/istm-design/presets/shopify/README.md +5 -0
- package/istm-design/presets/slack/DESIGN.md +482 -0
- package/istm-design/presets/spacex/DESIGN.md +363 -0
- package/istm-design/presets/spacex/README.md +5 -0
- package/istm-design/presets/spotify/DESIGN.md +246 -0
- package/istm-design/presets/spotify/README.md +5 -0
- package/istm-design/presets/starbucks/DESIGN.md +580 -0
- package/istm-design/presets/starbucks/README.md +5 -0
- package/istm-design/presets/stripe/DESIGN.md +487 -0
- package/istm-design/presets/stripe/README.md +5 -0
- package/istm-design/presets/supabase/DESIGN.md +462 -0
- package/istm-design/presets/supabase/README.md +5 -0
- package/istm-design/presets/superhuman/DESIGN.md +448 -0
- package/istm-design/presets/superhuman/README.md +5 -0
- package/istm-design/presets/tesla/DESIGN.md +286 -0
- package/istm-design/presets/tesla/README.md +5 -0
- package/istm-design/presets/theverge/DESIGN.md +339 -0
- package/istm-design/presets/theverge/README.md +5 -0
- package/istm-design/presets/together/DESIGN.md +633 -0
- package/istm-design/presets/together/README.md +5 -0
- package/istm-design/presets/uber/DESIGN.md +636 -0
- package/istm-design/presets/uber/README.md +5 -0
- package/istm-design/presets/vercel/DESIGN.md +736 -0
- package/istm-design/presets/vercel/README.md +5 -0
- package/istm-design/presets/vodafone/DESIGN.md +538 -0
- package/istm-design/presets/vodafone/README.md +5 -0
- package/istm-design/presets/voltagent/DESIGN.md +521 -0
- package/istm-design/presets/voltagent/README.md +5 -0
- package/istm-design/presets/warp/DESIGN.md +526 -0
- package/istm-design/presets/warp/README.md +5 -0
- package/istm-design/presets/webflow/DESIGN.md +588 -0
- package/istm-design/presets/webflow/README.md +5 -0
- package/istm-design/presets/wired/DESIGN.md +497 -0
- package/istm-design/presets/wired/README.md +5 -0
- package/istm-design/presets/wise/DESIGN.md +544 -0
- package/istm-design/presets/wise/README.md +5 -0
- package/istm-design/presets/xai/DESIGN.md +465 -0
- package/istm-design/presets/xai/README.md +5 -0
- package/istm-design/presets/zapier/DESIGN.md +537 -0
- package/istm-design/presets/zapier/README.md +5 -0
- package/istm-design/references/pick-ui-library.md +1 -1
- package/istm-design/semantic-design/DESIGN.md +121 -0
- package/istm-design/semantic-design/SKILL.md +184 -0
- package/istm-system-design/SKILL.md +12 -5
- package/istm-workflow/istm-autoplan/SKILL.md +1905 -0
- package/istm-workflow/istm-autoplan/SKILL.md.tmpl +923 -0
- package/istm-workflow/istm-craft/SKILL.md +12 -6
- package/istm-workflow/istm-cso/ACKNOWLEDGEMENTS.md +14 -0
- package/istm-workflow/istm-cso/SKILL.md +1313 -0
- package/istm-workflow/istm-cso/SKILL.md.tmpl +407 -0
- package/istm-workflow/istm-cso/sections/audit-phases.md +253 -0
- package/istm-workflow/istm-cso/sections/audit-phases.md.tmpl +251 -0
- package/istm-workflow/istm-cso/sections/manifest.json +14 -0
- package/istm-workflow/istm-debt/SKILL.md +44 -0
- package/istm-workflow/istm-debug/SKILL.md +12 -3
- package/istm-workflow/istm-design-review/SKILL.md +2053 -0
- package/istm-workflow/istm-design-review/SKILL.md.tmpl +312 -0
- package/istm-workflow/istm-develop/SKILL.md +10 -4
- package/istm-workflow/istm-eng-review/SKILL.md +1112 -0
- package/istm-workflow/istm-eng-review/SKILL.md.tmpl +163 -0
- package/istm-workflow/istm-eng-review/sections/manifest.json +14 -0
- package/istm-workflow/istm-eng-review/sections/review-sections.md +942 -0
- package/istm-workflow/istm-eng-review/sections/review-sections.md.tmpl +225 -0
- package/istm-workflow/istm-gain/SKILL.md +50 -0
- package/istm-workflow/istm-health/SKILL.md +1104 -0
- package/istm-workflow/istm-health/SKILL.md.tmpl +320 -0
- package/istm-workflow/istm-qa/BROWSER.md +1468 -0
- package/istm-workflow/istm-qa/SKILL.md +1743 -0
- package/istm-workflow/istm-qa/SKILL.md.tmpl +354 -0
- package/istm-workflow/istm-qa/references/issue-taxonomy.md +85 -0
- package/istm-workflow/istm-qa/templates/qa-report-template.md +126 -0
- package/istm-workflow/istm-release/SKILL.md +989 -0
- package/istm-workflow/istm-release/SKILL.md.tmpl +160 -0
- package/istm-workflow/istm-release/sections/manifest.json +14 -0
- package/istm-workflow/istm-release/sections/release-body.md +547 -0
- package/istm-workflow/istm-release/sections/release-body.md.tmpl +420 -0
- package/istm-workflow/istm-review/SKILL.md +57 -0
- package/istm-workflow/istm-ship/SKILL.md +1504 -0
- package/istm-workflow/istm-ship/SKILL.md.tmpl +582 -0
- package/istm-workflow/istm-ship/sections/adversarial.md +218 -0
- package/istm-workflow/istm-ship/sections/adversarial.md.tmpl +19 -0
- package/istm-workflow/istm-ship/sections/apple-release.md +58 -0
- package/istm-workflow/istm-ship/sections/apple-release.md.tmpl +56 -0
- package/istm-workflow/istm-ship/sections/changelog.md +45 -0
- package/istm-workflow/istm-ship/sections/changelog.md.tmpl +3 -0
- package/istm-workflow/istm-ship/sections/greptile.md +51 -0
- package/istm-workflow/istm-ship/sections/greptile.md.tmpl +49 -0
- package/istm-workflow/istm-ship/sections/manifest.json +62 -0
- package/istm-workflow/istm-ship/sections/plan-completion.md +329 -0
- package/istm-workflow/istm-ship/sections/plan-completion.md.tmpl +31 -0
- package/istm-workflow/istm-ship/sections/pr-body.md +209 -0
- package/istm-workflow/istm-ship/sections/pr-body.md.tmpl +207 -0
- package/istm-workflow/istm-ship/sections/review-army.md +406 -0
- package/istm-workflow/istm-ship/sections/review-army.md.tmpl +56 -0
- package/istm-workflow/istm-ship/sections/test-coverage.md +264 -0
- package/istm-workflow/istm-ship/sections/test-coverage.md.tmpl +23 -0
- package/istm-workflow/istm-ship/sections/tests.md +403 -0
- package/istm-workflow/istm-ship/sections/tests.md.tmpl +116 -0
- package/package.json +6 -3
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: industrial-brutalist-ui
|
|
3
|
+
description: Raw mechanical interfaces fusing Swiss typographic print with military terminal aesthetics. Rigid grids, extreme type scale contrast, utilitarian color, analog degradation effects. For data-heavy dashboards, portfolios, or editorial sites that need to feel like declassified blueprints.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# SKILL: Industrial Brutalism & Tactical Telemetry UI
|
|
7
|
+
|
|
8
|
+
## 1. Skill Meta
|
|
9
|
+
**Name:** Industrial Brutalism & Tactical Telemetry Interface Engineering
|
|
10
|
+
**Description:** Advanced proficiency in architecting web interfaces that synthesize mid-century Swiss Typographic design, industrial manufacturing manuals, and retro-futuristic aerospace/military terminal interfaces. This discipline requires absolute mastery over rigid modular grids, extreme typographic scale contrast, purely utilitarian color palettes, and the programmatic simulation of analog degradation (halftones, CRT scanlines, bitmap dithering). The objective is to construct digital environments that project raw functionality, mechanical precision, and high data density, deliberately discarding conventional consumer UI patterns.
|
|
11
|
+
|
|
12
|
+
## 2. Visual Archetypes
|
|
13
|
+
The design system operates by merging two distinct but highly compatible visual paradigms. **Pick ONE per project and commit to it. Do not alternate or mix both modes within the same interface.**
|
|
14
|
+
|
|
15
|
+
### 2.1 Swiss Industrial Print
|
|
16
|
+
Derived from 1960s corporate identity systems and heavy machinery blueprints.
|
|
17
|
+
* **Characteristics:** High-contrast light modes (newsprint/off-white substrates). Reliance on monolithic, heavy sans-serif typography. Unforgiving structural grids outlined by visible dividing lines. Aggressive, asymmetric use of negative space punctuated by oversized, viewport-bleeding numerals or letterforms. Heavy use of primary red as an alert/accent color.
|
|
18
|
+
|
|
19
|
+
### 2.2 Tactical Telemetry & CRT Terminal
|
|
20
|
+
Derived from classified military databases, legacy mainframes, and aerospace Heads-Up Displays (HUDs).
|
|
21
|
+
* **Characteristics:** Dark mode exclusivity. High-density tabular data presentation. Absolute dominance of monospaced typography. Integration of technical framing devices (ASCII brackets, crosshairs). Application of simulated hardware limitations (phosphor glow, scanlines, low bit-depth rendering).
|
|
22
|
+
|
|
23
|
+
## 3. Typographic Architecture
|
|
24
|
+
Typography is the primary structural and decorative infrastructure. Imagery is secondary. The system demands extreme variance in scale, weight, and spacing.
|
|
25
|
+
|
|
26
|
+
### 3.1 Macro-Typography (Structural Headers)
|
|
27
|
+
* **Classification:** Neo-Grotesque / Heavy Sans-Serif.
|
|
28
|
+
* **Optimal Web Fonts:** Neue Haas Grotesk (Black), Inter (Extra Bold/Black), Archivo Black, Roboto Flex (Heavy), Monument Extended.
|
|
29
|
+
* **Implementation Parameters:**
|
|
30
|
+
* **Scale:** Deployed at massive scales using fluid typography (e.g., `clamp(4rem, 10vw, 15rem)`).
|
|
31
|
+
* **Tracking (Letter-spacing):** Extremely tight, often negative (`-0.03em` to `-0.06em`), forcing glyphs to form solid architectural blocks.
|
|
32
|
+
* **Leading (Line-height):** Highly compressed (`0.85` to `0.95`).
|
|
33
|
+
* **Casing:** Exclusively uppercase for structural impact.
|
|
34
|
+
|
|
35
|
+
### 3.2 Micro-Typography (Data & Telemetry)
|
|
36
|
+
* **Classification:** Monospace / Technical Sans.
|
|
37
|
+
* **Optimal Web Fonts:** JetBrains Mono, IBM Plex Mono, Space Mono, VT323, Courier Prime.
|
|
38
|
+
* **Implementation Parameters:**
|
|
39
|
+
* **Scale:** Fixed and small (`10px` to `14px` / `0.7rem` to `0.875rem`).
|
|
40
|
+
* **Tracking:** Generous (`0.05em` to `0.1em`) to simulate mechanical typewriter spacing or terminal matrices.
|
|
41
|
+
* **Leading:** Standard to tight (`1.2` to `1.4`).
|
|
42
|
+
* **Casing:** Exclusively uppercase. Used for all metadata, navigation, unit IDs, and coordinates.
|
|
43
|
+
|
|
44
|
+
### 3.3 Textural Contrast (Artistic Disruption)
|
|
45
|
+
* **Classification:** High-Contrast Serif.
|
|
46
|
+
* **Optimal Web Fonts:** Playfair Display, EB Garamond, Times New Roman.
|
|
47
|
+
* **Implementation Parameters:** Used exceedingly sparingly. Must be subjected to heavy post-processing (halftone filters, 1-bit dithering) to degrade vector perfection and create textural juxtaposition against the clean sans-serifs.
|
|
48
|
+
|
|
49
|
+
## 4. Color System
|
|
50
|
+
The color architecture is uncompromising. Gradients, soft drop shadows, and modern translucency are strictly prohibited. Colors simulate physical media or primitive emissive displays.
|
|
51
|
+
|
|
52
|
+
**CRITICAL: Choose ONE substrate palette per project and use it consistently. Never mix light and dark substrates within the same interface.**
|
|
53
|
+
|
|
54
|
+
### If Swiss Industrial Print (Light):
|
|
55
|
+
* **Background:** `#F4F4F0` or `#EAE8E3` (Matte, unbleached documentation paper).
|
|
56
|
+
* **Foreground:** `#050505` to `#111111` (Carbon Ink).
|
|
57
|
+
* **Accent:** `#E61919` or `#FF2A2A` (Aviation/Hazard Red). This is the ONLY accent color. Used for strike-throughs, thick structural dividing lines, or vital data highlights.
|
|
58
|
+
|
|
59
|
+
### If Tactical Telemetry (Dark):
|
|
60
|
+
* **Background:** `#0A0A0A` or `#121212` (Deactivated CRT. Avoid pure `#000000`).
|
|
61
|
+
* **Foreground:** `#EAEAEA` (White phosphor). This is the primary text color.
|
|
62
|
+
* **Accent:** `#E61919` or `#FF2A2A` (Aviation/Hazard Red). Same red, same rules.
|
|
63
|
+
* **Terminal Green (`#4AF626`):** Optional. Use ONLY for a single specific UI element (e.g., one status indicator or one data readout) — never as a general text color. If it doesn't serve a clear purpose, omit it entirely.
|
|
64
|
+
|
|
65
|
+
## 5. Layout and Spatial Engineering
|
|
66
|
+
The layout must appear mathematically engineered. It rejects conventional web padding in favor of visible compartmentalization.
|
|
67
|
+
|
|
68
|
+
* **The Blueprint Grid:** Strict adherence to CSS Grid architectures. Elements do not float; they are anchored precisely to grid tracks and intersections.
|
|
69
|
+
* **Visible Compartmentalization:** Extensive utilization of solid borders (`1px` or `2px solid`) to delineate distinct zones of information. Horizontal rules (`<hr>`) frequently span the entire container width to segregate operational units.
|
|
70
|
+
* **Bimodal Density:** Layouts oscillate between extreme data density (tightly packed monospace metadata clustered together) and vast expanses of calculated negative space framing macro-typography.
|
|
71
|
+
* **Geometry:** Absolute rejection of `border-radius`. All corners must be exactly 90 degrees to enforce mechanical rigidity.
|
|
72
|
+
|
|
73
|
+
## 6. UI Components and Symbology
|
|
74
|
+
Standard web UI conventions are replaced with utilitarian, industrial graphic elements.
|
|
75
|
+
|
|
76
|
+
* **Syntax Decoration:** Utilization of ASCII characters to frame data points.
|
|
77
|
+
* *Framing:* `[ DELIVERY SYSTEMS ]`, `< RE-IND >`
|
|
78
|
+
* *Directional:* `>>>`, `///`, `\\\\`
|
|
79
|
+
* **Industrial Markers:** Prominent integration of registration (`®`), copyright (`©`), and trademark (`™`) symbols functioning as structural geometric elements rather than legal text.
|
|
80
|
+
* **Technical Assets:** Integration of crosshairs (`+`) at grid intersections, repeating vertical lines (barcodes), thick horizontal warning stripes, and randomized string data (e.g., `REV 2.6`, `UNIT / D-01`) to simulate active mechanical processes.
|
|
81
|
+
|
|
82
|
+
## 7. Textural and Post-Processing Effects
|
|
83
|
+
To prevent the design from appearing purely digital, simulated analog degradation is engineered into the frontend via CSS and SVG filters.
|
|
84
|
+
|
|
85
|
+
* **Halftone and 1-Bit Dithering:** Transforming continuous-tone images or large serif typography into dot-matrix patterns. Achieved via pre-processing or CSS `mix-blend-mode: multiply` overlays combined with SVG radial dot patterns.
|
|
86
|
+
* **CRT Scanlines:** For terminal interfaces, applying a `repeating-linear-gradient` to the background to simulate horizontal electron beam sweeps (e.g., `repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.1) 2px, rgba(0,0,0,0.1) 4px)`).
|
|
87
|
+
* **Mechanical Noise:** A global, low-opacity SVG static/noise filter applied to the DOM root to introduce a unified physical grain across both dark and light modes.
|
|
88
|
+
|
|
89
|
+
## 8. Web Engineering Directives
|
|
90
|
+
1. **Grid Determinism:** Utilize `display: grid; gap: 1px;` with contrasting parent/child background colors to generate mathematically perfect, razor-thin dividing lines without complex border declarations.
|
|
91
|
+
2. **Semantic Rigidity:** Construct the DOM using precise semantic tags (`<data>`, `<samp>`, `<kbd>`, `<output>`, `<dl>`) to accurately reflect the technical nature of the telemetry.
|
|
92
|
+
3. **Typography Clamping:** Implement CSS `clamp()` functions exclusively for macro-typography to ensure massive text scales aggressively while maintaining structural integrity across viewports.
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: minimalist-ui
|
|
3
|
+
description: Clean editorial-style interfaces. Warm monochrome palette, typographic contrast, flat bento grids, muted pastels. No gradients, no heavy shadows.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Protocol: Premium Utilitarian Minimalism UI Architect
|
|
7
|
+
|
|
8
|
+
## 1. Protocol Overview
|
|
9
|
+
Name: Premium Utilitarian Minimalism & Editorial UI
|
|
10
|
+
Description: An advanced frontend engineering directive for generating highly refined, ultra-minimalist, "document-style" web interfaces analogous to top-tier workspace platforms. This protocol strictly enforces a high-contrast warm monochrome palette, bespoke typographic hierarchies, meticulous structural macro-whitespace, bento-grid layouts, and an ultra-flat component architecture with deliberate muted pastel accents. It actively rejects standard generic SaaS design trends.
|
|
11
|
+
|
|
12
|
+
## 2. Absolute Negative Constraints (Banned Elements)
|
|
13
|
+
The AI must strictly avoid the following generic web development defaults:
|
|
14
|
+
- DO NOT use the "Inter", "Roboto", or "Open Sans" typefaces.
|
|
15
|
+
- DO NOT use generic, thin-line icon libraries like "Lucide", "Feather", or standard "Heroicons".
|
|
16
|
+
- DO NOT use Tailwind's default heavy drop shadows (e.g., `shadow-md`, `shadow-lg`, `shadow-xl`). Shadows must be practically non-existent or heavily customized to be ultra-diffuse and low opacity (< 0.05).
|
|
17
|
+
- DO NOT use primary colored backgrounds for large elements or sections (e.g., no bright blue, green, or red hero sections).
|
|
18
|
+
- DO NOT use gradients, neon colors, or 3D glassmorphism (beyond subtle navbar blurs).
|
|
19
|
+
- DO NOT use `rounded-full` (pill shapes) for large containers, cards, or primary buttons.
|
|
20
|
+
- DO NOT use emojis anywhere in code, markup, text content, headings, or alt text. Replace with proper icons or clean SVG primitives.
|
|
21
|
+
- DO NOT use generic placeholder names like "John Doe", "Acme Corp", or "Lorem Ipsum". Use realistic, contextual content.
|
|
22
|
+
- DO NOT use AI copywriting clichés: "Elevate", "Seamless", "Unleash", "Next-Gen", "Game-changer", "Delve". Write plain, specific language.
|
|
23
|
+
|
|
24
|
+
## 3. Typographic Architecture
|
|
25
|
+
The interface must rely on extreme typographic contrast and premium font selection to establish an editorial feel.
|
|
26
|
+
- Primary Sans-Serif (Body, UI, Buttons): Use clean, geometric, or system-native fonts with character. Target: `font-family: 'SF Pro Display', 'Geist Sans', 'Helvetica Neue', 'Switzer', sans-serif`.
|
|
27
|
+
- Editorial Serif (Hero Headings & Quotes): Target: `font-family: 'Lyon Text', 'Newsreader', 'Playfair Display', 'Instrument Serif', serif`. Apply tight tracking (`letter-spacing: -0.02em` to `-0.04em`) and tight line-height (`1.1`).
|
|
28
|
+
- Monospace (Code, Keystrokes, Meta-data): Target: `font-family: 'Geist Mono', 'SF Mono', 'JetBrains Mono', monospace`.
|
|
29
|
+
- Text Colors: Body text must never be absolute black (`#000000`). Use off-black/charcoal (`#111111` or `#2F3437`) with a generous `line-height` of `1.6` for legibility. Secondary text should be muted gray (`#787774`).
|
|
30
|
+
|
|
31
|
+
## 4. Color Palette (Warm Monochrome + Spot Pastels)
|
|
32
|
+
Color is a scarce resource, utilized only for semantic meaning or subtle accents.
|
|
33
|
+
- Canvas / Background: Pure White `#FFFFFF` or Warm Bone/Off-White `#F7F6F3` / `#FBFBFA`.
|
|
34
|
+
- Primary Surface (Cards): `#FFFFFF` or `#F9F9F8`.
|
|
35
|
+
- Structural Borders / Dividers: Ultra-light gray `#EAEAEA` or `rgba(0,0,0,0.06)`.
|
|
36
|
+
- Accent Colors: Exclusively use highly desaturated, washed-out pastels for tags, inline code backgrounds, or subtle icon backgrounds.
|
|
37
|
+
- Pale Red: `#FDEBEC` (Text: `#9F2F2D`)
|
|
38
|
+
- Pale Blue: `#E1F3FE` (Text: `#1F6C9F`)
|
|
39
|
+
- Pale Green: `#EDF3EC` (Text: `#346538`)
|
|
40
|
+
- Pale Yellow: `#FBF3DB` (Text: `#956400`)
|
|
41
|
+
|
|
42
|
+
## 5. Component Specifications
|
|
43
|
+
- Bento Box Feature Grids:
|
|
44
|
+
- Utilize asymmetrical CSS Grid layouts.
|
|
45
|
+
- Cards must have exactly `border: 1px solid #EAEAEA`.
|
|
46
|
+
- Border-radius must be crisp: `8px` or `12px` maximum.
|
|
47
|
+
- Internal padding must be generous (e.g., `24px` to `40px`).
|
|
48
|
+
- Primary Call-To-Action (Buttons):
|
|
49
|
+
- Solid background `#111111`, text `#FFFFFF`.
|
|
50
|
+
- Slight border-radius (`4px` to `6px`). No box-shadow.
|
|
51
|
+
- Hover state should be a subtle color shift to `#333333` or a micro-scale `transform: scale(0.98)`.
|
|
52
|
+
- Tags & Status Badges:
|
|
53
|
+
- Pill-shaped (`border-radius: 9999px`), very small typography (`text-xs`), uppercase with wide tracking (`letter-spacing: 0.05em`).
|
|
54
|
+
- Background must use the defined Muted Pastels.
|
|
55
|
+
- Accordions (FAQ):
|
|
56
|
+
- Strip all container boxes. Separate items only with a `border-bottom: 1px solid #EAEAEA`.
|
|
57
|
+
- Use a clean, sharp `+` and `-` icon for the toggle state.
|
|
58
|
+
- Keystroke Micro-UIs:
|
|
59
|
+
- Render shortcuts as physical keys using `<kbd>` tags: `border: 1px solid #EAEAEA`, `border-radius: 4px`, `background: #F7F6F3`, using the Monospace font.
|
|
60
|
+
- Faux-OS Window Chrome:
|
|
61
|
+
- When mocking up software, wrap it in a minimalist container with a white top bar containing three small, light gray circles (replicating macOS window controls).
|
|
62
|
+
|
|
63
|
+
## 6. Iconography & Imagery Directives
|
|
64
|
+
- System Icons: Use "Phosphor Icons (Bold or Fill weights)" or "Radix UI Icons" for a technical, slightly thicker-stroke aesthetic. Standardize stroke width across all icons.
|
|
65
|
+
- Illustrations: Monochromatic, rough continuous-line ink sketches on a white background, featuring a single offset geometric shape filled with a muted pastel color.
|
|
66
|
+
- Photography: Use high-quality, desaturated images with a warm tone. Apply subtle overlays (`opacity: 0.04` warm grain) to blend photos into the monochrome palette. Never use oversaturated stock photos. Use reliable placeholders like `https://picsum.photos/seed/{context}/1200/800` when real assets are unavailable.
|
|
67
|
+
- Hero & Section Backgrounds: Sections should not feel empty and flat. Use subtle full-width background imagery at very low opacity, soft radial light spots (`radial-gradient` with warm tones at `opacity: 0.03`), or minimal geometric line patterns to add depth without breaking the clean aesthetic.
|
|
68
|
+
|
|
69
|
+
## 7. Subtle Motion & Micro-Animations
|
|
70
|
+
Motion should feel invisible — present but never distracting. The goal is quiet sophistication, not spectacle.
|
|
71
|
+
- Scroll Entry: Elements fade in gently as they enter the viewport. Use `translateY(12px)` + `opacity: 0` resolving over `600ms` with `cubic-bezier(0.16, 1, 0.3, 1)`. Use `IntersectionObserver`, never `window.addEventListener('scroll')`.
|
|
72
|
+
- Hover States: Cards lift with an ultra-subtle shadow shift (`box-shadow` transitioning from `0 0 0` to `0 2px 8px rgba(0,0,0,0.04)` over `200ms`). Buttons respond with `scale(0.98)` on `:active`.
|
|
73
|
+
- Staggered Reveals: Lists and grid items enter with a cascade delay (`animation-delay: calc(var(--index) * 80ms)`). Never mount everything at once.
|
|
74
|
+
- Background Ambient Motion: Optional. A single, very slow-moving radial gradient blob (`animation-duration: 20s+`, `opacity: 0.02-0.04`) drifting behind hero sections. Must be applied to a `position: fixed; pointer-events: none` layer. Never on scrolling containers.
|
|
75
|
+
- Performance: Animate exclusively via `transform` and `opacity`. No layout-triggering properties (`top`, `left`, `width`, `height`). Use `will-change: transform` sparingly and only on actively animating elements.
|
|
76
|
+
|
|
77
|
+
## 8. Execution Protocol
|
|
78
|
+
When tasked with writing frontend code (HTML, React, Tailwind, Vue) or designing a layout:
|
|
79
|
+
1. Establish the macro-whitespace first. Use massive vertical padding between sections (e.g., `py-24` or `py-32` in Tailwind).
|
|
80
|
+
2. Constrain the main typography content width to `max-w-4xl` or `max-w-5xl`.
|
|
81
|
+
3. Apply the custom typographic hierarchy and monochromatic color variables immediately.
|
|
82
|
+
4. Ensure every card, divider, and border adheres strictly to the `1px solid #EAEAEA` rule.
|
|
83
|
+
5. Add scroll-entry animations to all major content blocks.
|
|
84
|
+
6. Ensure sections have visual depth through imagery, ambient gradients, or subtle textures — no empty flat backgrounds.
|
|
85
|
+
7. Provide code that reflects this high-end, uncluttered, editorial aesthetic natively without requiring manual adjustments.
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: high-end-visual-design
|
|
3
|
+
description: Teaches the AI to design like a high-end agency. Defines the exact fonts, spacing, shadows, card structures, and animations that make a website feel expensive. Blocks all the common defaults that make AI designs look cheap or generic.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Agent Skill: Principal UI/UX Architect & Motion Choreographer (Awwwards-Tier)
|
|
7
|
+
|
|
8
|
+
## 1. Meta Information & Core Directive
|
|
9
|
+
- **Persona:** `Vanguard_UI_Architect`
|
|
10
|
+
- **Objective:** You engineer $150k+ agency-level digital experiences, not just websites. Your output must exude haptic depth, cinematic spatial rhythm, obsessive micro-interactions, and flawless fluid motion.
|
|
11
|
+
- **The Variance Mandate:** NEVER generate the exact same layout or aesthetic twice in a row. You must dynamically combine different premium layout archetypes and texture profiles while strictly adhering to the elite "Apple-esque / Linear-tier" design language.
|
|
12
|
+
|
|
13
|
+
## 2. THE "ABSOLUTE ZERO" DIRECTIVE (STRICT ANTI-PATTERNS)
|
|
14
|
+
If your generated code includes ANY of the following, the design instantly fails:
|
|
15
|
+
- **Banned Fonts:** Inter, Roboto, Arial, Open Sans, Helvetica. (Assume premium fonts like `Geist`, `Clash Display`, `PP Editorial New`, or `Plus Jakarta Sans` are available).
|
|
16
|
+
- **Banned Icons:** Standard thick-stroked Lucide, FontAwesome, or Material Icons. Use only ultra-light, precise lines (e.g., Phosphor Light, Remix Line).
|
|
17
|
+
- **Banned Borders & Shadows:** Generic 1px solid gray borders. Harsh, dark drop shadows (`shadow-md`, `rgba(0,0,0,0.3)`).
|
|
18
|
+
- **Banned Layouts:** Edge-to-edge sticky navbars glued to the top. Symmetrical, boring 3-column Bootstrap-style grids without massive whitespace gaps.
|
|
19
|
+
- **Banned Motion:** Standard `linear` or `ease-in-out` transitions. Instant state changes without interpolation.
|
|
20
|
+
|
|
21
|
+
## 3. THE CREATIVE VARIANCE ENGINE
|
|
22
|
+
Before writing code, silently "roll the dice" and select ONE combination from the following archetypes based on the prompt's context to ensure the output is uniquely tailored but always premium:
|
|
23
|
+
|
|
24
|
+
### A. Vibe & Texture Archetypes (Pick 1)
|
|
25
|
+
1. **Ethereal Glass (SaaS / AI / Tech):** Deepest OLED black (`#050505`), radial mesh gradients (e.g., subtle glowing purple/emerald orbs) in the background. Vantablack cards with heavy `backdrop-blur-2xl` and pure white/10 hairlines. Wide geometric Grotesk typography.
|
|
26
|
+
2. **Editorial Luxury (Lifestyle / Real Estate / Agency):** Warm creams (`#FDFBF7`), muted sage, or deep espresso tones. High-contrast Variable Serif fonts for massive headings. Subtle CSS noise/film-grain overlay (`opacity-[0.03]`) for a physical paper feel.
|
|
27
|
+
3. **Soft Structuralism (Consumer / Health / Portfolio):** Silver-grey or completely white backgrounds. Massive bold Grotesk typography. Airy, floating components with unbelievably soft, highly diffused ambient shadows.
|
|
28
|
+
|
|
29
|
+
### B. Layout Archetypes (Pick 1)
|
|
30
|
+
1. **The Asymmetrical Bento:** A masonry-like CSS Grid of varying card sizes (e.g., `col-span-8 row-span-2` next to stacked `col-span-4` cards) to break visual monotony.
|
|
31
|
+
- **Mobile Collapse:** Falls back to a single-column stack (`grid-cols-1`) with generous vertical gaps (`gap-6`). All `col-span` overrides reset to `col-span-1`.
|
|
32
|
+
2. **The Z-Axis Cascade:** Elements are stacked like physical cards, slightly overlapping each other with varying depths of field, some with a subtle `-2deg` or `3deg` rotation to break the digital grid.
|
|
33
|
+
- **Mobile Collapse:** Remove all rotations and negative-margin overlaps below `768px`. Stack vertically with standard spacing. Overlapping elements cause touch-target conflicts on mobile.
|
|
34
|
+
3. **The Editorial Split:** Massive typography on the left half (`w-1/2`), with interactive, scrollable horizontal image pills or staggered interactive cards on the right.
|
|
35
|
+
- **Mobile Collapse:** Converts to a full-width vertical stack (`w-full`). Typography block sits on top, interactive content flows below with horizontal scroll preserved if needed.
|
|
36
|
+
|
|
37
|
+
**Mobile Override (Universal):** Any asymmetric layout above `md:` MUST aggressively fall back to `w-full`, `px-4`, `py-8` on viewports below `768px`. Never use `h-screen` for full-height sections — always use `min-h-[100dvh]` to prevent iOS Safari viewport jumping.
|
|
38
|
+
|
|
39
|
+
## 4. HAPTIC MICRO-AESTHETICS (COMPONENT MASTERY)
|
|
40
|
+
|
|
41
|
+
### A. The "Double-Bezel" (Doppelrand / Nested Architecture)
|
|
42
|
+
Never place a premium card, image, or container flatly on the background. They must look like physical, machined hardware (like a glass plate sitting in an aluminum tray) using nested enclosures.
|
|
43
|
+
- **Outer Shell:** A wrapper `div` with a subtle background (`bg-black/5` or `bg-white/5`), a hairline outer border (`ring-1 ring-black/5` or `border border-white/10`), a specific padding (e.g., `p-1.5` or `p-2`), and a large outer radius (`rounded-[2rem]`).
|
|
44
|
+
- **Inner Core:** The actual content container inside the shell. It has its own distinct background color, its own inner highlight (`shadow-[inset_0_1px_1px_rgba(255,255,255,0.15)]`), and a mathematically calculated smaller radius (e.g., `rounded-[calc(2rem-0.375rem)]`) for concentric curves.
|
|
45
|
+
|
|
46
|
+
### B. Nested CTA & "Island" Button Architecture
|
|
47
|
+
- **Structure:** Primary interactive buttons must be fully rounded pills (`rounded-full`) with generous padding (`px-6 py-3`).
|
|
48
|
+
- **The "Button-in-Button" Trailing Icon:** If a button has an arrow (`↗`), it NEVER sits naked next to the text. It must be nested inside its own distinct circular wrapper (e.g., `w-8 h-8 rounded-full bg-black/5 dark:bg-white/10 flex items-center justify-center`) placed completely flush with the main button's right inner padding.
|
|
49
|
+
|
|
50
|
+
### C. Spatial Rhythm & Tension
|
|
51
|
+
- **Macro-Whitespace:** Double your standard padding. Use `py-24` to `py-40` for sections. Allow the design to breathe heavily.
|
|
52
|
+
- **Eyebrow Tags:** Precede major H1/H2s with a microscopic, pill-shaped badge (`rounded-full px-3 py-1 text-[10px] uppercase tracking-[0.2em] font-medium`).
|
|
53
|
+
|
|
54
|
+
## 5. MOTION CHOREOGRAPHY (FLUID DYNAMICS)
|
|
55
|
+
Never use default transitions. All motion must simulate real-world mass and spring physics. Use custom cubic-beziers (e.g., `transition-all duration-700 ease-[cubic-bezier(0.32,0.72,0,1)]`).
|
|
56
|
+
|
|
57
|
+
### A. The "Fluid Island" Nav & Hamburger Reveal
|
|
58
|
+
- **Closed State:** The Navbar is a floating glass pill detached from the top (`mt-6`, `mx-auto`, `w-max`, `rounded-full`).
|
|
59
|
+
- **The Hamburger Morph:** On click, the 2 or 3 lines of the hamburger icon must fluidly rotate and translate to form a perfect 'X' (`rotate-45` and `-rotate-45` with absolute positioning), not just disappear.
|
|
60
|
+
- **The Modal Expansion:** The menu should open as a massive, screen-filling overlay with a heavy glass effect (`backdrop-blur-3xl bg-black/80` or `bg-white/80`).
|
|
61
|
+
- **Staggered Mask Reveal:** The navigation links inside the expanded state do not just appear. They fade in and slide up from an invisible box (`translate-y-12 opacity-0` to `translate-y-0 opacity-100`) with a staggered delay (`delay-100`, `delay-150`, `delay-200` for each item).
|
|
62
|
+
|
|
63
|
+
### B. Magnetic Button Hover Physics
|
|
64
|
+
- Use the `group` utility. On hover, do not just change the background color.
|
|
65
|
+
- Scale the entire button down slightly (`active:scale-[0.98]`) to simulate physical pressing.
|
|
66
|
+
- The nested inner icon circle should translate diagonally (`group-hover:translate-x-1 group-hover:-translate-y-[1px]`) and scale up slightly (`scale-105`), creating internal kinetic tension.
|
|
67
|
+
|
|
68
|
+
### C. Scroll Interpolation (Entry Animations)
|
|
69
|
+
- Elements never appear statically on load. As they enter the viewport, they must execute a gentle, heavy fade-up (`translate-y-16 blur-md opacity-0` resolving to `translate-y-0 blur-0 opacity-100` over 800ms+).
|
|
70
|
+
- For JavaScript-driven scroll reveals, use `IntersectionObserver` or Framer Motion's `whileInView`. Never use `window.addEventListener('scroll')` — it causes continuous reflows and kills mobile performance.
|
|
71
|
+
|
|
72
|
+
## 6. PERFORMANCE GUARDRAILS
|
|
73
|
+
- **GPU-Safe Animation:** Never animate `top`, `left`, `width`, or `height`. Animate exclusively via `transform` and `opacity`. Use `will-change: transform` sparingly and only on elements that are actively animating.
|
|
74
|
+
- **Blur Constraints:** Apply `backdrop-blur` only to fixed or sticky elements (navbars, overlays). Never apply blur filters to scrolling containers or large content areas — this causes continuous GPU repaints and severe mobile frame drops.
|
|
75
|
+
- **Grain/Noise Overlays:** Apply noise textures exclusively to fixed, `pointer-events-none` pseudo-elements (`position: fixed; inset: 0; z-index: 50`). Never attach them to scrolling containers.
|
|
76
|
+
- **Z-Index Discipline:** Do not use arbitrary `z-50` or `z-[9999]`. Reserve z-indexes strictly for systemic layers: sticky nav, modals, overlays, tooltips.
|
|
77
|
+
|
|
78
|
+
## 7. EXECUTION PROTOCOL
|
|
79
|
+
When generating UI code, follow this exact sequence:
|
|
80
|
+
1. **[SILENT THOUGHT]** Roll the Variance Engine (Section 3). Choose your Vibe and Layout Archetypes based on the prompt's context to ensure a unique output.
|
|
81
|
+
2. **[SCAFFOLD]** Establish the background texture, macro-whitespace scale, and massive typography sizes.
|
|
82
|
+
3. **[ARCHITECT]** Build the DOM strictly using the "Double-Bezel" (Doppelrand) technique for all major cards, inputs, and feature grids. Use exaggerated squircle radii (`rounded-[2rem]`).
|
|
83
|
+
4. **[CHOREOGRAPH]** Inject the custom `cubic-bezier` transitions, the staggered navigation reveals, and the button-in-button hover physics.
|
|
84
|
+
5. **[OUTPUT]** Deliver flawless, pixel-perfect React/Tailwind/HTML code. Do not include basic, generic fallbacks.
|
|
85
|
+
|
|
86
|
+
## 8. PRE-OUTPUT CHECKLIST
|
|
87
|
+
Evaluate your code against this matrix before delivering. This is the last filter.
|
|
88
|
+
- [ ] No banned fonts, icons, borders, shadows, layouts, or motion patterns from Section 2 are present
|
|
89
|
+
- [ ] A Vibe Archetype and Layout Archetype from Section 3 were consciously selected and applied
|
|
90
|
+
- [ ] All major cards and containers use the Double-Bezel nested architecture (outer shell + inner core)
|
|
91
|
+
- [ ] CTA buttons use the Button-in-Button trailing icon pattern where applicable
|
|
92
|
+
- [ ] Section padding is at minimum `py-24` — the layout breathes heavily
|
|
93
|
+
- [ ] All transitions use custom cubic-bezier curves — no `linear` or `ease-in-out`
|
|
94
|
+
- [ ] Scroll entry animations are present — no element appears statically
|
|
95
|
+
- [ ] Layout collapses gracefully below `768px` to single-column with `w-full` and `px-4`
|
|
96
|
+
- [ ] All animations use only `transform` and `opacity` — no layout-triggering properties
|
|
97
|
+
- [ ] `backdrop-blur` is only applied to fixed/sticky elements, never to scrolling content
|
|
98
|
+
- [ ] The overall impression reads as "$150k agency build", not "template with nice fonts"
|
|
@@ -30,7 +30,7 @@ No,Category,Guideline,Description,Do,Don't,Code Good,Code Bad,Severity,Docs URL
|
|
|
30
30
|
29,Commands,Use AsyncRelayCommand for async operations,Tracks IsRunning and disables the command while it executes preventing re-entry,AsyncRelayCommand or [RelayCommand] on async Task method,async void event handlers in code-behind,[RelayCommand] private async Task SaveAsync() { await _service.SaveAsync(); },"private async void OnSaveClick(object s, RoutedEventArgs e) { await _service.SaveAsync(); }",Medium,https://learn.microsoft.com/en-us/dotnet/communitytoolkit/mvvm/asyncrelaycommand
|
|
31
31
|
30,Commands,Use CommandParameter for context,Pass data from the UI element to the command handler,CommandParameter for item-specific actions,Relying on SelectedItem in every command,"<Button Command=""{Binding DeleteCommand}"" CommandParameter=""{Binding}""/>","Command handler accessing SelectedItem directly",Low,https://learn.microsoft.com/en-us/dotnet/desktop/wpf/advanced/commanding-overview
|
|
32
32
|
31,Commands,Use InputBindings for keyboard shortcuts,Bind keyboard gestures to commands without manual key handling,KeyBinding inside Window.InputBindings,Custom key handling in PreviewKeyDown,"<Window.InputBindings><KeyBinding Key=""S"" Modifiers=""Ctrl"" Command=""{Binding SaveCommand}""/></Window.InputBindings>",PreviewKeyDown handler checking for Ctrl+S,Medium,https://learn.microsoft.com/en-us/dotnet/desktop/wpf/advanced/commanding-overview
|
|
33
|
-
32,Performance,Use
|
|
33
|
+
32,Performance,Use VirtualizinistmPanel for large lists,Only creates UI elements for visible items. ListBox/ListView virtualize by default; TreeView requires opt-in,VirtualizinistmPanel.IsVirtualizing=True (set on TreeView; default for ListBox),Disabling virtualization on long lists,"<TreeView VirtualizinistmPanel.IsVirtualizing=""True"" VirtualizinistmPanel.VirtualizationMode=""Recycling""/>","<ListBox ScrollViewer.CanContentScroll=""False""/>",High,https://learn.microsoft.com/en-us/dotnet/desktop/wpf/advanced/optimizing-performance-controls
|
|
34
34
|
33,Performance,Freeze Freezable objects,Frozen brushes and geometries skip change tracking,Freeze brushes and pens that do not change,Mutable brushes used as static resources,"var brush = new SolidColorBrush(Colors.Blue); brush.Freeze();","new SolidColorBrush() without Freeze in resources",Medium,https://learn.microsoft.com/en-us/dotnet/desktop/wpf/advanced/freezable-objects-overview
|
|
35
35
|
34,Performance,Use DependencyProperty for custom-control binding targets,Binding target properties on custom controls must be DependencyProperties (sources can be plain CLR properties with INPC),Define DependencyProperty for properties bound TO on a custom control,Plain CLR properties as binding targets on custom controls,"public static readonly DependencyProperty NameProperty = ...","public string Name { get; set; } as binding target on custom control",Medium,https://learn.microsoft.com/en-us/dotnet/desktop/wpf/properties/dependency-properties-overview
|
|
36
36
|
35,Performance,Use async for long operations,Keep UI thread responsive,async/await with Task.Run for CPU work,Synchronous operations that freeze the UI,"await Task.Run(() => HeavyComputation());","HeavyComputation() on UI thread",High,https://learn.microsoft.com/en-us/dotnet/csharp/asynchronous-programming/
|
|
@@ -44,7 +44,7 @@ SEARCH_CONFIG = {
|
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
# ============ DESIGN DIALS (1-10) ============
|
|
47
|
-
#
|
|
47
|
+
# Native @istmx DESIGN_VARIANCE / MOTION_INTENSITY / VISUAL_DENSITY dials
|
|
48
48
|
# knobs: three optional 1-10 sliders that bias the existing query-based search
|
|
49
49
|
# instead of replacing it. Each dial buckets into a low/mid/high tier.
|
|
50
50
|
DIAL_TIERS = {
|