Communitygithub.com

portfolio-ux

The ergonomics and accessibility rules every portfolio built with this kit must pass, whatever style, colours or animations the person chose - consolidated from one-shot-site (checks), ui-ux-pro-max (120 UX guidelines), frontend-atlas (performance-a11y) and what failed in our own builds. Gives the rules, how to verify each one with a script, and the fix. Use when building, reviewing or before shipping a portfolio, or when a design choice might hurt readability, navigation, touch, keyboard or motion sensitivity.

portfolio-ux란 무엇인가요?

portfolio-ux is a Cursor agent skill that the ergonomics and accessibility rules every portfolio built with this kit must pass, whatever style, colours or animations the person chose - consolidated from one-shot-site (checks), ui-ux-pro-max (120 UX guidelines), frontend-atlas (performance-a11y) and what failed in our own builds. Gives the rules, how to verify each one with a script, and the fix. Use when building, reviewing or before shipping a portfolio, or when a design choice might hurt readability, navigation, touch, keyboard or motion sensitivity.

지원 대상~Claude Code~Codex CLI✓Cursor
npx skills add https://github.com/anas34b/portfolio-skills-kit/tree/HEAD/skills/portfolio-ux

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

Portfolio UX

The person chooses the look (portfolio-brief). These rules are not part of the choice: they make the site usable for a recruiter on a phone, a keyboard user, someone sensitive to motion, someone on a slow connection. If a chosen colour, font or effect breaks a rule, keep the intent and change the value.

Sources: one-shot-site/references/checks.md and layout.md, ui-ux-pro-max/data/ux-guidelines.csv (all High/Critical rows), frontend-atlas/references/performance-a11y.md, and the bugs found in our five builds (marked ⚑).

1. Read

RuleValueCheck
Text contrast≥ 4.5:1 body, ≥ 3:1 large text (≥ 24 px or 19 px bold) and UI borderslook.mjs contrast, audit.mjs (axe)
⚑ Text on canvas, video, imageA scrim (gradient) under the text; check every screen by eyelook.mjs "over-media"
⚑ Muted text on coloured cardsRe-check contrast on the card colour, not the page ground (we shipped 2.48:1)look.mjs
Body size≥ 16 px phone, ≥ 17 px desktop; notes ≥ 15 px; only footer small print belowlook.mjs "small-text"
Line length45–75 characters (max-width: 60–70ch)by eye
Line height1.5–1.7 body, unitlessCSS
⚑ Headline≤ 2 lines at 1440 px, ≤ 4 at 390 pxlook.mjs "long-headline"
Colour is never the only signalText or icon too (e.g. ticket state "✓ Livré")by eye
Two typefaces maxOne display, one textbrief.json

2. Navigate

RuleValueCheck
Anchors land below a sticky headerscroll-padding-top = header heightclick every nav link
Skip linkFirst focusable element, jumps to <main>Tab once
HeadingsOne h1, then h2 per section, no skipped levelsaudit.mjs
Visible focusA focus ring on every link, button, field; never outline: none without a replacementTab through the page
Tab order = visual orderTab through the page
Contact reachable in one actionEmail or button visible in the header or a phone action barby eye at 390 px
Links say where they goNo "cliquez ici", no bare github.com/audit.mjs, reviewer
⚑ No placeholdersTODO, VOTRE-, {{…}}audit.mjs

3. Touch and pointer

RuleValueCheck
Target size≥ 44×44 px for primary actions, ≥ 24×24 px minimum with spacinglook.mjs, audit.mjs
Hover is a bonusHover-only effects inside @media (hover: hover) and (pointer: fine); nothing essential on hoverresize, touch emulation
⚑ Custom cursorFine pointer only, never hides the system cursor on touch, off with reduced motion
No horizontal scrollContent fits 320 px; long tokens (emails, URLs) overflow-wrap: anywherelook.mjs at 390
⚑ No pinned horizontal scroll on phonesStack the cards under 900 pxfilm.mjs at 390

4. Motion

RuleValueCheck
Reduced motionprefers-reduced-motion: reduce → no movement, no parallax, no scroll-jacking, 3D renders one still frame, all content visiblefilm.mjs --reduced must be "All clear"
One strong moment per screen1–2 animated elements per view, the rest stillby eye on the film strip
Readable fastHeadline readable < 1 s (2 s for a showpiece)film.mjs "slow-headline"
Loops have a pauseMarquees, carousels, auto-rotating content: pause button, stop on hover/focusfilm.mjs notes
⚑ No layout shiftCLS < 0.1; pinned sections with pinType: 'transform' if shifts appear; reserve space for late contentfilm.mjs "layout-shift"
Animate cheap propertiestransform, opacity, clip-path; never width/height/top/leftmotion-audit.mjs
Nothing hidden waiting for JSWithout JS (or if it fails), content shows (.js class gate + timeout)disable JS
FlashesNothing flashes more than 3 times per secondby eye

