Skip to main content

The Digital Architect of Prestige — a coding-agent skill for designing premium, high-conversion websites and mobile UIs using applied psychology and trust engineering. Ships a SKILL.md contract plus an executable design-linter that audits generated HTML/CSS against the Halo Effect, Cognitive Fluency, Trust Engineering, Peak-End Rule, and Horn-Effect triggers.

Project description

The Digital Architect of Prestige 💎

A coding-agent skill for designing premium, high-conversion websites and mobile UIs — for Claude Code, Codex, OpenCode, Cursor, and any agent that reads a project skill file. It moves the agent beyond aesthetics into applied psychology and trust engineering, and ships an executable design linter so the agent can verify its output against the principles, not just intend them.

Users judge credibility in ~50ms from visuals alone. If it looks professional, they assume the service is too (the Halo Effect). This skill engineers that halo — and refuses to let a pretty page ship over a broken one.

Workflow at a glance

flowchart LR
    A["User journey or page brief"] --> B["Select workflow and purpose"]
    B --> C["Build premium UI"]
    C --> D["Audit five laws"]
    D --> E["Score bias, CTA, hook, mobile, and purpose fit"]
    E -->|"fails"| F["Fix ranked recommendations"]
    F --> D
    E -->|"passes"| G["Ship UI with design receipt"]

Install into your agent (any OS)

python install.py                 # Windows / macOS / Linux (installs + verifies)
# then, inside your project:
prestige install claude           # or: codex · opencode · cursor · generic

That drops SKILL.md where your agent auto-reads it. From then on, any "design a landing page / make this premium / build a checkout" request triggers the skill.

What the agent gets

A design contract (SKILL.md) encoding five laws it applies every time:

  1. The 50ms Halo — hero section, one bold headline, high-fidelity cover imagery.
  2. Cognitive Fluency — Hick's/Miller's Law, extreme whitespace, one goal per section, line-height ≥ 1.6.
  3. Trust Engineering — security + social-proof cues at decision points, total price incl. fees upfront, guest checkout.
  4. Peak-End Rule — micro-interactions at the peaks, inline form validation, a rewarding confirmation ending.
  5. Horn-Effect Defense — one Visual DNA in CSS variables, mobile-first stability, no dated cues.

An executable linter (prestige audit) that scores generated HTML/CSS on all five laws and hard-fails on major functional flaws — because the skill's one non-negotiable rule is never let aesthetics mask a broken primary action or an inaccessible UI.

prestige scaffold site.html        # premium starter (scores 100/100)
prestige audit site.html           # score the five laws + catch Horn-Effect triggers
prestige purpose site.html --purpose developer  # opinionated purpose-fit audit
prestige audit site.html --strict  # exit 1 if failing — use as an agent/CI gate

Example on a deliberately clunky page:

Overall: 18/100   Verdict: NEEDS WORK
halo:15  fluency:20  trust:20  peak:20  horn:15
⛔ HARD FAILURES (fix before shipping — function over aesthetics):
   MAJOR_FLAW: primary action button has no accessible label/text.
   ✗ [trust] T_NO_SECURITY: Transactional UI with no security cue near actions.
   ✗ [horn]  C_NO_VIEWPORT: Missing viewport meta — mobile layout will break.

The workflow the skill teaches

Discovery (audit the journey for trust gaps) → Build (apply the five laws) → Verify (prestige audit, fix flags, then present). The agent treats a failing audit like a failing test — which is exactly how "premium" stops being a vibe and becomes a checkable property.

The psychology, sourced

Halo Effect & the 50ms window · Aesthetic-Usability Effect · Hick's & Miller's Law · Fitts's Law · Peak-End Rule · Negativity/Horn Effect. Detailed playbooks in references/ (hero-halo, cognitive-fluency, trust-engineering, peak-end).

v0.2 — deeper psychology, stricter scoring, five workflows

  • Cognitive Bias Engine — six research-backed biases (Von Restorff, Anchoring, Social Proof, Loss Aversion, Reciprocity, Cognitive Fluency) with detectors, quality scoring, and precise recommendations.
  • CTA & Hook Verification — scores whether your call-to-action and headline are engineered to convert (weak-verb detection, reader-focus, power words, CTA-competition penalty) with exact rewrites.
  • Strict Mobile Judge — thumb-reach tap targets, viewport discipline, real breakpoints, legible base text, sticky-CTA guidance — because trust breaks on mobile first.
  • Five Design-Principle Workflows — Conversion Architect, Luxury Minimalist, Trust Engineer, Editorial Storyteller, Product-Led Pragmatist. Each is a distinct optimization strategy that re-weights the score.
  • Precision Scoringprestige score <file> --workflow <key> fuses laws + biases + CTA/hooks + mobile into a 0–100 conversion-readiness grade with recommendations ranked by conversion impact.
prestige workflows                          # see the five lenses
prestige score site.html --workflow trust   # precise score + ranked fixes
prestige score site.html --strict           # exit 1 if not conversion-ready

Grounded in current research: credibility forms in ~0.05s (Google), trigger-driven UX lifts conversion ~34% on average (Nielsen Norman 2024).

v0.3 - purpose-fit design judgment

Workflows answer what the page optimizes for. Purpose lenses answer what psychological job the design must do for this audience and domain.

Prestige now ships deterministic purpose-fit profiles:

  • developer - concrete proof, docs, CLI/API clarity, GitHub/demo trust.
  • healthcare - calm reassurance, privacy, clinician proof, no miracle hype.
  • fintech - security, transparent fees/rates, control, compliance cues.
  • luxury - restraint, craft, whitespace, fewer louder elements.
  • marketplace - bilateral buyer/seller trust, reviews, protection, comparison.
  • saas - product visibility, integrations, ROI, low-friction activation.
  • editorial - narrative rhythm, sources, evidence, satisfying end beat.
prestige purposes
prestige purpose site.html --purpose healthcare --strict
prestige score site.html --workflow trust --purpose healthcare

The purpose gate scores intent clarity, proof fit, visual theme fit, action language, and purpose-specific anti-patterns. This makes Prestige more opinionated in the right way: not just "pretty," but fit for the decision the interface exists to change.

License

Dual-licensed Apache-2.0 OR MIT — pick whichever your project prefers.

Criterion attribution

Prestige 0.2.1 wraps its existing five per-law scores in the factory attribution envelope. Run prestige audit page.html --json to receive one unit per design criterion, its score and threshold, and the unchanged overall verdict.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

code_factory_4_design-0.3.0.tar.gz (29.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

code_factory_4_design-0.3.0-py3-none-any.whl (31.3 kB view details)

Uploaded Python 3

File details

Details for the file code_factory_4_design-0.3.0.tar.gz.

File metadata

  • Download URL: code_factory_4_design-0.3.0.tar.gz
  • Upload date:
  • Size: 29.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for code_factory_4_design-0.3.0.tar.gz
Algorithm Hash digest
SHA256 ae6aad1a4f2653af768bf9e8d2572f678784bb0fae6f0bcc77ff614724772f5b
MD5 d2a0f45ae2dc3aa655e78a60beaac7f0
BLAKE2b-256 68f955ff3b31889eb2f8d7c72d8a361afa6165fbc8cc89a5c73cb2dd51ce3760

See more details on using hashes here.

File details

Details for the file code_factory_4_design-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for code_factory_4_design-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 81c284291a24c6e038f57882314b63a5ec7e6c592fa088cdeb9f7724cbfb7a82
MD5 a98a8b92b0a1d34f783251a9272ace8a
BLAKE2b-256 2fde0ce76961c665768dc480d30b67f342518886c1e983b897424911a0f5c33a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page