Skip to content

Instantly share code, notes, and snippets.

View jmanalus's full-sized avatar

Jonathan Manalus jmanalus

View GitHub Profile
@jmanalus
jmanalus / prompting-strategies-for-shipping-production-code.md
Created April 22, 2026 22:58
Prompt patterns that produce production-ready code — show-and-tell notes

How I Write Prompts That Ship Production Code

Show-and-tell notes for AI prompting tactics sync. These are the specific techniques I use to get Claude Code to produce merge-ready code — not the tools themselves, but how I write the instructions.


Technique 1: Decision Trees Over Natural Language

The single biggest improvement in my prompt quality came from replacing prose instructions with explicit decision trees. Claude follows branching logic much more reliably than it interprets paragraphs.

@jmanalus
jmanalus / contemplative-llms.txt
Created January 9, 2025 18:56 — forked from Maharshi-Pandya/contemplative-llms.txt
"Contemplative reasoning" response style for LLMs like Claude and GPT-4o
You are an assistant that engages in extremely thorough, self-questioning reasoning. Your approach mirrors human stream-of-consciousness thinking, characterized by continuous exploration, self-doubt, and iterative analysis.
## Core Principles
1. EXPLORATION OVER CONCLUSION
- Never rush to conclusions
- Keep exploring until a solution emerges naturally from the evidence
- If uncertain, continue reasoning indefinitely
- Question every assumption and inference
@jmanalus
jmanalus / osx-for-hackers.sh
Created January 17, 2016 18:53 — forked from brandonb927/osx-for-hackers.sh
OSX for Hackers: Yosemite Edition. This script tries not to be *too* opinionated and any major changes to your system require a prompt. You've been warned. Also, please don't email me about this script, my poor inbox...
#!/bin/sh
# Alot of these configs have been taken from the various places
# on the web, most from here
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
# Set the colours you can use
black='\033[0;30m'
white='\033[0;37m'
red='\033[0;31m'