gg
यह क्या करती है
यह स्किल web game के लिए छोटा ट्रेलर बनाती है, जो mock-ups के बजाय game के अपने engine के भीतर लाइव रिकॉर्ड होता है। यह उन game बनाने वालों के लिए है जिन्हें किसी तैयार या आने वाले game के लिए teaser या launch वीडियो चाहिए।
कब इस्तेमाल करें
- ✓जब आपने web game बनाया हो और उसके लिए ट्रेलर, teaser या launch वीडियो चाहिए।
- ✓जब आपको web game के लिए coming-soon क्लिप, end card या logo reveal चाहिए।
- ✓जब आपको संगीत के साथ MP4 में gameplay montage चाहिए।
Skill का लिंक
https://github.com/srizzon/git-city/blob/main/.claude/skills/gg/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मेरे three.js game के लिए संगीत और share image के साथ 20 सेकंड का teaser ट्रेलर बनाइए।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट फ़िल्म की योजना लिखता है, उसे एक studio में बनाता है जो game के भीतर लाइव चलता है, आपको बदलाव करने देता है, फिर संगीत, poster और share text के साथ MP4 export करता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे 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.mdfor 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/), keepingkit/LICENSEwith it, but leave outexamples/gitcity/: it's Git City's look, read from the skill folder as an example only. Copykit/tools/next to the project's scripts, withoutarrangements/gitcity.mjs. - Add the scripts:
"trailer:export": "node <tools>/export.mjs", and one for the audio (music.mjsandsfx.mjs, see the README). - Install the export's dependencies:
npm i -D playwright,npx playwright install chromium, and ffmpeg (brew install ffmpeg, ornpm i -D ffmpeg-static). Addgg-output/to.gitignore. - Mount
kit/src/examples/MinimalFilm.tsxon 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-reactfor 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
अक्सर पूछे जाने वाले सवाल
क्या फ़ुटेज game से है?
हाँ। ट्रेलर game के अपने engine में शूट होता है, mock-up में नहीं।
क्या export से पहले फ़िल्म बदल सकते हैं?
हाँ। फ़िल्म एक studio में खुलती है, जहाँ आप उसे बदल सकते हैं।
कौन सी फ़ाइलें बनती हैं?
एक योजना, एक MP4 ट्रेलर, एक poster image और share copy का text।
जानकारी
लेखक का मूल विवरण
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
लोकप्रियता
- GitHub स्टार
- 6.0k
- रैंकिंग में स्थान
- #14514
- लाइसेंस
- AGPL-3.0
- अपडेट की गई
- 26/10/2026
कमेंट
- …
मिलती-जुलती skills
blender-motion-state-inspection
280kयह 3D animations की बारीक details देखने देता है। poses, movements और character alignment जाँचने के लिए यह उपयोगी है।
manim-video
280kआपके एजेंट को animated explainer videos बनाने देता है। यह तकनीकी विषयों के लिए साफ़ graphs और diagrams बनाने के लिए Manim का इस्तेमाल करता है।
remotion-video-creation
280kआपके एजेंट को Remotion लाइब्रेरी के साथ React में वीडियो बनाने का तरीका बताता है। इसमें animations, audio, captions और दूसरे विज़ुअल एलिमेंट्स के बेस्ट प्रैक्टिस शामिल हैं।