Aller au contenu
Skillpedia
Motion design et animation6.0k · #14514

gg

Ce qu’il fait

Cette skill réalise une courte bande-annonce pour un jeu web, filmée en direct dans le moteur même du jeu plutôt qu'avec des maquettes. Elle s'adresse aux créateurs de jeux qui veulent une vidéo teaser ou de lancement pour un jeu terminé ou à venir.

Quand l’utiliser

  • ✓Quand vous avez créé un jeu web et voulez une bande-annonce, un teaser ou une vidéo de lancement.
  • ✓Quand vous voulez un extrait « bientôt disponible », une carte de fin ou une révélation de logo pour un jeu web.
  • ✓Quand vous voulez un montage de jeu exporté en MP4 avec de la musique.

Lien du skill

https://github.com/srizzon/git-city/blob/main/.claude/skills/gg/SKILL.md

Copiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.

Comment l’utiliser

Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.

Message prêt à coller

Utilise ce skill pour m’aider : https://github.com/srizzon/git-city/blob/main/.claude/skills/gg/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“Réalise une bande-annonce teaser de 20 secondes pour mon jeu three.js, avec musique et image de partage.”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

L'agent écrit le plan du film, le construit dans un studio qui tourne en direct dans le jeu, vous laisse l'ajuster, puis exporte un MP4 avec la musique, une affiche et un texte de partage.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis GitHub.

/gg

You made a game. gg. Now it gets a trailer, shot in the game's own engine, not mocked up.

Every film gets its own visual direction, drawn from its project: its titles, end card, motion and music are designed for it, never carried over from Git City or from another film. The kit ships one project's treatment (Git City's, in kit/src/examples/gitcity/ and kit/tools/arrangements/gitcity.mjs) as an example of what a direction looks like in code, not as a default.

The film is data: takes on the music's beat grid. The studio plays it live in the game, and the export renders it frame by frame. The kit ships with this skill in kit/ (MIT). Its API, the studio and the craft notes are in kit/README.md: read it before building. This file covers the order of work, and the rules that each cost a round of rework when they were skipped.

Usage: /gg [direction] [options]. Options can be flags or plain language:

Option Default
--tone <preset or freeform> inferred (see Tones)
--kind teaser|trailer teaser if the game isn't out yet, trailer if it is
--duration <s> teaser 12–20s, trailer 20–35s

The deliverables go to gg-output/: plan.md, trailer.mp4, trailer.jpg and share-copy.txt. The film itself lives in the app, on a studio route.

Not a game? The skill works the same for a component library, an app or a dev tool. The "engine" is the real product UI: the library's components rendered on the stage, the app's real screens with stand-in data. A take drives them as a function of t the way a game take drives a camera: type into the real input, open the real dialog, toggle the real theme, resize the real layout. The verb is what a user does with it (compose a form, ship a command palette), the spectacle is what it does best (a hundred components re-theming in one frame, a table with a million rows scrolling). No mockups here either: no Figma frames, no screenshots.

0. One question first

Unless the invocation already steers ("a teaser, make it feel like…", --tone) or says "just go", ask one question (AskUserQuestion):

Do you want to steer this trailer, or should I make a first cut on my own?

  • First cut: I pick the angle, the tone and the moments, and you review it in the studio.
  • Steer: you tell me what people should feel at the end, and I pitch 2–3 scripts before building.
  • First cut: infer everything in steps 2–4, research included, then build straight away. The review happens in the studio (step 6).
  • Steer: ask two things: what the viewer should feel at the end ("I want to jump in and play", "pick a side"…), and whether it's a teaser or a launch trailer. Do the research in step 3 first. Then pitch 2–3 scripts as tables (time, picture, title card, sound), recommend one, and say why. Build the one they pick, one take at a time, with them watching. Keep the scripts they don't pick in plan.md for the next launch.

Why: a first cut that nobody can steer, built from a guess about the owner's idea, cost a whole round. Having them choose up front keeps the fast path fast and the owner's idea the owner's.

1. Set up the kit (skip if the project has a Studio from it)

  • Copy kit/src/ into the app (e.g. src/trailer-kit/), keeping kit/LICENSE with it, but leave out examples/gitcity/: it's Git City's look, read from the skill folder as an example only. Copy kit/tools/ next to the project's scripts, without arrangements/gitcity.mjs.
  • Add the scripts: "trailer:export": "node <tools>/export.mjs", and one for the audio (music.mjs and sfx.mjs, see the README).
  • Install the export's dependencies: npm i -D playwright, npx playwright install chromium, and ffmpeg (brew install ffmpeg, or npm i -D ffmpeg-static). Add gg-output/ to .gitignore.
  • Mount kit/src/examples/MinimalFilm.tsx on a route (Next.js: app/trailer/page.tsx). Start the dev server and check that the studio plays.
  • Not a React project? The studio is a React page, and the game runs inside one of its stages. Phaser: create the game on a div the stage owns. Plain three.js or canvas: hand the stage your renderer's canvas. Vite: add @vitejs/plugin-react for the trailer route only. Angular, Vue or Svelte UI: mount the real app or components in a stage (a custom element, or the framework's own bootstrap on a div the stage owns). What matters is that code can drive the game: set the camera, place the player, trigger the mechanic; or, for
Questions fréquentes

Les images viennent-elles du jeu ?

Oui. La bande-annonce est tournée dans le moteur du jeu, elle n'est pas simulée.

Puis-je modifier le film avant l'export ?

Oui. Le film s'ouvre dans un studio où vous pouvez l'ajuster.

Quels fichiers sont produits ?

Un plan, une bande-annonce au format MP4, une image d'affiche et un texte de partage.

Détails

Description originale de l’auteur

You made a game. gg. Turns a web game into a short trailer played live in its own engine: Claude writes the film, opens it in a studio for you to tweak, and exports the mp4 with its music, poster and share copy. Use when someone says \"/gg\" or \"let's gg this\", or asks for a trailer, teaser, launch video, gameplay montage, \"coming soon\" clip, end card or logo reveal for a web game (three.js, React Three Fiber, canvas, Phaser, DOM). Also for launch films of non-game web projects (component libraries, apps, dev tools), where the engine is the real product UI. Also use to add or fix a take in

repo: srizzon/git-city

Popularité

Étoiles GitHub
6.0k
Position au classement
#14514
Licence
AGPL-3.0
Mis à jour
26/10/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Skills similaires