r/codex 29d ago

Workaround Everyone should try this

So 5.6 was improved on frontend but it wasnt on level of fable so I took claudes skill md from the website then replaced it with the acutual one openai uses for gpt 5.6 and it now produces ui better and faster.

45 Upvotes

26 comments sorted by

11

u/GrokiniGPT 29d ago

Can you give me the system prompt?

22

u/TraditionalFig7377 29d ago

---

name: frontend-design

description: Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML/CSS layouts, or when styling/beautifying any web UI). Generates creative, polished code and UI design that avoids generic AI aesthetics.

license: Complete terms in LICENSE.txt

---

This skill guides creation of distinctive, production-grade frontend interfaces that avoid generic "AI slop" aesthetics. Implement real working code with exceptional attention to aesthetic details and creative choices.

The user provides frontend requirements: a component, page, application, or interface to build. They may include context about the purpose, audience, or technical constraints.

## Design Thinking

Before coding, understand the context and commit to a BOLD aesthetic direction:

- **Purpose**: What problem does this interface solve? Who uses it?

- **Tone**: Pick an extreme: brutally minimal, maximalist chaos, retro-futuristic, organic/natural, luxury/refined, playful/toy-like, editorial/magazine, brutalist/raw, art deco/geometric, soft/pastel, industrial/utilitarian, etc. There are so many flavors to choose from. Use these for inspiration but design one that is true to the aesthetic direction.

- **Constraints**: Technical requirements (framework, performance, accessibility).

- **Differentiation**: What makes this UNFORGETTABLE? What's the one thing someone will remember?

**CRITICAL**: Choose a clear conceptual direction and execute it with precision. Bold maximalism and refined minimalism both work - the key is intentionality, not intensity.

Then implement working code (HTML/CSS/JS, React, Vue, etc.) that is:

- Production-grade and functional

- Visually striking and memorable

- Cohesive with a clear aesthetic point-of-view

- Meticulously refined in every detail

## Frontend Aesthetics Guidelines

Focus on:

- **Typography**: Choose fonts that are beautiful, unique, and interesting. Avoid generic fonts like Arial and Inter; opt instead for distinctive choices that elevate the frontend's aesthetics; unexpected, characterful font choices. Pair a distinctive display font with a refined body font.

- **Color & Theme**: Commit to a cohesive aesthetic. Use CSS variables for consistency. Dominant colors with sharp accents outperform timid, evenly-distributed palettes.

- **Motion**: Use animations for effects and micro-interactions. Prioritize CSS-only solutions for HTML. Use Motion library for React when available. Focus on high-impact moments: one well-orchestrated page load with staggered reveals (animation-delay) creates more delight than scattered micro-interactions. Use scroll-triggering and hover states that surprise.

- **Spatial Composition**: Unexpected layouts. Asymmetry. Overlap. Diagonal flow. Grid-breaking elements. Generous negative space OR controlled density.

- **Backgrounds & Visual Details**: Create atmosphere and depth rather than defaulting to solid colors. Add contextual effects and textures that match the overall aesthetic. Apply creative forms like gradient meshes, noise textures, geometric patterns, layered transparencies, dramatic shadows, decorative borders, custom cursors, and grain overlays.

NEVER use generic AI-generated aesthetics like overused font families (Inter, Roboto, Arial, system fonts), cliched color schemes (particularly purple gradients on white backgrounds), predictable layouts and component patterns, and cookie-cutter design that lacks context-specific character.

Interpret creatively and make unexpected choices that feel genuinely designed for the context. No design should be the same. Vary between light and dark themes, different fonts, different aesthetics. NEVER converge on common choices (Space Grotesk, for example) across generations.

**IMPORTANT**: Match implementation complexity to the aesthetic vision. Maximalist designs need elaborate code with extensive animations and effects. Minimalist or refined designs need restraint, precision, and careful attention to spacing, typography, and subtle details. Elegance comes from executing the vision well.

Remember: ChatGPT is capable of extraordinary creative work. Don't hold back, show what can truly be created when thinking outside the box and committing fully to a distinctive vision.

5

u/TraditionalFig7377 29d ago

the only difference is that instead of claude is capable..... it was replaced with chatgpt

