Context Engineering Intro For Gemini CLI banner
mverab mverab

Context Engineering Intro For Gemini CLI

AI community

Description

Context engineering is the new vibe coding - it's the way to actually make AI coding assistants work. Claude Code is the best for this so that's what this repo is centered around, but you can apply this strategy with any AI coding assistant!

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

Context Engineering Template

A comprehensive template for getting started with Context Engineering - the discipline of engineering context for AI coding assistants so they have the information necessary to get the job done end to end.

**Context Engineering is 10x better than prompt engineering and 100x better than vibe coding. This version has been optimized for use with Gemini CLI.**

πŸš€ Quick Start

# 1. Clone this template
git clone https://github.com/mverab/context-engineering-intro-for-Gemini-CLI
cd context-engineering-intro-for-Gemini-CLI

# 2. Install and Authenticate Gemini CLI
npm install -g @google/gemini-cli
gemini auth

# 3. Set up your project rules (optional - template provided)
# Edit GEMINI_CLI.md to add your project-specific guidelines

# 4. Add examples (highly recommended)
# Place relevant code examples in the examples/ folder

# 5. Create your initial feature request
# Edit INITIAL.md with your feature requirements

# 6. Generate a comprehensive PRP (Product Requirements Prompt)
# In Gemini CLI, run:
gemini -p "@./.gemini/commands/generate-prp.md" "INITIAL.md"

# 7. Execute the PRP to implement your feature
# In Gemini CLI, run:
gemini -p "@./.gemini/commands/execute-prp.md" "PRPs/your-feature-name.md"

πŸ“š Table of Contents

What is Context Engineering?

Context Engineering represents a paradigm shift from traditional prompt engineering:

Prompt Engineering vs Context Engineering

**Prompt Engineering:**

  • Focuses on clever wording and specific phrasing
  • Limited to how you phrase a task
  • Like giving someone a sticky note

**Context Engineering:**

  • A complet