Thanks to visit codestin.com
Credit goes to github.com

Skip to content

nth5693/gemini-kit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ Gemini-Kit

Version License Tests Agents Commands

🎯 Turn Your Terminal Into an AI Engineering Team

Gemini-Kit is an extension for Gemini CLI that brings 15 specialized AI agents to help you code 10x faster.

🌐 Language: English | TiαΊΏng Việt

πŸš€ Installation β€’ πŸ“– Usage β€’ πŸ€– Agents β€’ ⌨️ Commands β€’ πŸ“š API


πŸ“‹ Table of Contents


πŸ“– Documentation

Guide Description
πŸš€ Quick Start BαΊ―t Δ‘αΊ§u trong 5 phΓΊt
πŸ“š Features Reference TαΊ₯t cαΊ£ features chi tiαΊΏt
πŸ”„ Workflows Guide HΖ°α»›ng dαΊ«n workflows
🎯 Best Practices Tips và troubleshooting
πŸ“‘ API Reference MCP tools API

πŸ€” What is Gemini-Kit?

Gemini-Kit is an extension for Gemini CLI that transforms your terminal into a virtual engineering office with 15 specialized AI agents:

Agent Role
πŸ“‹ Planner Create plans, break down tasks
πŸ” Scout Explore and analyze codebase
πŸ’» Coder Write clean, efficient code
πŸ§ͺ Tester Create unit & integration tests
πŸ‘€ Reviewer Code review, find bugs
πŸ› Debugger Debug complex issues
πŸ”€ Git Manager Manage Git, commits, branches
πŸ—„οΈ Database Admin Schema design, queries
πŸ”¬ Researcher Research new technologies
🎨 UI Designer Design UI/UX
πŸ“ Docs Manager Write documentation
πŸ’‘ Brainstormer Brainstorm ideas
🌐 Fullstack Dev End-to-end development
πŸ“Š Project Manager Project management
✍️ Copywriter Write marketing content

Key Features

  • 42 slash commands for every situation
  • One-command workflow: /cook = Plan β†’ Scout β†’ Code β†’ Test β†’ Review
  • Auto-checkpoint: Automatic backup before changes
  • Learning System: AI learns from your feedback
  • Security Hooks: Block secret leaks (30+ patterns)

βš™οΈ How It Works

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                        GEMINI-KIT ARCHITECTURE                  β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚                                                                 β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”      β”‚
β”‚  β”‚   GEMINI     │───▢│  GEMINI-KIT  │───▢│  MCP SERVER  β”‚      β”‚
β”‚  β”‚     CLI      β”‚    β”‚  EXTENSION   β”‚    β”‚  (15 Tools)  β”‚      β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜      β”‚
β”‚         β”‚                   β”‚                   β”‚               β”‚
β”‚         β–Ό                   β–Ό                   β–Ό               β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”      β”‚
β”‚  β”‚  42 COMMANDS β”‚    β”‚   15 AGENTS  β”‚    β”‚    HOOKS     β”‚      β”‚
β”‚  β”‚  /cook /plan β”‚    β”‚ Planner,Coderβ”‚    β”‚ before-tool  β”‚      β”‚
β”‚  β”‚  /scout /testβ”‚    β”‚ Tester,Scout β”‚    β”‚ after-tool   β”‚      β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜      β”‚
β”‚                                                                 β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

The /cook Workflow (Full Development Cycle)

πŸ“‹ PLAN     β†’  πŸ” SCOUT   β†’  πŸ’» CODE    β†’  πŸ§ͺ TEST    β†’  πŸ‘€ REVIEW
Create      Find relevant   Implement    Write &      Code review
plan        files           solution     run tests   & quality

πŸ’Ž Benefits

❌ Before Gemini-Kit

😩 Coding alone, no support
😩 Debugging for hours
😩 Forgetting to write tests
😩 Accidentally committing API keys
😩 Repeating workflows manually
😩 Onboarding takes weeks

βœ… After Gemini-Kit

πŸš€ 15 AI agents available 24/7
πŸš€ Debugger finds root cause
πŸš€ Tester writes tests automatically
πŸš€ Blocks secrets BEFORE commit
πŸš€ /cook automates everything
πŸš€ /scout analyzes codebase in minutes

Time Savings

Task Manual With Gemini-Kit
Analyze new codebase 2-4 hours 5 min (/scout)
Plan a feature 1-2 hours 10 min (/plan)
Implement + Test + Review 1 day 1-2 hours (/cook)
Debug complex issue 2-4 hours 30 min (/debug)
Write documentation 2-3 hours 20 min (/docs)

πŸ“¦ Installation

System Requirements

Requirement Version Check
Node.js β‰₯ 18.0 node --version
Git β‰₯ 2.0 git --version
npm β‰₯ 8.0 npm --version

Step 1: Install Gemini CLI

# macOS / Linux
npm install -g @anthropics/gemini-cli

# Windows (PowerShell as Admin)
npm install -g @anthropics/gemini-cli

# Verify installation
gemini --version

First run will prompt for configuration:

# Run for the first time
gemini

# Follow prompts to:
# 1. Sign in with Google account
# 2. Authorize Gemini CLI

Step 2: Install Gemini-Kit Extension

# Clone the repository
git clone https://github.com/nth5693/gemini-kit.git ~/.gemini/extensions/gemini-kit

