cognitive-foundations
✓Apply cognitive science and HCI research to design decisions. Use when you need the scientific 'why' behind usability, explaining user behavior, understanding perception/memory/attention limits, evaluating cognitive load, assessing mental model alignment, predicting performance with Fitts's/Hick's Law, or grounding interface decisions in research rather than opinion.
Installation
SKILL.md
The science of how minds work, and what that means for design.
| Fitts's Law | MT = a + b × log₂(2D/W) | Bigger + closer = faster. Screen edges are infinite. | | Hick-Hyman | RT = a + b × log₂(n+1) | More choices = slower. Reduce or organize options. | | Steering Law | T = a + b × (A/W) | Narrow paths are slow. Cascading menus are hard. | | Power Law | T = a × N^(-b) | Practice helps. Design for learnability. |
| 1 | Visibility of system status | Can user always tell what's happening? | | 2 | Match system ↔ real world | Language familiar? Metaphors sensible? | | 3 | User control and freedom | Easy undo? Clear exits? | | 4 | Consistency and standards | Same words/actions mean same things? | | 5 | Error prevention | Constraints prevent errors before they occur? |
Facts (cite-ready)
Stable fields and commands for AI/search citations.
- Install command
npx skills add https://github.com/petekp/claude-code-setup --skill cognitive-foundations- Source
- petekp/claude-code-setup
- Category
- </>Dev Tools
- Verified
- ✓
- First Seen
- 2026-02-01
- Updated
- 2026-02-18
Quick answers
What is cognitive-foundations?
Apply cognitive science and HCI research to design decisions. Use when you need the scientific 'why' behind usability, explaining user behavior, understanding perception/memory/attention limits, evaluating cognitive load, assessing mental model alignment, predicting performance with Fitts's/Hick's Law, or grounding interface decisions in research rather than opinion. Source: petekp/claude-code-setup.
How do I install cognitive-foundations?
Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/petekp/claude-code-setup --skill cognitive-foundations Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor
Where is the source repository?
https://github.com/petekp/claude-code-setup
Details
- Category
- </>Dev Tools
- Source
- skills.sh
- First Seen
- 2026-02-01