TaskPrio

GEMINI.md

GEMINI.md is the context (memory) file Gemini CLI and Gemini Code Assist read at session start to learn your project — stack, commands, conventions, what not to do, definition of done. It lives at your repo root, loads hierarchically, supports @imports, and pairs with a global ~/.gemini/GEMINI.md.

Generate your GEMINI.md free →

What is GEMINI.md?

A plain-Markdown file Gemini CLI loads into context automatically when you start working in a repo. Its job is to give the agent the context a new teammate would need. It's the Gemini-native version of the same idea as AGENTS.md and CLAUDE.md — same content, with Gemini-specific extras: hierarchical loading, @path imports, and a global file.

What goes in a GEMINI.md file?

GEMINI.md example

# Acme Web

> Senior full-stack engineer. Small, reviewable diffs. Tests with every change.

@docs/architecture.md

## Stack
Next.js 15 (App Router) · TypeScript · Tailwind · Drizzle ORM · Postgres

## Commands
- Build: `pnpm build`
- Test: `pnpm test`
- Lint: `pnpm lint && pnpm typecheck`

## Conventions
- Server components by default; "use client" only when needed.
- All DB access through src/db/ (Drizzle) — never raw SQL in routes.

## Don't
- Don't add dependencies without asking.
- Don't commit secrets — use .env.local (see .env.example).

## Definition of done
- Lint + tests pass; new UI works at 375px.

Make one for your project →

Gemini-specific features

Best practices

GEMINI.md vs CLAUDE.md vs AGENTS.md

Same guidance, different readers — AGENTS.md is the open standard (28+ tools), CLAUDE.md is Claude Code's, and GEMINI.md is Gemini CLI's (with hierarchical loading + the global file). The clean setup is one canonical file the rest import or are generated from. Full breakdown: AGENTS.md vs CLAUDE.md →

Generate GEMINI.md (and AGENTS.md, CLAUDE.md, Cursor, Copilot) — free

Fill in your project's rules once and get every file, correctly formatted, with a token-budget warning so they stay lean. No signup.

Open the Agent Memory Compiler →

Keep it in sync with your work

Generated files drift the moment your project changes. In TaskPrio your rules live in one place and your agents pull them over MCP with get_next_task — the memory and the task queue become one source of truth. Edit once; every agent stays current. See the MCP queue →

FAQ

What is GEMINI.md?

Gemini CLI's context (memory) file, auto-loaded at session start — stack, commands, conventions, don't-dos, definition of done. Lives at repo root; loads hierarchically and supports @imports + a global ~/.gemini/GEMINI.md.

What goes in it?

Overview, stack, commands, conventions, don't-dos, definition of done — kept lean; use @imports for long docs.

Is it the same as CLAUDE.md or AGENTS.md?

Same content, different reader. Keep one source: make AGENTS.md canonical and @AGENTS.md from GEMINI.md, or generate them all from one set of rules.

Generate your GEMINI.md →   AGENTS.md vs CLAUDE.md →