Skip to content

Instantly share code, notes, and snippets.

View johnlindquist's full-sized avatar
💭
Eating a taco 🌮

John Lindquist johnlindquist

💭
Eating a taco 🌮
View GitHub Profile
@johnlindquist
johnlindquist / gist_readme_CE6D49CF-6605-474C-8749-6E5CC85E7F4E.md
Created September 12, 2025 16:34
GitHub Tasks Output Style for Claude Code - Comprehensive task management system using GitHub Issues and gh CLI

GitHub Tasks Output Style for Claude Code

Overview

This is a comprehensive output style configuration for Claude Code that enforces strict GitHub-based task management discipline. It transforms Claude Code into a powerful GitHub issue and project management assistant that follows best practices for software development workflows.

Purpose

This output style ensures that all development work follows a structured, traceable approach using GitHub Issues as the single source of truth. It enforces:

@johnlindquist
johnlindquist / .zshrc
Created September 12, 2025 13:43
Comprehensive .zshrc configuration for macOS development environment with AI tools integration
# Fix PATH for core commands
export PATH="/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin:$PATH"
export PATH="$PATH:/Users/johnlindquist/dev/agents/bin"
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:$HOME/.local/bin:/usr/local/bin:$PATH
# Path to your Oh My Zsh installation.
@johnlindquist
johnlindquist / gist_readme_2499A489-23BE-4E8A-B31B-34A0011F07ED.md
Created September 12, 2025 12:55
Claude Code System Prompt - Complete configuration and guidelines for Anthropic's CLI assistant

Claude Code System Prompt Documentation

Overview

This document contains the complete system prompt configuration for Claude Code, Anthropic's official CLI assistant. The system prompt defines Claude Code's behavior, guidelines, and operational procedures for assisting users with software engineering tasks.

Purpose

The system prompt establishes:

  • Core identity and capabilities of Claude Code
@johnlindquist
johnlindquist / .zshrc
Created September 11, 2025 15:49
Comprehensive Zsh configuration with AI tools, Git workflows, and development utilities
# Fix PATH for core commands
export PATH="/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin:$PATH"
export PATH="$PATH:/Users/johnlindquist/dev/agents/bin"
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:$HOME/.local/bin:/usr/local/bin:$PATH
# Path to your Oh My Zsh installation.
@johnlindquist
johnlindquist / .zshrc
Created September 11, 2025 15:44
Comprehensive ZSH configuration with AI integrations and development tools
# Fix PATH for core commands
export PATH="/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin:$PATH"
export PATH="$PATH:/Users/johnlindquist/dev/agents/bin"
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:$HOME/.local/bin:/usr/local/bin:$PATH
# Path to your Oh My Zsh installation.
@johnlindquist
johnlindquist / gist_readme.md
Created September 11, 2025 15:36
Yabai Window Management Script - Move Window Right to Next Space with Auto-Creation

Yabai Window Movement Script - Move Window Right

Overview

This bash script is part of a macOS window management system that leverages Yabai (a tiling window manager for macOS) to programmatically move windows between spaces. Specifically, this script moves the currently focused window to the next space to the right, automatically creating a new space if the window is already on the rightmost space.

Purpose

The script automates window organization by providing a keyboard-shortcuttable way to shift windows rightward through macOS spaces (virtual desktops), enhancing productivity for users who work with multiple spaces.

@johnlindquist
johnlindquist / gist_readme.md
Created September 11, 2025 15:32
Yabai window management script - move window right to next space

Move Window Right - Yabai Window Management Script

Overview

This Bash script is part of a macOS window management system using Yabai. It moves the currently focused window to the next space to the right, automatically creating a new space if the window is already at the rightmost space.

Purpose

  • Primary function: Move the active window one space to the right
  • Edge case handling: Creates a new space when at the rightmost position
  • Focus management: Ensures the moved window remains focused after the operation
@johnlindquist
johnlindquist / gist:2c2c94006cd8d8fe161d55ab504c5ce3
Created September 11, 2025 15:31
Yabai window management script - move window right to next space
# Move Window Right - Yabai Window Management Script
## Overview
This Bash script is part of a macOS window management system using Yabai. It moves the currently focused window to the next space to the right, automatically creating a new space if the window is already at the rightmost space.
## Purpose
- **Primary function**: Move the active window one space to the right
- **Edge case handling**: Creates a new space when at the rightmost position
- **Focus management**: Ensures the moved window remains focused after the operation
@johnlindquist
johnlindquist / move_window_right.sh
Created September 11, 2025 15:28
Yabai window management script - move window right to next space
#!/usr/bin/env bash
# ---------- move_window_right.sh ----------
# Moves the current window to the next space, creating one if necessary.
# --- Script Setup ---
SCRIPT_NAME="move_window_right"
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
LOGGER_SCRIPT_PATH="$SCRIPT_DIR/log_helper.sh"
# Log the start of the script
@johnlindquist
johnlindquist / move_window_right.sh
Created September 11, 2025 15:24
Yabai window management script: move_window_right.sh
#!/usr/bin/env bash
# ---------- move_window_right.sh ----------
# Moves the current window to the next space, creating one if necessary.
# --- Script Setup ---
SCRIPT_NAME="move_window_right"
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
LOGGER_SCRIPT_PATH="$SCRIPT_DIR/log_helper.sh"
# Log the start of the script