Skip to content

leric/leric.github.io

Repository files navigation

Context Cost

Site

Source repository for Context Cost — essays on software design, context cost, and AI-assisted engineering, plus the online book Context Minimization Principle (CMP).

By Leric Zhang.

Discussions — comments & feedback

This repository’s GitHub Discussions is the public forum for everything published on contextcost.dev. The static site has no built-in comment widget; conversation happens here instead.

What you read on the site How to discuss it
CMP chapters Each chapter footer links to Discuss this chapter → same Discussions space. Start a thread per chapter, or reply to an existing one.
Blog essays Open a new discussion and mention the essay title or link (e.g. https://www.contextcost.dev/blog/…) so others can find the thread.

Use Discussions for questions, counterarguments, examples from your own work, typo reports, and ideas that might become follow-up essays or CMP revisions. Pull requests are still the right channel for direct text fixes; Discussions is for dialogue that does not need to land as a patch immediately.

Live site

Home https://www.contextcost.dev
Essays https://www.contextcost.dev/blog
CMP book https://www.contextcost.dev/cmp
Blog RSS https://www.contextcost.dev/rss.xml
CMP RSS https://www.contextcost.dev/research/cmp/rss.xml
Discussions https://github.com/leric/leric.github.io/discussions

What's in this repo

  • Blog — Markdown/MDX essays under src/content/blog/
  • CMP research — structured chapters under src/content/research/cmp/ (also served at /cmp/)

Topics include software architecture, domain-driven design, AI coding agents, context engineering, and the CMP research program.

Tech stack

  • Astro 5 (static output)
  • Content collections with Zod schemas (src/content.config.ts)
  • MDX, GFM, math via remark-math + KaTeX
  • Sitemap and RSS integrations

Related repositories

  • leric/cmp — primary CMP paper / research source (canonical development may happen there; this repo hosts the published web edition).

License

Scope License
CMP book content (src/content/research/cmp/, /cmp/ pages) CC BY 4.0 — see LICENSE-CMP.md
Site code, config, and non-CMP content All rights reserved unless otherwise noted in file headers

Author

About

My Blog

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors