agentleFS
tanbopptanbopp/ai-development-framework/.agents/skills/cognitive-load-auditor/SKILL.md

cognitive-load-auditor

Skill1 starsChanged 19 days agoMITView on GitHub

Audits every page and modal against progressive disclosure rules (Rule of Five, 7-field split, redundancy test, single primary CTA) in Phase 7 and writes Cognitive Load verdicts to docs/tasks/AUDIT.md.

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Verify no single viewport displays more than 5 key metrics or primary form fields without progressive disclosure (tabs, accordions, …

    line 17
  2. Distinctive:

    If any form has more than 7 fields, enforce splitting it into steps or sections with clear headings.

    line 19
  3. Distinctive:

    Verify there is exactly one primary action per view, and that all secondary actions are visually subordinate (secondary, outline, ghost, or …

    line 23
  4. Very specific:

    If density, redundancy, or action hierarchy fails thresholds, FAIL the audit (blocking design-audit sign-off and Phase 8 delivery) and …

    line 25

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Cognitive Load Auditor

Trigger

Phase 7 (Audit, mandatory before design-audit passes) and mandatory Pre-Phase 8 Interaction Gate before Phase 8 (Delivery).

Process

  1. Inventory Every Page and Modal:
    • Scan every page, route, and modal dialog. Count visible interactive form fields, key metrics, displayed summary values, and primary actions.
  2. Rule of Five:
    • Verify no single viewport displays more than 5 key metrics or primary form fields without progressive disclosure (tabs, accordions, steppers, or "Show more" toggles).
  3. Density Test:
    • If any form has more than 7 fields, enforce splitting it into steps or sections with clear headings.
  4. Redundancy Test:
    • Flag any information displayed twice on the same screen without a clear reason (for example, showing total price in both the header and the footer).
  5. Action Clarity:
    • Verify there is exactly one primary action per view, and that all secondary actions are visually subordinate (secondary, outline, ghost, or link styles).
  6. Fail and Propose Progressive-Disclosure Refactor:
    • If density, redundancy, or action hierarchy fails thresholds, FAIL the audit (blocking design-audit sign-off and Phase 8 delivery) and propose a concrete progressive-disclosure refactor before returning to Phase 6.

Output Contract

docs/tasks/AUDIT.md updated with a ## Cognitive Load section listing each page/modal, its visible element count (fields, metrics, primary actions), redundancy findings, and the binary PASS/FAIL verdict.

Checklist

  • Scanned every page and modal for visible fields, metrics, and actions
  • Enforced Rule of Five (<= 5 key metrics or primary form fields without progressive disclosure)
  • Enforced Density Test (> 7 form fields split into steps or headed sections)
  • Flagged and resolved duplicate/redundant on-screen information
  • Verified exactly one visually dominant primary action per view
  • Written ## Cognitive Load section with per-page counts and verdict to docs/tasks/AUDIT.md

Prohibitions

  • Allowing cluttered forms (> 7 ungrouped fields) or metric walls (> 5 metrics without progressive disclosure) to ship.
  • Allowing competing primary CTA buttons on the same view or skipping the ## Cognitive Load section in docs/tasks/AUDIT.md.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.