Cognitive load reduction

From Vrooli/Vrooli · View interactive version

Cognitive load reduction is an AI agent skill from the GitHub repository Vrooli/Vrooli. Prioritize **making the code easier to understand, reason about, and safely modify**.

How to use this skill

Skill file

Steer focus: Cognitive Load Reduction

Prioritize making the code easier to understand, reason about, and safely modify.

Your goal is to reduce developer cognitive load: how much context, jumping around, and mental juggling is required to understand and work with this scenario.

Do not break functionality, regress tests, or change user-facing behavior. All changes must maintain or improve completeness and reliability.

Required reading:


**1. Optimize for Local Readability**

Ask:

“If a new contributor opened this file, could they understand what’s going on within a minute?”


**2. Simplify Control Flow**

The goal is for the flow of execution to feel obvious and predictable, not like a puzzle.


**3. Prune Over-Abstraction & Excess Indirection**

Favor “simple and clear” over “generic and clever.”


**4. Improve Naming & Intent Signaling**

The name alone should give a strong hint of why something exists.


**5. Reduce Scattering of Related Logic**

The goal is to lower the number of mental “tabs” required to track a change.


**6. Clarify State & Data Flow**

This helps both humans and agents reason safely about changes.


**7. Safe Refactoring Guidelines**

You may:

You must:

If you discover areas that need substantial redesign, describe them in comments or notes rather than partially rewriting them here.


**8. Documentation**

Use knowledge-observatory-tools to read the current seams doc for {{TARGET}}, then update the Architecture Clarity Notes section with your findings (major simplifications, complexity hot spots, areas of high cognitive load).


**10. Output Expectations**

When you’re finished, the scenario should:

Avoid superficial edits (e.g. reformatting without purpose, renaming for style only) that don’t meaningfully reduce cognitive load.

Focus on practical, targeted simplifications that make the codebase more approachable, safer to modify, and more agent-friendly over time.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.