add-page
Skill3 starsChanged 3 days agoMITView on GitHub
Créer une nouvelle page (route) dans l'app et l'ajouter à la navigation. À utiliser quand on demande une page, un écran, une route ou une section accessible par URL.
5 other projects use a version of this.
Adopted by
Most recently taken up by
- getvibekits/vibe-coding-rulestheir own version, first seen Oct 25, 2026
- TiagoGranelli/slopprooftheir own version, first seen Oct 13, 2026
- DailybotHQ/deepworkplan-websitetheir own version, first seen Oct 9, 2026
- astashov/liftosaurtheir own version, first seen Oct 8, 2026
- AnitChaudhry/10x-development-teamtheir own version, first seen Mar 22, 2026
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- astashov/liftosaur★ 775same name
- DailybotHQ/deepworkplan-website★ 15same name
- TiagoGranelli/slopproof★ 2same name
- AnitChaudhry/10x-development-team★ 0same name
- getvibekits/vibe-coding-rules★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository12 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- add-componentSkill
- add-formSkill
- add-motionSkill
- add-testSkill
- deploySkill
- design-systemSkill
- fetch-dataSkill
- from-figmaSkill
- polish-uiSkill
- rebrandSkill
The file
Files
Ajouter une page
Le routing est fait par TanStack Router à partir des fichiers de src/routes/.
Étapes
- Créer le fichier dans
src/routes/. Le nom du fichier donne l'URL :src/routes/pricing.tsx→/pricingsrc/routes/blog/index.tsx→/blogsrc/routes/blog/$slug.tsx→/blog/:slug(paramètre)
Partir de ce modèle :
import { createFileRoute } from '@tanstack/react-router' export const Route = createFileRoute('/pricing')({ component: PricingPage, }) function PricingPage() { return ( <section className="mx-auto max-w-6xl px-4 py-16 sm:px-6"> <p className="text-sm font-medium text-brand">Tarifs</p> <h1 className="mt-3 text-4xl font-semibold tracking-tight sm:text-5xl"> Titre de la page </h1> <p className="mt-4 max-w-2xl text-lg text-muted-foreground"> Phrase d'introduction. </p> </section> ) }Le chemin passé à
createFileRoutedoit correspondre au fichier. Le serveur de dev régénèresrc/routeTree.gen.tstout seul : ne pas l'éditer à la main.- Ajouter le lien dans la navigation de
src/routes/__root.tsx, à côté des autres<Link>, avec la même classenavLinkClass. - Vérifier :
npm run build(les liens vers une route inexistante cassent le build, c'est voulu), puis ouvrir la page en clair et en sombre.
À respecter
- Garder la largeur
max-w-6xlet les margespx-4 sm:px-6pour aligner avec le reste du site. - Couleurs uniquement via les tokens du thème (voir le skill
design-system).
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

