Pillar Specification & Hub DirectoryGemini API System Instructions Generator
JSON-formatted system instruction blocks ready for Google AI Studio and Gemini Python/TypeScript SDKs.
prompts/gemini-system-instructions.jsonHow Gemini System Instructions Operates in Production
Google Gemini API supports structured systemInstruction payloads defining developer personas and verification protocols. This generator outputs valid JSON schemas configured with safety settings and temperature parameters.
Gemini API requires a JSON object with system_instruction parts for developer instructions.
{
"system_instruction": {
"parts": [{ "text": "You are a Senior Systems Architect..." }]
},
"generation_config": {
"temperature": 0.2
}
}prompts/gemini-system-instructions.jsonGoogle AI Studio / Gemini SDK API CallsConfig schema with system_instruction parts, temperature, top_p, and safety parameters.
Available Tech Stack Presets (27)
Click any tech stack below to open the client-side editor preloaded with this verified configuration.
Next.js 15 App Router
Generate Google AI Studio and Gemini SDK system instructions for Next.js 15 App Router.
"Enforce React Server Components (RSC) by default; restrict 'use client' strictly to interactive leaf components."
React 19 & Vite
Generate Google AI Studio and Gemini SDK system instructions for React 19 & Vite.
"Use React 19 action hooks (useActionState, useOptimistic, useFormStatus) for async mutations."
Python FastAPI & Pydantic v2
Generate Google AI Studio and Gemini SDK system instructions for Python FastAPI & Pydantic v2.
"Use strict Pydantic v2 BaseModels with Field validation for all input and output schemas."
Supabase & PostgreSQL
Generate Google AI Studio and Gemini SDK system instructions for Supabase & PostgreSQL.
"Always include `ENABLE ROW LEVEL SECURITY;` on every created table."
Prisma ORM
Generate Google AI Studio and Gemini SDK system instructions for Prisma ORM.
"Always use `select` to specify required fields; avoid raw `findMany()` fetching unused relations."
Drizzle ORM
Generate Google AI Studio and Gemini SDK system instructions for Drizzle ORM.
"Define schemas using pgTable/sqliteTable with explicit foreign keys and constraints."
Go (Golang) & Fiber
Generate Google AI Studio and Gemini SDK system instructions for Go (Golang) & Fiber.
"Check every `if err != nil` explicitly; never swallow errors or ignore returned values."
Rust & Axum
Generate Google AI Studio and Gemini SDK system instructions for Rust & Axum.
"Never call `.unwrap()` or `.expect()` in production route handlers; propagate errors via `Result<T, AppError>`."
Tailwind CSS v4
Generate Google AI Studio and Gemini SDK system instructions for Tailwind CSS v4.
"Configure themes directly in globals.css using `@theme` and `@import 'tailwindcss';`."
Vue 3 & Nuxt 3
Generate Google AI Studio and Gemini SDK system instructions for Vue 3 & Nuxt 3.
"Always use `<script setup lang='ts'>` and the Composition API; ban legacy Options API."
SvelteKit 5 & Svelte 5
Generate Google AI Studio and Gemini SDK system instructions for SvelteKit 5 & Svelte 5.
"Use Svelte 5 runes: `$state()`, `$derived()`, and `$props()`."
Universal Cursor Pro
Generate Google AI Studio and Gemini SDK system instructions for Universal Cursor Pro.
"Deliver surgical, targeted diffs; never replace entire files unnecessarily."
Pragmatic Rapid Prototyping
Generate Google AI Studio and Gemini SDK system instructions for Pragmatic Rapid Prototyping.
"Prioritize working software over complex design patterns or deep inheritance hierarchies."
Zero-Trust Security
Generate Google AI Studio and Gemini SDK system instructions for Zero-Trust Security.
"Flag and prevent any dynamic SQL query string interpolation."
Docker & CI/CD
Generate Google AI Studio and Gemini SDK system instructions for Docker & CI/CD.
"Always use multi-stage Docker builds to separate builder tools from the lean production image."
Vitest & Playwright TDD
Generate Google AI Studio and Gemini SDK system instructions for Vitest & Playwright TDD.
"Write unit tests covering happy paths and at least two edge/error cases for every new function."
Automated Code Reviewer
Generate Google AI Studio and Gemini SDK system instructions for Automated Code Reviewer.
"Scan repository manifests to map stack idioms before evaluating logic."
Multi-Agent System Orchestration
Generate Google AI Studio and Gemini SDK system instructions for Multi-Agent System Orchestration.
"Define subagent roles: Lead Architect, Frontend Engineer, Backend Specialist, Security Reviewer."
Django 5 & Ninja / DRF
Generate Google AI Studio and Gemini SDK system instructions for Django 5 & Ninja / DRF.
"Use asynchronous ORM operations (aget(), acreate(), afirst()) inside async def view handlers."
Bun & Elysia / Hono
Generate Google AI Studio and Gemini SDK system instructions for Bun & Elysia / Hono.
"Use Elysia's native t schema builder (powered by TypeBox) for request body, query, and parameter validation."
React Native & Expo Router
Generate Google AI Studio and Gemini SDK system instructions for React Native & Expo Router.
"Use Expo Router file-based filesystem routing (app/_layout.tsx, app/(tabs)/index.tsx); ban legacy React Navigation container boilerplate."
Flutter 3 & Riverpod / Dart
Generate Google AI Studio and Gemini SDK system instructions for Flutter 3 & Riverpod / Dart.
"Always add const constructors wherever possible to maximize Flutter element rebuild caching."
Kubernetes & Helm Charts
Generate Google AI Studio and Gemini SDK system instructions for Kubernetes & Helm Charts.
"Always specify explicit resources.requests and resources.limits (both CPU and memory) on every container."
Terraform & OpenTofu IaC
Generate Google AI Studio and Gemini SDK system instructions for Terraform & OpenTofu IaC.
"Pin explicit version constraints for all providers and required Terraform/OpenTofu core versions (required_providers)."
Playwright End-to-End Testing
Generate Google AI Studio and Gemini SDK system instructions for Playwright End-to-End Testing.
"Strictly ban hardcoded delays (page.waitForTimeout()); rely exclusively on Playwright web-first auto-waiting assertions (expect(locator).toBeVisible())."
Spring Boot 3 & Java 21
Generate Google AI Studio and Gemini SDK system instructions for Spring Boot 3 & Java 21.
"Use jakarta.* packages for persistence, validation, and servlets; ban legacy javax.* imports."
.NET 8 & C# 12 Minimal APIs
Generate Google AI Studio and Gemini SDK system instructions for .NET 8 & C# 12 Minimal APIs.
"Use modern C# 12 features: primary constructors, collection expressions, file-scoped namespaces, and nullable reference types (#nullable enable)."
How do I load this JSON in the Google Gen AI SDK?
In the Gemini Node or Python SDK, parse the JSON and pass `config.system_instruction` into `ai.models.generateContent()`.
Can I paste this into Google AI Studio?
Yes, copy the `system_instruction.parts[0].text` string into the System Instructions drawer in Google AI Studio.