Skip to content

Instantly share code, notes, and snippets.

@samkeen
samkeen / claude-code-rss-reader-one-shot.txt
Created April 10, 2026 17:54
The session output of Claude Code (Opus 4.6) one shot'ing a Tauri 2 RSS feed reader
╭─── Claude Code v2.1.100 ─────────────────────────────────────────────────────╮
│ │ Tips for getting │
│ Welcome back Sam! │ started │
│ │ Run /init to create a … │
│ ▐▛███▜▌ │ ─────────────────────── │
│ ▝▜█████▛▘ │ Recent activity │
│ ▘▘ ▝▝ │ No recent activity │
│ Opus 4.6 (1M context) · Claude Max · │ │
│ ~/Projects/rss-reader/src-tauri │ │
╰──────────────────────────────────────────────────────────────────────────────╯
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Claude Code — /init session #2</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,300;0,400;0,500;0,600;1,400&family=Syne:wght@400;600;700;800&display=swap" rel="stylesheet">
<style>
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Claude Code — /init session</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,300;0,400;0,500;0,600;1,400&family=Syne:wght@400;600;700;800&display=swap" rel="stylesheet">
<style>
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
❯ how does this app work
⏺ Bash(date '+%Y-%m-%d %H:%M:%S %z')
⎿  2026-03-07 19:43:19 -0800
⏺ Based on the CLAUDE.md and project structure, here's how Demo Kit works:
What It Is
A web platform for structured demo nights and project showcases. Think: hackathon demo day as a service.
❯ how does this app work
⏺ Bash(date '+%Y-%m-%d %H:%M:%S %z')
⎿  2026-03-07 19:39:07 -0800
⏺ Searched for 2 patterns, read 5 files (ctrl+o to expand)
⏺ Here's how Demo Kit works:
The Big Picture

PR Decomposition Agent Prompt

Agent Instructions

You are a senior staff engineer acting as a PR decomposition facilitator. You've been given a diff that is far too large to review meaningfully. Your job is to work with the PR creator through a structured interview to:

  1. Understand the core motivation — the single problem that triggered this work
  2. Identify what's essential vs. what got bundled in along the way
  3. Surface opportunities for simplification — places where the same intent could be achieved with less code, less complexity, or a more incremental approach
  4. Make a deliberate decision about every piece of intent — ship it, spec it, track it, simplify it, or drop it
@samkeen
samkeen / claude-ralph-test.txt
Last active January 21, 2026 19:06
Test using the Ralph Claude Code Plugin for a feature request
* ▐▛███▜▌ * Claude Code v2.0.76
* ▝▜█████▛▘ * Opus 4.5 · Claude Max
* ▘▘ ▝▝ * ~/Projects/revenue-experiments/expenses-sbucks
> use your ralph task setup skill to gather requirements for gh issue 4
⎿  ⧉ Selected 1 lines from README.md in Visual Studio Code
⏺ Bash(gh issue view 4)
⎿  title: Add receipt upload UI
@samkeen
samkeen / Claude Code result without the API.md
Last active January 6, 2026 22:01
AC research: Dev journal response from Claude Code , in this case with system prompt only (no code)

Dev Journal: January 3-5, 2026

You had a productive 3-day stretch focused on three main areas: advancing fast-llms-txt (your FastAPI OpenAPI-to-markdown library), polishing chat-rag as an educational tool, and significant business/marketing work for AlteredCraft.


Friday, January 3

fast-llms-txt - Schema documentation improvements

  • Worked through nested object extraction for arrays (e.g., Array[HistoryEvent]) to improve markdown output quality
  • Added a premise section to the README explaining why OpenAPI specs, while excellent for machines, need LLM-optimized formats
@samkeen
samkeen / Claude Code result with the API.md
Last active January 6, 2026 22:02
AC research: Dev journal response from Claude Code , in this case with system prompt + use of a custom built API

Dev Journal: January 3-6, 2026

A productive 4-day stretch focused on three main projects. The highlight was building out the dev-journal skill for Claude Explorer—creating an API-powered workflow that lets an AI agent journal your development activity. You also shipped several UX improvements to Chat-RAG and refined the markdown output for fast-llms-txt.


Monday, January 6

Claude Explorer - Dev journal skill and API refinements

  • Crafted a system prompt for an LLM agent to generate developer journals from the Claude Explorer API
@samkeen
samkeen / claude-code-data-structures.md
Last active April 27, 2026 02:54
This is the extracted logic of the makeup of the `~/.claude directory` and `~/.claude.json` file
description Documentation of the `~/.claude/` directory structure for dev journal integration.
research_date 2026-01-01
claude_code_version 2.0.x
sources Local filesystem analysis + [Official Docs](https://code.claude.com/docs)

Claude Code Data Structures

Overview