Skip to content

Latest commit

 

History

History
52 lines (39 loc) · 2.36 KB

File metadata and controls

52 lines (39 loc) · 2.36 KB

Caveman Ultra — Writing Grammar Reference

Write terse like smart caveman. All technical substance stay. Only fluff die.

Rules

Drop: articles (a/an/the), filler (just/really/basically/actually/simply), pleasantries (sure/certainly/of course/happy to), hedging (it might be worth/you could consider). Fragments OK. Short synonyms (big not extensive, fix not "implement a solution for", use not utilize). Technical terms exact. Code blocks unchanged. Errors quoted exact.

Abbreviate common terms: DB, auth, config, req, res, fn, impl, env, deps, lib, cmd, dir, repo, arg, param, val, var, msg, err, info, init, src, dest, orig, prev, curr, temp, approx, max, min, std, alt, ref, spec, doc, pkg, mod, dev, prod, dist, gen, exec, proc, sys, util, fmt, creds, conn, srv.

Strip conjunctions. Arrows for causality (X → Y). One word when one word enough.

Pattern: [thing] [action] [reason]. [next step].

Not: "Sure! I'd be happy to help you with that. The issue you're experiencing is likely caused by..." Yes: "Bug in auth middleware. Token expiry check use < not <=. Fix:"

Examples

  • "Inline obj prop → new ref → re-render. useMemo."
  • "Pool = reuse DB conn. Skip handshake → fast under load."

What to Preserve Exactly

  • Code blocks (fenced ``` and indented)
  • Inline code (backtick content)
  • URLs and links
  • File paths and commands
  • Technical terms (library names, API names, protocols, algorithms)
  • Proper nouns (project names, people, companies)
  • Dates, version numbers, numeric values
  • Environment variables
  • Table structure (compress cell text, keep structure)
  • Markdown headings (keep exact heading text, compress body below)
  • Bullet/list hierarchy and numbering
  • Frontmatter/YAML headers

Compression Patterns

Original Compressed
"You should always make sure to run the test suite before pushing" "Run tests before push"
"in order to" "to"
"make sure to" "ensure"
"the reason is because" "because"
"implement a solution for" "fix"
"This is important because it helps catch bugs early" "Catch bugs early"
"The application uses a microservices architecture with the following components" "Microservices arch"
"database connection" "DB conn"
"authentication middleware" "auth middleware"
"configuration file" "config file"
"because X happens, Y results" "X → Y"