5. Speed

RuleValueCheck
First screenLCP < 2.5 s on 4Gaudit.mjs
3D and heavy JSLoaded after first paint, in its own chunk; paused off screen and in hidden tabs; pixel ratio ≤ 1.5 phone / 2 desktopfilm.mjs notes, devtools
FontsSelf-hosted (Fontsource), font-display: swap, preload only the display faceaudit.mjs
ImagesWebP/AVIF, sized, loading="lazy" below the fold, width/height setaudit.mjs
JS budget by motion levelCalme < 5 KB, Vivant < 60 KB, Spectaculaire < 300 KB gzipbuild output

6. Content and trust

RuleValue
Every fact from the CVNo invented metric, client, testimonial or link (portfolio-content)
Language set<html lang="fr-FR">, French typography (espaces insécables)
MetaTitle "Nom : rôle à ville", description, Open Graph image
Works by double-clickdist-file/ (/portfolio-build)

Verify in one pass

npm run build
node <skills>/one-shot-site/scripts/lint.mjs .
node <skills>/one-shot-site/scripts/look.mjs dist --widths 1440,390     # then LOOK at every sheet
node <skills>/one-shot-site/scripts/film.mjs dist
node <skills>/one-shot-site/scripts/film.mjs dist --reduced
node <skills>/one-shot-site/scripts/audit.mjs dist --draft              # axe-core: 0 violations
node <skills>/frontend-atlas/scripts/motion-audit.mjs <url>             # heavy scroll motion only

Report as a table: rule group, result, fixed, left and why. Never "c'est accessible" without the numbers.

Individual skills in this repo

This repo contains 4 individual skills — each has its own dedicated page.

portfolio-brief

Lets the person design their own portfolio by choosing, not by accepting AI defaults - art direction (30), mood and font pairing (6 moods, 24 tested pairs), colour from their subject with contrast checked, light/dark, motion level, hero (11 kinds), 3 to 5 effects from 213 recipes, and sections. Shows real mockups of their first screen to decide, then writes brief.json and DESIGN.md that every later step must follow. Use before building any portfolio, when someone says "je veux choisir les couleurs / les animations", "propose-moi des options", "personnalise", or when a site risks looking generated.

portfolio-content

Turns a raw CV (pasted text, PDF export, LinkedIn dump) into clean, verifiable portfolio content - facts, roles, dates, places, numbers, projects with stack, skills, education - and French or English copy that sounds like a person, not a generator. Fixes spelling and mixed-up dates and places from PDF exports, removes empty adjectives, and lists every missing link as TODO instead of inventing it. Use when starting a portfolio from a CV, rewriting the "about" or hero line, or when the copy sounds generic.

portfolio-motion

Motion and 3D playbook for developer portfolios, distilled from building and comparing five versions. Gives the motion levels (calme, vivant, spectaculaire), the performance and accessibility budget, the recipes that worked (3D agent network hero, pinned horizontal projects, timeline that draws, scramble titles, counters, magnetic buttons, tilt cards, custom cursor), where to find more in frontend-atlas / cinematic-ui / awwwards-3d, and how to ship a build that opens by double-click. Use when adding animation, 3D, scroll effects or WebGL to a portfolio, or when an animated site breaks when opened from the file explorer.

portfolio-styles

Catalogue of six tested portfolio styles, each with a working reference site in the kit - V1 classic template (React, light, illustration, multi-page), V2 dark bento (single HTML file, no build), V3 editorial quiet (light, one brand colour, typographic), V4 combined (dark/light switch, sprint board hero, bento projects), V5 immersive 3D (three.js scene, pinned scroll, cursor), V6 everything combined (particle name, split-flap role, sprint board, type tunnel, glass contact, light/dark). Use when someone wants a portfolio "like V1/V2/V3/V4/V5", wants a simple or non-3D site, asks for "sobre", "clair", "sans 3D", "un seul fichier", "classique", "sombre", or wants to compare styles before choosing, or wants "tout" / "la bombe".

관련 스킬