From 08facfdbdc4d84b041557d7bbfff2e407a6a26e3 Mon Sep 17 00:00:00 2001 From: Florian BRUNIAUX Date: Mon, 12 Jan 2026 10:37:09 +0100 Subject: [PATCH] feat(llm-ref): add machine-optimized YAML index for Claude Code - Create claude-code-reference.yaml (~2K tokens vs 70K full guide) - Add deep_dive section with 38 line references to main guide - Structure: decision tree first, then prompting formula, commands, etc. - Update README.md with LLM Reference in Core Documentation - Update llms.txt with Machine-Optimized Reference section - Bump version to 2.9.2 Use case: Claude Code self-reference for fast user question answering Co-Authored-By: Claude Opus 4.5 --- CHANGELOG.md | 18 +++ README.md | 3 +- claude-code-reference.yaml | 281 +++++++++++++++++++++++++++++++++++++ llms.txt | 10 ++ 4 files changed, 311 insertions(+), 1 deletion(-) create mode 100644 claude-code-reference.yaml diff --git a/CHANGELOG.md b/CHANGELOG.md index b29ac9a..0d2084c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,24 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ## [Unreleased] +## [2.9.2] - 2026-01-12 + +### Added +- **claude-code-reference.yaml** - Machine-optimized LLM index (~2K tokens) + - **Decision tree** as first section (most used lookup) + - **Prompting formula** (WHAT/WHERE/HOW/VERIFY pattern) + - **38 deep_dive line references** to english-ultimate-claude-code-guide.md + - 22 sections covering: commands, shortcuts, CLI flags, context management, memory files, MCP servers, think levels, cost optimization, anti-patterns, troubleshooting + - Flat YAML structure (max 1 level nesting) for optimal LLM parsing + - ~97% token reduction vs full guide (2K vs 70K tokens) +- **README.md** - Added LLM Reference row in Core Documentation table +- **llms.txt** - Added Machine-Optimized Reference section with YAML file description + +### Stats +- 1 new file created (claude-code-reference.yaml, 282 lines) +- 2 files modified (README.md, llms.txt) +- Use case: Claude Code self-reference for fast user question answering + ## [2.9.1] - 2026-01-12 ### Fixed diff --git a/README.md b/README.md index 2ead72d..358f114 100644 --- a/README.md +++ b/README.md @@ -139,6 +139,7 @@ curl -sL https://raw.githubusercontent.com/FlorianBruniaux/claude-code-ultimate- |------|---------|-----------------| | **[Ultimate Guide](./english-ultimate-claude-code-guide.md)** | 8500+ lines, 32K+ words, 10 sections | ~3 hours (or by section) | | **[Cheat Sheet](./cheatsheet-en.md)** | 1-page printable reference | 5 minutes | +| **[LLM Reference](./claude-code-reference.yaml)** | Machine-optimized index (~2K tokens) | For Claude/AI assistants | | **[Setup Audit](./claude-setup-audit-prompt.md)** | Optimize your configuration | ~10 minutes | | **[Examples Library](./examples/)** | Production-ready templates | Browse as needed | @@ -315,7 +316,7 @@ If this guide saved you time, helped you master Claude Code, or inspired your wo --- -*Version 2.9.1 | January 2026 | Crafted with Claude* +*Version 2.9.2 | January 2026 | Crafted with Claude*