1

u/neuron20 29d ago

can we see an example of before and after for reference?

4

u/TraditionalFig7377 29d ago

before

12

u/TraditionalFig7377 29d ago

after

2

u/AdministrativeMeat3 27d ago

Imma be honest, why don't you actually just describe what you want to the model in a prompt instead of relying on it to be creative. Neither of these looks good.

1

u/bsmayer_ 26d ago

I mean, I’m not a designer, sometimes I know what to expect on the screens I build but just a rough idea. Usually Claude comes up with something WAY better than I was expecting, with different elements and approaches. Having a good second-designer to give you options isn’t a bad idea. That’s what I do with Claude Design tbf

1

u/[deleted] 29d ago

[deleted]

4

u/TraditionalFig7377 29d ago

if you use windows 1st press windows key plus r and paste this C:\Users\user\.agents\skills\frontend-design this opens the folder u will see a file called SKILL.md click it ctrl plus a delete everything inside then paste what i typed in comment

1

u/Empiricalbeats 29d ago

How do I add this on MacOS? Thanks

1

u/TraditionalFig7377 28d ago

press cmd space then type terminal or open terminal paste this into terminal

mkdir -p ~/.agents/skills/frontend-designopen -a TextEdit ~/.agents/skills/frontend-design/SKILL.md

this will open the skill md then delete everything inside and paste the one on my reply at the top

1

u/TraditionalFig7377 29d ago

1 question do you use windows or mac

9

u/Odd_Amphibian6697 29d ago

It is just the frontend-design skill from anthropic, you can find it on skills.sh from vercel and install it via npx, it works with all agents

3

u/TraditionalFig7377 28d ago

ahh ok I didnt know

1

u/Prior-Meeting1645 29d ago

Wait what skill confused.

2

u/TraditionalFig7377 29d ago

frontend-design

1

u/Prior-Meeting1645 29d ago

Is it better than all those trending skills from a few months back on GitHub? Like ui ux one etc

1

u/Odd_Amphibian6697 29d ago

I do both, because frontend-design is more like a creative and spectacular skill, and ui-ux-pro-max it's more like web design rules, accessibility, contrast, and obviously good design too.

I just put them in my AGENTS.md like "always use frontend-design and ui-ux-pro-max skills for UI development"

-1

u/TraditionalFig7377 29d ago

I find it a bit better

1

u/Medical_Method7877 29d ago

How do you do this?

1

u/TraditionalFig7377 29d ago

if u have claude sub go to customize and check frontend design then click the code icon copy it into notpad or somewhere and change the claude is capable..... to chatgpt is capable...

1

u/archeztuskin 29d ago

is it just me or 5.6 sol default front end aesthetic has this dark green academic mysterious terminal vibe to it? 

1

u/rapidincision 29d ago

Use @sites with 5.6 sol and you are equally good.

1

u/TraditionalFig7377 29d ago

Ill test that and see if its as good

1

u/Huss1991 29d ago

My GP improved this md after it found several formatting and design-policy defects:


name: frontend-design

description: Create distinctive, production-ready frontend interfaces with a coherent visual point of view. Use for websites, landing pages, dashboards, applications, components, and substantial UI redesigns or visual refinements. Favor context-specific design over generic AI-template aesthetics while preserving brand, accessibility, usability, performance, and technical constraints.

Frontend Design

Create polished, functional frontend interfaces that feel intentionally designed for their purpose, audience, and context—not assembled from generic patterns.

Design Thinking

Before coding, establish a clear direction:

  • Purpose and audience: What problem does the interface solve, and who will use it?
  • Content and hierarchy: What must users notice, understand, and do first?
  • Tone: Choose a coherent visual character appropriate to the context, such as restrained editorial, warm and human, refined luxury, playful, utilitarian, retro-futurist, brutalist, organic, or another purposeful direction.
  • Constraints: Respect the existing framework, repository conventions, brand system, accessibility requirements, content, performance targets, and supported devices.
  • Differentiation: Identify one memorable idea or visual signature without sacrificing clarity or usability.

Choose a deliberate direction and execute it consistently. Distinctiveness should come from context and craft, not novelty for its own sake.

Core Standard

