Context Minimization Principle

Software design is for modification.

Correct modification requires sufficient context.

Good design makes that context cheaper to acquire.

For the modifications a system must realistically support, a design is better when the sufficient context required for correct modification is cheaper to acquire.

Citation

For academic or technical writing, cite the fixed Zenodo preprint:

@misc{zhang2026cmp,
  author  = {Zhang, Lianghui},
  title   = {Context Minimization Principle},
  year    = {2026},
  version = {v1.0.1},
  doi     = {10.5281/zenodo.21331759},
  url     = {https://doi.org/10.5281/zenodo.21331759},
  note    = {Preprint},
}

Zenodo preprint (DOI) · GitHub repository · CITATION.cff

Put CMP into your agent

CMP is not only a book — it ships as two Agent Skills you can install in Cursor, Claude Code, and other coding agents: a pre-task planner and a post-task reflection loop.

CMP Skills — download & install