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"
$ rebar3 compile
===> Verifying dependencies...
===> Fetching edown ({git,"git://github.com/esl/edown.git",{tag,"0.4"}})
===> Compiling edown
===> Compiling /Users/jkakar/src/github.com/jkakar/rebar_edown_plugin/_build/default/lib/edown/src/edown_doclet.erl failed
/Users/jkakar/src/github.com/jkakar/rebar_edown_plugin/_build/default/lib/edown/src/edown_doclet.erl:116: field packages undefined in record doclet_gen
/Users/jkakar/src/github.com/jkakar/rebar_edown_plugin/_build/default/lib/edown/src/edown_doclet.erl:118: field filemap undefined in record doclet_gen
===> Evaluating config script "/Users/jkakar/src/github.com/jkakar/aws-erlang/_build/default/plugins/erlware_commons/rebar.config.script"
===> Evaluating config script "/Users/jkakar/src/github.com/jkakar/aws-erlang/_build/default/plugins/relx/rebar.config.script"
===> sh info:
cwd: "/Users/jkakar/src/github.com/jkakar/aws-erlang"
cmd: git rev-parse -q HEAD
===> opts: [{cd,"/Users/jkakar/src/github.com/jkakar/aws-erlang/_build/default/plugins/erlware_commons"}]
===> Port Cmd: git rev-parse -q HEAD
Port Opts: [{cd,"/Users/jkakar/src/github.com/jkakar/aws-erlang/_build/default/plugins/erlware_commons"},
# bash/zsh git prompt support
#
# Copyright (C) 2006,2007 Shawn O. Pearce <spearce@spearce.org>
# Distributed under the GNU General Public License, version 2.0.
#
# This script allows you to see repository status in your prompt.
#
# To enable:
#
# 1) Copy this file to somewhere (e.g. ~/.git-prompt.sh).
%% Join binary values using the specified separator.
binary_join([], _) -> <<"">>;
binary_join([H|[]], _) -> H;
binary_join(L, Sep) when is_list(Sep) ->
binary_join(L, list_to_binary(Sep));
binary_join([H|T], Sep) ->
binary_join(T, H, Sep).
binary_join([], Acc, _) ->
Acc;