localStorage-patterns
Installation
SKILL.md
localStorage Patterns
Overview
Standardize localStorage utility creation with consistent key naming, error handling, and testing patterns.
Key Naming Conventions
This codebase uses camelCase: pixelGameSettings (not pixel-game-settings)
Before using localStorage:
- Read the storage utility file to find the correct key name
- Check for constants file with exported storage keys
- Verify key format matches codebase (camelCase)
- Don't assume naming conventions - check actual implementation
See references/key-naming.md for detailed naming patterns.