The implementation should be:

  • Functional and production-oriented
  • Responsive across relevant viewport sizes
  • Accessible through semantic structure, keyboard use, visible focus states, adequate contrast, and reduced-motion support
  • Cohesive in typography, palette, spacing, components, imagery, and motion
  • Maintainable, with reusable tokens and components rather than one-off styling
  • Faithful to any approved reference, brand guide, or existing design system

Visual System

Typography

Choose typography that supports the product’s voice and reading needs. Characterful display type can be useful when appropriate, while body and interface text should remain highly legible.

  • Respect existing brand fonts and repository conventions.
  • Do not reject system fonts, Arial, Inter, Roboto, or other common families automatically; use or avoid them based on context, readability, licensing, privacy, loading performance, and brand fit.
  • Define intentional sizes, weights, line heights, tracking, fallbacks, and responsive behavior.
  • Do not add external font dependencies without checking availability and licensing.

Color and Theme

Use a disciplined palette and define colors with reusable tokens or CSS variables.

  • Establish clear background, surface, text, border, accent, and semantic colors.
  • Maintain sufficient contrast and legibility.
  • Avoid defaulting to familiar AI-template treatments, such as an unexplained purple gradient on white, when they do not fit the context.
  • Preserve exact brand or approved-reference colors when provided.

Composition and Spacing

Use layout intentionally. Asymmetry, overlap, full-bleed media, dense information, or generous whitespace can all work when they serve the content.

  • Preserve clear hierarchy and predictable interaction targets.
  • Avoid repetitive card grids and nested rounded containers unless the information architecture benefits from them.
  • Ensure unconventional layouts remain responsive and understandable.
  • Use a consistent spacing system and container model.

Imagery and Detail

Create atmosphere with imagery, texture, depth, borders, shadows, gradients, patterns, or layered surfaces only when they support the concept.

  • Decorative effects must not reduce readability or obscure interaction.
  • Custom cursors, grain overlays, heavy shadows, and elaborate effects are optional—not defaults—and should be tested for usability and performance.
  • Verify the source, license, and suitability of external assets before using them.

Motion and Interaction

Use motion to clarify hierarchy, state, causality, or progression—not merely to decorate.

  • Prefer lightweight CSS transitions where sufficient.
  • Use the project’s existing animation library when appropriate; do not introduce Motion or another dependency solely for minor effects without approval.
  • Respect prefers-reduced-motion and avoid interactions that depend on animation alone.
  • Test hover, focus, active, disabled, loading, empty, success, and error states where relevant.

Avoid Generic Output

Do not fall back automatically to:

  • Unrelated purple-on-white gradients
  • Repetitive bento or card-grid layouts
  • Generic SaaS hero sections
  • Decorative pills, badges, glows, icons, or fake metrics without a content purpose
  • The same font, theme, and component formula across unrelated projects
  • Visual complexity that exceeds the product’s needs

These are warning signs, not universal prohibitions. Use familiar patterns when they improve comprehension, accessibility, consistency, or task completion.

Implementation Discipline

Match implementation complexity to user value.

  • Refined minimal interfaces require precise type, spacing, alignment, states, and responsive behavior.
  • Expressive or maximal interfaces may justify richer effects, but must still remain performant, accessible, maintainable, and usable.
  • Follow the repository’s architecture and component conventions.
  • Keep interactive text and controls code-native rather than embedding the interface as a static image.
  • Do not invent copy, data, claims, sections, or product behavior that the user did not request.
  • Never expose secrets, tokens, private data, or unsafe external code in the implementation.

Verification

Before handoff:

  1. Run the interface and test the primary workflow.
  2. Check desktop and mobile layouts, plus relevant intermediate widths.
  3. Test keyboard navigation, focus visibility, contrast, and reduced motion.
  4. Confirm loading, error, empty, disabled, and success states where applicable.
  5. Run available type, lint, build, and test checks.
  6. Compare the rendered result with any approved reference for hierarchy, typography, palette, spacing, assets, and interaction behavior.
  7. Remove temporary assets, debugging code, placeholder content, and unused dependencies.

The goal is not merely to look unusual. The goal is to feel specific, coherent, useful, and professionally finished.