41 community-contributed rules
Gemini rules and system instructions customize Google's Gemini AI for coding tasks. Define behavior, output format, and domain expertise.
Gemini Rules are system instructions that configure Google's Gemini AI for your specific use case. Whether you're using Gemini in Google AI Studio, via the API, or through compatible IDEs, these rules shape the AI's responses.
Well-crafted Gemini instructions can turn the general-purpose AI into a specialized coding assistant that understands your tech stack, follows your conventions, and produces code that matches your style.
File name: system-instruction.md
Optimized rules for Google Gemini Code Assist with context management and code generation preferences.
System instructions for Gemini to excel at React and TypeScript development.
Generate configuration handling code
System instructions for Gemini to help with Next.js App Router development.
Generate secure Python code
Generate web scraping code safely
Configure Gemini as a Python expert for data science and backend development.
Generate ML pipeline code with scikit-learn
Generate Streamlit data apps
Generate NLP code with transformers
Configure Gemini as a TypeScript expert for type-safe development.
Generate type-safe API clients
Configure Gemini to help with Tailwind CSS styling and design systems.
Generate robust FastAPI applications
Generate PyTorch model and training code
Generate dbt transformation models
System instructions for Gemini to assist with Node.js backend development.
Generate LangChain agent code
Generate well-structured notebooks
System instructions for Gemini to assist with Go backend development.
Gemini system instructions are prompts that define how the AI should behave, what expertise it should demonstrate, and how it should format responses. They're applied at the start of every conversation.
Gemini rules can be used in Google AI Studio, the Gemini API, Google Workspace integrations, and any IDE or tool that supports Gemini as a backend AI model.
In Google AI Studio, saved system instructions persist. For API usage, you need to include the system instruction with each new conversation or session.
Create your own Gemini rules and share them with the community.