Prompts · Créer un site
Quatre directions visuelles avant de coder
Claude propose quatre styles vraiment différents pour ton projet (fond, accent, polices, raison), tu choisis, et il ne construit que celui-là. Le meilleur moyen d'éviter le site « par défaut ».
Le prompt, en français
4 cases sont vides : elles partiront entre crochets, et Claude te posera la question.
Voir la version anglaise, celle qui est copiée
Before writing a single line of code, I want to choose a visual direction.
The project: [Ton projet, en une ou deux phrases]
Audience: [Pour qui]
What is imposed: [Ce qui est imposé (logo, couleur, police), ou « rien »]
What I like, and why: [Des sites ou des univers que tu aimes, et pourquoi]
What you do:
1. If the folder already contains a site, look at it first (pages, styles, content) to understand what exists.
2. Propose four truly different visual directions tailored to this project. Not four variations of the same style: each time, change at least the background (light or dark), the typeface family and the way the page is composed.
3. For each direction, give:
- a short name;
- the background color and the accent color (hex codes), then the full palette of 4 to 6 colors;
- the heading typeface and the body typeface, with their character in one sentence;
- the layout idea in one sentence, and a text (ASCII) sketch of the header;
- the planned motion, in one sentence;
- why it suits this audience, in one sentence;
- the contrast ratio between the main text and its background.
4. Respect what is imposed in each of the four directions.
5. Rule out the default choices: purple gradient on white, cream background with serif headings and a terracotta accent, near-black background with a single acid-green accent, the kit of identical rounded cards. If a direction comes close to one of them, explain why it is a real choice for this project.
6. Stop there and ask me which one I choose. I may also mix two of them.
After my choice:
- Write the chosen direction in a `DESIGN.md` file at the root (palette, typefaces, type sizes, spacing, corner radii, motion, what to avoid), so that future sessions keep it.
- Implement only that direction. If the frontend-design skill is installed, use it.
- All visible text is in French, with French typography: a non-breaking space before ":", a narrow non-breaking space before ";", "!" and "?", « » quotes. Talk to me in French.
Done when I see the four directions side by side in your answer, then, after my choice, the `DESIGN.md` file and a first page that applies it, checked at 390 px and 1440 px wide, and that respects `prefers-reduced-motion`.Comment t’en servir
Colle ce prompt au tout début, dans le dossier de ton site (même vide), avant de demander quoi que ce soit d'autre à Claude. Il ne code rien : il te montre quatre propositions et attend ton choix.
Prends le temps de lire les quatre. Tu peux en garder une telle quelle, ou en mélanger deux (« le fond de la 2, les polices de la 4 »). Après ton choix, Claude écrit un fichier DESIGN.md : garde-le, c'est lui qui empêche les prochaines sessions de revenir au style par défaut.
La formation « Un site sur mesure, pas un site d'IA » montre pourquoi les sites faits par une IA se ressemblent, et comment lire ces quatre directions.
Pour comprendre tout ce que fait ce prompt, et l’adapter : la formation Un site sur mesure, pas un site d'IA.