Skip to content

Instantly share code, notes, and snippets.

View mvandermeulen's full-sized avatar

Mark mvandermeulen

  • Fivenynes
  • Sydney, Australia
  • 01:23 (UTC +11:00)
View GitHub Profile
@steipete
steipete / gemini.md
Created June 29, 2025 09:38
gemini.md to teach Claude to use google's gemini cli as his tool

Using Gemini CLI for Large Codebase Analysis

When analyzing large codebases or multiple files that might exceed context limits, use the Gemini CLI with its massive context window. Use gemini -p to leverage Google Gemini's large context capacity.

File and Directory Inclusion Syntax

Use the @ syntax to include files and directories in your Gemini prompts. The paths should be relative to WHERE you run the gemini command:

Examples:

@AndrewAltimit
AndrewAltimit / !README.md
Last active November 6, 2025 08:35
Claude Code and Gemini CLI Integration

Gemini AI Integration MCP Server

A Model Context Protocol (MCP) server that integrates Google's Gemini AI for code review, technical consultation, and AI-assisted development workflows. This server provides seamless integration with Claude Code and other MCP-compatible clients.

Usage

@mikker
mikker / claude-start
Last active October 2, 2025 18:18
Start a new git worktree in tmux
#!/usr/bin/env bash
set -euo pipefail
issue=$1
~/.claude/local/claude \
"Start working on issue #$issue
- Keep an open mind. Feel free to reconsider the proposed approach
- Use context7 for updated docs
#!/usr/bin/env zsh
# Multi-project worktree manager with Claude support
#
# ASSUMPTIONS & SETUP:
# - Your git projects live in: ~/projects/
# - Worktrees will be created in: ~/projects/worktrees/<project>/<branch>
# - New branches will be named: <your-username>/<feature-name>
#
# DIRECTORY STRUCTURE EXAMPLE:
# ~/projects/
@steipete
steipete / compare-gemini-cli-openai-codex.md
Created June 25, 2025 22:19
compare gemini and codex. What are the key technical differences between the two? Which is better?

Excellent. This is a fantastic comparison task. Let's break down the technical differences between Gemini CLI and Codex CLI based on their file structures and documentation, and then determine which one might be "better" for different use cases.

At a Glance: Gemini CLI vs. Codex CLI

Feature Gemini CLI Codex CLI
Core Language TypeScript (Node.js) Hybrid: Rust & TypeScript
Architecture Client/Server (both in TypeScript) Hybrid: Rust core/TUI with a parallel JS/React TUI
Sandboxing Docker/Podman or macOS Seatbelt Rust-based execpolicy engine, macOS Seatbelt, Linux Landlock
UI Framework React & Ink (TypeScript) React & Ink (JS) AND Ratatui (Rust)
@aessam
aessam / Codebase diagram.md
Created June 24, 2025 03:08
Generate multiple Mermaid diagrams for large codebases.

I have a large codebase that I want to understand better through visual architecture diagrams. Please analyze the project structure and create comprehensive Mermaid diagrams that help me understand the codebase at different levels of detail.

📋 Required Analysis

First, explore the codebase to understand:

  1. Project structure - root directories, main modules, configuration files
  2. Dependencies - internal dependencies between modules/packages
  3. Architecture patterns - layered architecture, microservices, monolith, etc.
  4. Key systems - core functionality areas (UI, backend, database, API, etc.)
  5. Technology stack - frameworks, languages, tools used
@aessam
aessam / claude-code-dependency-graph-prompt.md
Created June 22, 2025 21:45
Universal prompt for Claude Code to generate interactive multi-level dependency graphs for any codebase. Creates beautiful D3.js visualizations with 3 zoom levels: system overview (40k ft), module view (10k ft), and full dependency graph. Works with Rust, JavaScript, Python, Go, Java, and more.

Analyze this codebase and create a multi-level interactive dependency graph visualization as a single HTML file.

Level 1 - System Overview (40,000ft view):

  • Show only top-level directories/subsystems
  • Group by: Frontend, Backend, Core, Database, Tests, Tools, External
  • Display as large nodes with # of files and primary language
  • Show only major connections between subsystems

Level 2 - Module View (10,000ft view):

  • Show ~30-50 most important modules/packages
@odysseus0
odysseus0 / INVESTIGATION_MEMO.md
Created June 19, 2025 20:16
Investigation Memo: TikAPI httpx AsyncClient Issue

Investigation Memo: TikAPI httpx AsyncClient Issue

Date: June 19, 2025
Platform: MacOS
Project: TikAPI_MCP
Environment: /Users/tengjizhang/projects/flashbots_x/TikAPI_MCP

Problem Statement

The TikAPI MCP server was experiencing failures when making requests to the TikAPI service, with empty error messages: "An error occurred while requesting TikAPI: ". This prevented the /resources/read and search functionality from working properly.

Robust <prefix> g Pane-Zoom Hook for Outer tmux

Whether you’re juggling multiple windows and panes across nested tmux sessions, having a single, ergonomic shortcut to switch and zoom panes can save you valuable time. This snippet extends your outer tmux configuration to bind <prefix> g for a seamless, two-step pane selection: un-zoom the current pane, display a long-lasting pane number overlay, and automatically zoom the pane you choose—all in one intuitive command.

Use this snippet in your ~/.ubertmux to bind <prefix> g so it:

  • Works whether the current pane is zoomed or not
  • Displays pane numbers overlay for up to 600 seconds (10 minutes)
  • Allows you to select any pane (including the same one) and zoom it automatically
@pillheadddd
pillheadddd / 01-Claude Persona-Driven Development.md
Last active June 27, 2025 11:11
Claude Code // Persona Driven Development Principle

Claude Best Practices for Multi-Persona Development

This document outlines the structured development workflow that ensures quality, consistency, and efficiency when using Claude for software development projects.

Core Philosophy: Test-First, Context-Aware, Persona-Driven Development

Our workflow is built on three fundamental principles:

  1. Context-Before-Code: Always understand the full context before implementing
  2. Test-First Development: Tests illuminate the path; they don't define the destination
  3. Persona-Driven Development: Distinct roles with enforced transitions ensure quality at every stage