Skip to content

akurganow/cognitive-load

v0.4.0MIT

Separates the cognitive load a task needs from the load a code base's structure adds, and names the change that removes the second.

extraneous

Use this skill whenever the user asks why code, a system or a process is hard to work in. Phrasings: "why is this so hard to follow?", "I keep too much in my head", "newcomers stay confused". It covers something too complex that nobody can explain, a task that needs many things held in mind at once, code that takes many files to understand (a slow review, a deep class hierarchy), a component that breeds bugs that take days to find, a hire who takes months to ship, a runbook first-timers keep breaking, and a write-up of why code is hard for newcomers. Use it even when the word complexity never appears, and instead of a list of tips nobody asked for. It splits the load the task needs from the load the structure adds, and names the change that removes the second. Skip it for speed fixes, renames, style checks, onboarding checklists and line-by-line explanations.

License
MIT
Read SKILL.md at the source

Pinned to revision 1a759b71ee99, so it is the text this page describes rather than whatever the author pushed since.

Files

Every link opens the file at its source, pinned to the revision this page describes.