From 072d6d6f9795be73187ab5bd4dea2ad5ad30e6b5 Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 7 Nov 2025 03:24:23 +0000 Subject: [PATCH] Add CLAUDE.md documentation for future development Created comprehensive guide covering: - Static site architecture with no build process - Single-file pattern for each tool - Common FileReader and text processing patterns - Deployment via GitHub Pages/Jekyll - Creative writing context and tool descriptions --- CLAUDE.md | 94 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 94 insertions(+) create mode 100644 CLAUDE.md diff --git a/CLAUDE.md b/CLAUDE.md new file mode 100644 index 0000000..bdaefe9 --- /dev/null +++ b/CLAUDE.md @@ -0,0 +1,94 @@ +# CLAUDE.md + +This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository. + +## Project Overview + +Text-Kitchen is a suite of browser-based text manipulation tools designed for creative writers to remix, analyze, and transform text. The project consists of standalone HTML pages with embedded JavaScript that process .txt files entirely client-side. + +## Development Environment + +This is a **static website with no build process, dependencies, or package manager**. All files are served directly to the browser: + +- No `npm install`, `build`, or `test` commands exist +- No transpilation or bundling required +- Simply open HTML files in a browser to test locally +- Alternatively, use a local server: `python -m http.server 8000` + +## Deployment + +The site deploys automatically to GitHub Pages via Jekyll when changes are pushed to the `main` branch. The GitHub Actions workflow (`.github/workflows/jekyll-docker.yml`) handles this using a Docker container. + +## Code Architecture + +### Single-File Pattern +Each tool is completely self-contained in its own HTML file with three sections: +1. **Navigation bar** - Links to all tools (update when adding new tools) +2. **UI markup** - File upload controls, options, and output display +3. **Embedded `