Skip to content

Instantly share code, notes, and snippets.

@jkakar
jkakar / cookwith-guide.md
Created February 12, 2026 20:31
Remixing Recipes with ChatGPT: A Guide for Cookwith Users

Remixing Recipes with ChatGPT: A Guide for Cookwith Users

One of the things that made remixing in Cookwith work so well is that behind the scenes, we gave the AI your full recipe, your dietary needs, and very specific instructions about how to be a good chef. The good news is you can do the same thing yourself in ChatGPT. This guide shows you exactly how.


The Basics: How Remixing Works

The secret to a great remix is giving ChatGPT three things: a clear role, your full recipe, and a specific request. Skip any one of these and the results get noticeably worse.

@jkakar
jkakar / SKILL.md
Created February 8, 2026 23:00
Agent kaizen skill

Agent Kaizen — Continuous Improvement for AGENTS.md / CLAUDE.md

Purpose

This skill analyzes recent git history to find places where the project’s agent instructions file (AGENTS.md, CLAUDE.md, or equivalent) failed to prevent mistakes, caused confusion, or missed opportunities to guide the agent toward better outcomes. It then rewrites the file to close those gaps.

The name comes from the Japanese concept of kaizen (改善): continuous, incremental improvement.


# If not running interactively, don't do anything
[ -z "$PS1" ] && return
# don't put duplicate lines in the history. See bash(1) for more options
# ... or force ignoredups and ignorespace
HISTCONTROL=ignoreboth
# append to the history file, don't overwrite it
shopt -s histappend
-- Don't rollback the entire transaction if you typo a SQL query when
-- in interactive mode.
\set ON_ERROR_ROLLBACK interactive
-- Show query timing information.
\timing
-- Include transaction information in the prompt.
\set PROMPT1 '%[%033[33;1m%]%x%[%033[0m%]%[%033[1m%]%/%[%033[0m%]%R%# '
package main
import (
"bufio"
"fmt"
"log"
"net/http"
"os"
"strings"
"time"
@jkakar
jkakar / .gitconfig
Last active December 25, 2015 20:39
[alias]
cleanbranches = !/Users/jkakar/bin/gitcleanbranches.sh
@jkakar
jkakar / gitcleanbranches.sh
Created July 18, 2012 23:45
Deleting merged branches with Git
#!/bin/bash
set -x
# Update the master branch.
git checkout master
git pull upstream master
# Synchronize the remote repository.
git push origin master
.emacs:
(when (load "flymake" t)
(defun flymake-pyflakes-init ()
(let* ((temp-file (flymake-init-create-temp-buffer-copy
'flymake-create-temp-inplace))
(local-file (file-relative-name
temp-file
(file-name-directory buffer-file-name))))
(list "/home/jkakar/.emacs.d/plugins/epylint.py" (list local-file))))
// URI encode some text.
Handlebars.registerHelper('encode', function(property) {
var text = Ember.getPath(this, property);
return encodeURIComponent(text);
});