Skip to content

Instantly share code, notes, and snippets.

View romgenie's full-sized avatar

Timothy Gregg romgenie

View GitHub Profile
@romgenie
romgenie / llm-wiki.md
Created April 6, 2026 18:14 — forked from karpathy/llm-wiki.md
llm-wiki

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@romgenie
romgenie / feature-development-workflow.md
Last active April 5, 2026 00:01
Polished feature development workflow with Mermaid diagram

Feature Development Workflow

Keep main stable. Treat feature branches as the default path for any meaningful change.

Core Rules

  1. Create a feature branch before starting implementation work.
  2. Use the codex/ prefix when it fits the task, such as codex/add-spectator-delay.
  3. Keep a todo.md updated while the work is in progress.
  4. Stay on the branch that matches the current task.
@romgenie
romgenie / example_coding_workflow.md
Last active March 29, 2026 16:53
Example coding workflow - STS2 MCP wrapper development flow

Development Workflow


Architecture

graph LR
    subgraph HOST ["Host (LIGHTHOUSE)"]
        W[sts2-mcp-wrapper/<br/>widgets + .env]