# Navigate to directory
cd ~/.gemini/extensions/gemini-kit

# Install dependencies and build
npm install && npm run build

# Link extension
gemini extensions link $(pwd)

Step 3: Verify Installation

# Go to your project
cd /path/to/your/project

# Start Gemini
gemini

# Try a command
> /help

# If you see the command list β†’ Success! πŸŽ‰

Update to Latest Version

cd ~/.gemini/extensions/gemini-kit
git pull origin main
npm install && npm run build

πŸ’» Usage

Basic Workflow

# 1. Navigate to your project
cd my-project

# 2. Start Gemini
gemini

# 3. Use commands
> /cook Add user authentication with JWT

Common Scenarios

πŸ†• Starting a New Feature

# Plan first
> /plan Add user authentication with JWT

# Or run full workflow
> /cook Implement JWT authentication

πŸ› Fixing a Bug

# Debug the issue
> /debug Why does API return 500 when uploading large files?

# Or quick fix
> /fix TypeError: Cannot read property 'id' of undefined at line 42

πŸ” Exploring a New Codebase

# Analyze entire project
> /scout

# Focus on specific directory
> /scout src/services

πŸ“ Writing Documentation

# Generate README
> /docs Generate README for this project

# Create API docs
> /docs Create API documentation for src/api

πŸ€– Agents

Core Agents

Agent File Function When to Use
πŸ“‹ Planner agents/planner.md Create detailed plans with timeline Starting new features
πŸ” Scout agents/scout.md Analyze codebase structure New projects, onboarding
πŸ’» Coder agents/coder.md Write clean code Implementing features
πŸ§ͺ Tester agents/tester.md Write tests, ensure coverage Quality assurance
πŸ‘€ Reviewer agents/reviewer.md Code review, find bugs Before merging PRs

Specialized Agents

Agent Function When to Use
πŸ› Debugger Root cause analysis Runtime errors
πŸ”€ Git Manager Commit, branch strategy Version control
πŸ—„οΈ Database Admin Schema design, migrations Database work
πŸ”¬ Researcher Research packages Technology decisions
🎨 UI Designer Dark mode, animations Frontend UI/UX
πŸ“ Docs Manager README, API docs Documentation
πŸ’‘ Brainstormer Brainstorm ideas Problem solving
🌐 Fullstack End-to-end implementation Full features
πŸ“Š PM Sprint planning Project management
✍️ Copywriter Marketing copy Content creation

⌨️ All Commands

🍳 Workflow Commands

Command Description Example
/cook Full development cycle /cook Add payment integration
/plan Create detailed plan /plan Migrate to PostgreSQL
/scout Explore codebase /scout src/services
/code Implement code /code Create UserService class
/test Write and run tests /test Write tests for auth module
/review Code review /review src/api/users.ts

πŸ› Debug & Fix

Command Description Example
/debug Analyze and fix bugs /debug Memory leak in handler
/fix Quick fix /fix ESLint errors in src/utils

πŸ“š Documentation

Command Description Example
/docs Create/update docs /docs Generate API reference
/content Create content /content Write auth tutorial

πŸ”€ Git

Command Description Example
/git Git operations /git commit "feat: add auth"
/pr Create Pull Request /pr Create PR for feature
/review-pr Review Pull Request /review-pr 123

πŸ› οΈ Utilities

Command Description
/help Show help
/session Manage session
/team Team orchestration
/workflow Run specific workflow
/ask Quick Q&A
/chat Free chat

πŸ”§ MCP Tools

Core Tools

Tool Function
kit_create_checkpoint Create Git checkpoint before changes
kit_restore_checkpoint Rollback to checkpoint
kit_get_project_context Get project information
kit_handoff_agent Transfer context between agents

Knowledge Tools

Tool Function
kit_save_learning Save feedback for AI learning
kit_get_learnings Get saved learnings
kit_index_codebase Index codebase for search
kit_keyword_search Search in codebase

Integration Tools

Tool Function
kit_github_create_pr Create GitHub PR
kit_github_get_issue Get issue details
kit_jira_get_ticket Get Jira ticket info

πŸ”’ Security Features

Secret Detection (30+ patterns)

  • βœ… AWS Access Keys
  • βœ… GitHub Tokens
  • βœ… OpenAI API Keys
  • βœ… Private Keys
  • βœ… Database Connection Strings

Dangerous Command Blocking

  • 🚫 rm -rf /
  • 🚫 Fork bombs
  • 🚫 curl | sh

❓ FAQ

Is Gemini-Kit free?

βœ… Yes, completely free and open source (MIT License).

Do I need an API key?

You need to configure Gemini CLI with your Google account. No separate API key needed.

Which languages are supported?

βœ… TypeScript, JavaScript, Python, Go, Rust, Java, and many more.

Which OS is supported?

βœ… macOS, Linux, Windows (WSL recommended)


🀝 Contributing

Contributions welcome!

  1. Fork the repo
  2. Create branch (git checkout -b feature/amazing-feature)
  3. Commit changes (git commit -m 'Add amazing feature')
  4. Push (git push origin feature/amazing-feature)
  5. Create Pull Request

πŸ“„ License

MIT Β© 2024


Made with ❀️ by the Gemini-Kit Team
GitHub β€’ Releases β€’ Issues

About

πŸš€ 15 AI Agents team for Gemini CLI - Code 10x faster with auto planning, testing & review

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published