Get the latest tech news

Show HN: Min.js style compression of tech docs for LLM context


Min.js Style Compression of Tech Docs for LLM Context - marv1nnnnn/llm-min.txt

If you've ever used an AI coding assistant (like GitHub Copilot, Cursor, or others powered by Large Language Models - LLMs), you've likely encountered situations where they don't know about the latest updates to programming libraries. Common workflows for core functionality Step-by-step sequences involving object creation, configuration, method invocation, and error handling Each pattern has a descriptive name (e.g., U_BasicCrawl) with numbered steps ( U_BasicCrawl.1, U_BasicCrawl.2) It prioritizes programmatically relevant details (classes, methods, parameters, return types, core usage patterns) while deliberately omitting explanatory prose, conceptual discussions, and peripheral information.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of LLM

LLM

Photo of tech docs

tech docs

Photo of LLM context

LLM context

Related news:

News photo

EM-LLM: Human-Inspired Episodic Memory for Infinite Context LLMs

News photo

Writing an LLM from scratch, part 13 – attention heads are dumb

News photo

Fine-tuning vs. in-context learning: New research guides better LLM customization for real-world tasks