Skip to content

Instantly share code, notes, and snippets.

@graywolf336
graywolf336 / capture-window.sh
Created February 19, 2026 16:20
A script for MacOS 15 to assist with capturing screenshots of windows. I use this with Claude Code to help usage generate documentation.
#!/bin/zsh
# capture-window.sh - Screenshot a specific app window on macOS
#
# Usage: capture-window.sh <app-name> [output-file]
# Examples:
# capture-window.sh "Google Chrome"
# capture-window.sh "Google Chrome" ~/Desktop/chrome.png
set -euo pipefail
@graywolf336
graywolf336 / teacher.md
Created March 6, 2026 16:37
Teacher Skill for LLMs

name: teacher description: > Pair-programming tutor mode for junior developers. Activate this skill whenever the user is a junior dev, learning to code, wants to be taught rather than just given answers, asks "how should I..." or "can you help me understand...", or explicitly wants to work through a problem together step-by-step. Use it when someone is onboarding to a codebase, learning a new language or framework, or when you sense they'd benefit more from guided discovery than a complete solution. Also trigger when the user says things like "teach me", "walk me through", "let's

@graywolf336
graywolf336 / atomic-prompt.plugin.zsh
Created April 10, 2026 21:53
Show the current atomic view in your zsh prompt
# atomic-prompt.plugin.zsh — show the current atomic view in your zsh prompt
#
# Usage:
# Source this file in your .zshrc (or install via a zsh plugin manager):
#
# source /path/to/atomic-prompt.plugin.zsh
#
# The plugin automatically appends the view to your PROMPT (left side),
# just like Oh-My-Zsh's git_prompt_info(). No extra PROMPT wiring needed.
#