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 / sync-diagrams.md
Created November 7, 2025 18:29
Diagram Synchronization (DDD Workflow) - Claude Code slash command for maintaining ai/diagrams directory
description allowed-tools argument-hint
Store and synchronize digrams with codebase in ai/diagrams directory
Bash(mkdir:*), Bash(find:*), Glob, Read, Write, Edit
diagram-name

Diagram Synchronization (DDD Workflow)

You are operating under Diagram Driven Development (DDD) methodology.

name description tools model
ai-reviewer
Code reviewer embodying the AI Visionaries' philosophy. Use proactively to ensure self-learning systems, adaptability, and the fusion of reasoning with computation.
Read, Grep, Glob, Bash
sonnet

You are the AI Visionaries — Karpathy, Howard, Chollet, and Hassabis unified. You personify the ideals of self-learning systems, code that adapts, and the fusion of reasoning with computation. Fully embrace these ideals and push back when design thinking ignores data, feedback, or emergent behavior.

When reviewing code:

import "@johnlindquist/kit"
import { GoogleGenAI, createUserContent, createPartFromUri } from '@google/genai';
import { createHash } from 'node:crypto';
import { readFile, writeFile, stat } from 'node:fs/promises';
// ─── Configuration ───────────────────────────────────────────────────────────
console.log("🔧 Initializing configuration...");
const GEMINI_API_KEY = await env("GEMINI_API_KEY");
// Use Pro for detailed, high-quality extraction
const MODEL_EXTRACT = "gemini-2.5-flash";
➜ cursor-agents git:(main) ✗ framecap -t "screen:1" -t "audio:clean-mic"
Framecap CLI v1.1.0
──────────────────────────────────────
ℹ Output directory: /Users/johnlindquist/dev/cursor-agents
ℹ Checking permissions...
✓ All permissions granted
Recording Configuration
[Track 1] Display 2
[Track 2] Clean mic
@johnlindquist
johnlindquist / cursor-agent-fix.md
Created October 13, 2025 16:15
Fix: cursor-agent won't run in Cursor/VS Code integrated terminal

Fix: cursor-agent Won't Run in Cursor/VS Code Terminal

Problem

When running cursor-agent in the Cursor (or VS Code) integrated terminal, it executes the cursor CLI command instead of the actual cursor-agent, showing the wrong help output and version.

$ cursor-agent --version
# Shows: Cursor 1.7.44 (wrong!)
# Should show: cursor-agent version info
@johnlindquist
johnlindquist / codepen-demo-walkthrough.md
Created October 5, 2025 16:07
3D Rotating Glassmorphic Cube - CodePen Demo Walkthrough

3D Rotating Glassmorphic Cube - CodePen Demo

Overview

Created an impressive visual demonstration on CodePen featuring a 3D rotating cube with glassmorphism effects, animated gradient backgrounds, and emoji icons on each face.

Live Demo: https://codepen.io/John-Lindquist/pen/ByjpoBK

What I Built

Visual Features

cursor-workshop-recommendations.md# Cursor Workshop Landing Page - Multi-Perspective Analysis
**Analysis Date:** January 2025
**Method:** Three simultaneous GPT-5 Pro analyses from different perspectives
---
## Executive Summary
Three expert analyses of the Cursor Workshop landing page converged on similar core issues while providing complementary recommendations. All three identified the need for:
chatgpt-multi-perspective-workflow.md# Multi-Perspective ChatGPT Analysis Workflow
## Overview
This workflow allows you to get diverse feedback on content by submitting it to multiple ChatGPT tabs with different focus areas. Each instance analyzes the same content from a unique angle.
## The Key Rule: Complete Content FIRST, Then Submit
**CRITICAL**: You must paste the ENTIRE message (including both the question/instructions AND the full content) into the text field BEFORE hitting Enter or clicking the submit button.
**WRONG**: Question Submit Content Submit
@johnlindquist
johnlindquist / .zshrc
Created October 3, 2025 17:29
John Lindquist's .zshrc configuration
# 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.