Portfolio Brief
AI tools build the same site for everyone because nobody asks the person. This skill asks, shows, and writes the
answers down. The menu is CATALOGUE.md next to this file (also in tools/portfolio-kit/docs/); every option in it points to a
working recipe in an installed skill.
Rules
- The person decides. Offer 2–4 real options per question with a one-line "why", mark one as recommended from their job and taste, and let them pick or type their own. Never decide silently.
- Show, don't describe, whenever the choice is visual (direction, mood, colour, hero): draw their own first
screen with
one-shot-site/scripts/mockup.mjs(their name, their line, their button) and show the sheet. - One question tool call per round, 2–4 questions per round, 4 rounds max. If the person says "tu connais mes goûts" or gives everything at once, fill the brief and confirm it in one message instead.
- Ergonomics is not a choice: whatever they pick,
portfolio-uxrules apply (contrast, targets, reduced motion, readable sizes). If a pick breaks one (e.g. light grey on white), say so and propose the closest compliant option.
Round 1 — who and what feel
- Métier visé (from the CV, confirm): drives the recommendations below.
- Trois mots pour l'effet voulu (free text): e.g. « moderne, chaleureux, précis ».
- Un site que tu aimes (optional URL): if given, run
one-shot-site/scripts/study.mjs <url>to read its palette, type and motion, and take mechanics, not its skin. - Niveau d'animation: Still · Calme · Vivant · Spectaculaire (
CATALOGUE.md§4). Say the JS weight of each.
Round 2 — direction and mood (visual)
- Direction artistique: propose 3 from
CATALOGUE.md§1 matched to the job and the three words, using the decision guide infrontend-atlas/references/aesthetic-directions.md. Never default to Dark tech for "moderne, premium". - Ambiance + polices: the matching mood from §2 and two of its tested pairs.
Then draw: node one-shot-site/scripts/mockup.mjs --name "<nom>" --line "<accroche>" --action "<bouton>" --moods <2–3 moods> --lang fr
and show mockups.jpg. Let them pick one, or mix ("la typo de A, l'ambiance de B").
Round 3 — colour and mode (visual)
- Couleur principale: ask for one, or propose 3 drawn from their subject (city, school, company, flagship
project, a colour they wear). Draw them:
mockup.mjs … --brand "#a,#b,#c" --moods <chosen>. Thennode one-shot-site/scripts/palette.mjs --brand "#hex" --mood <mood> [--mode dark]for the tokens. - Mode: clair · sombre · les deux avec un bouton.
Round 4 — hero, effects, sections
- Héros (
CATALOGUE.md§5): 3 options fitting the motion level. For Spectaculaire, offer/portfolio-heroesto see three built side by side. Include at least one option tied to their job (an object from their work). - Effets (
CATALOGUE.md§6): propose a set of 3–5 that work together (one text effect, one pointer, one scroll, optionally one background), named with their recipe path. Let them swap any. - Sections (
CATALOGUE.md§7): the five required, plus which optional ones and which variant each.
Output: two files at the project root
brief.json:
{
"person": { "name": "", "job": "", "words": ["", "", ""], "reference": "" },
"direction": { "id": 7, "name": "Dark tech", "why": "" },
"mood": "night",
"fonts": { "display": "Sora Variable", "text": "Red Hat Text Variable", "packages": ["@fontsource-variable/sora", "@fontsource-variable/red-hat-text"] },
"colour": { "brand": "#d0603f", "source": "brique de Nantes", "mode": "dark|light|both", "tokens": "src/tokens.css" },
"motion": "still|calme|vivant|spectaculaire",
"hero": { "kind": "", "recipe": "" },
"effects": [{ "name": "", "recipe": "", "where": "" }],
"sections": [{ "id": "projets", "variant": "" }],
"avoid": ["", ""]
}
DESIGN.md: the same in prose for humans, plus the direction's own "never" list copied from
aesthetic-directions.md and the mood's "Watch out" line from looks.md.
After the brief
- Build with
portfolio-directorfrom step 5. Every later step readsbrief.json; a change of mind updates it first. portfolio-reviewerchecks the site againstbrief.json(fonts, colour, effects, sections actually used).- Tell the person: « Tout est dans
brief.json. Pour changer une couleur ou un effet plus tard, dis-le, je mets le brief à jour puis le site. »