uf-gzj/openspace-claude-evolution/react-localstorage-keyboard-nav
Claude Code and agent skill by uf-gzj/openspace-claude-evolution
- community
Checking that the SKILL.md file is still in the repository.
Create React components with localStorage persistence and keyboard navigation support
Install
npx vskill@latest install uf-gzj/openspace-claude-evolution/react-localstorage-keyboard-navSKILL.md
The same SKILL.md was published earlier as uf-gzj/openspace-claude-evolution/react-localstorage-keyboard-nav.
React Components with localStorage Persistence & Keyboard Navigation
This skill guides you through creating reusable React components that:
- Persist state to localStorage
- Implement keyboard navigation
- Follow modal/command palette patterns
Core Pattern
Implementation Steps
- Create Component Scaffolding
``bash mkdir -p src/components/{Modal,CommandPalette} touch src/components/Modal/SettingsModal.tsx touch src/components/CommandPalette/CommandPalette.tsx ``
- Implement localStorage Persistence
``typescript // SettingsModal.tsx const SettingsModal = () => { const [settings, setSettings] = useLocalStorage('app-settings', DEFAULT_SETTINGS); // ... modal implementation }; ``
- Add Keyboard Navigation
``typescript // CommandPalette.tsx const CommandPalette = ({ commands }) => { const { selectedIndex } = useKeyboardNav(commands, (cmd) => cmd.action()); // ... render commands with highlighted selectedIndex }; ``
- Export Components
``typescript // src/components/index.ts export * from './Modal/SettingsModal'; export * from './CommandPalette/CommandPalette'; ``
Best Practices
- Create a
settings-keys.tsfile to manage localStorage keys - Use TypeScript interfaces for settings/commands
- Implement proper focus management for accessibility
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingshowcase/skills/react-localstorage-keyboard-nav/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/uf-gzj/openspace-claude-evolution/react-localstorage-keyboard-nav)