Published: October 30, 2025
25
51
372

Prompts I Use to Write Software with Grok. 👇A thread (Updated Over Time).

Typical Grok-Code-Fast Web-Stack Language: • TypeScript Frontend: • React • Tailwind CSS • Next.js Backend: • Next.js (API Routes with Edge Runtime for low-latency AI calls) • Vercel Postgres ○ Database (fully managed PostgreSQL with seamless Next.js integration via @

One-shot your startup with Grok 4 Heavy! Below is a prompt for Grok 4 Heavy that generates Software Design Documents. Give it a short description of your web app, and it works in two phases: Phase 1: Grok asks questions about your project (users, scale, data sensitivity,

3D fractal, extending the Mandelbrot set into trippy, infinite detail via power-8 iterations. Rendered in real-time with ray marching, rotation, lighting & dynamic colors. Grok 4 Heavy one-shotted the full C code gen! >>> prompt You are an expert C programmer and graphics

Use Grok-Code-Fast-1 to build your own OS. Below is a prompt that you can give to Grok-Code, and it will set up a solid foundation for a Linux-based Operating system that you can build from the ground up with Grok4. >>> Grok 4 Prompt You are a fully capable AI developer agent

Grok 4 is really good at building games. It took me 5 minutes to build this. The source code is in the comments, and the full prompt is below. To build a Galaga game in C, drop this into your Grok 4 agent's system/instructions field. It assumes a POSIX shell, Git, CMake, and

You can use Grok4 to write Sonic Pi code. 💫 Here's a prompt you can give Grok to generate code for Sonic Pi. You will have to Google Sonic Pi's webpage to download the player. >>> Prompt (Best in Grok 4 Heavy & Grok 4 Expert) You are an expert Sonic Pi producer and Ruby

Grok 4 prompt for optimizing your Python code. (NOTE: after phase 1, the Model will pause to ask you if any changes need to be made before it continues) >>> prompt You are a collaborative AI panel of four senior software engineers speaking with one voice. Your mission:

ASCII Doom in x86 ASM Grok 4 Prompt: You are an expert low-level systems programmer with deep expertise in x86 assembly language, Linux system calls, and terminal-based game development. Your task is to create a complete, functional ASCII-based game inspired by Doom,

Grok 4 prompt for optimizing your C code. >>> prompt You are an expert C developer with extensive experience in secure coding practices, performance optimization, and code refactoring. Your goal is to review and refactor the provided C code to ensure it meets the highest

Grok 4 prompt to generate the video's generative art: You are an expert P5.js developer with expertise in generative art, mathematics (vector fields, Perlin noise), and aesthetic design. Create a visually stunning, interactive particle flow field sketch that mimics ethereal,

Use the prompt below with Grok 4 to take an arXiv URL and have the model output a concise breakdown of the paper with a Python implementation roadmap. You can then follow up with additional prompts to have it implement the generated roadmap. >>> You are an expert AI researcher

Image in tweet by Tetsuo

Grok 4 Heavy is better than any model available at identifying issues in your codebase. Here's the JS prompt I use with my game code to have Grok 4 Heavy find the bugs. You can modify this prompt with Grok 4 by telling it to "Update this prompt for the C programming language,"

Here's the prompt for JS game dev. ---- cut and paste below # APEX Implementation Framework: Advanced Production-Ready JavaScript Game Development ## System Initialization You are operating in APEX mode (Adaptive Prompt EXecution) - a cutting-edge implementation framework

Use SuperGrok to check your C code for vulnerabilities. Here is a prompt you can give to Grok with your code. >>> You are an expert Exploit Developer with a deep understanding of the C programming language and secure coding practices. Your role is to thoroughly review the

Here's a prompt that works with SuperGrok for Python code. You can't apply the same prompt to other languages, because each language has its class of vulnerabilities. You should also always hire a red team for any public-facing product. That being said, it is possible to use AI

Image in tweet by Tetsuo

@tetsuoai Honestly, I first learned typing on a Teletype machine in 1968, and I still don't know where all the keys are.

@FrancisJeffrey7 lmfao! I used to type around 110 - 120 WPM with an incorrect typing style that I adapted over the years. When I made the switch from Emacs to Vim, I actually forced myself to learn "touch typing" and properly use homerow, etc (because of the 'h','j','k','l' keybinds). It took me

@tetsuoai C developers don't die - they just return to 0

@has_ky000 Amen to that.

@tetsuoai Very good, that would speed up work (if the work is done right and can be kept right).

@tetsuoai this could be a contender for the #1 thread in twitter history

@tetsuoai What do you make? And on what platform do you run this software?

@tetsuoai In the whole thread I only understand two words "grok" and "prompt" 😅 Jokes apart, good work ser 😀👍

@tetsuoai Here is a prompt for you

Image in tweet by Tetsuo

@tetsuoai i just need something that takes a screenshot of a UI and kicks out working C#/WPF/XAML

@tetsuoai Awesome thread Tetsuo👍

@tetsuoai take them even further with this... levels up any prompt or creates any agent https://x.com/AndreBuckingham/...

@tetsuoai Locked innnn!

@tetsuoai 🫡🫡

@tetsuoai Love these and thank you for sharing your code porn with me 🔥

@tetsuoai I can’t watch it because something keep happening can you fix it please?

@tetsuoai You cooked on this! Thank you!

@tetsuoai Cogsec

@tetsuoai No you don't "write software with grok".

@tetsuoai I feed history to GROK and GROK gives me these: https://grok.com/imagine/post/...

Share this thread

Read on Twitter

View original thread

Navigate thread

1/36