fec-accessibility-chec…
Use when reviewing or improving frontend accessibility, semantic structure, keyboard support, focus management, ARIA labels,…
Use when choosing, implementing, or reviewing browser storage such as localStorage, sessionStorage, IndexedDB, cookies, client persistence, offline data, secure storage, or cleanup strategy; Chinese triggers include browser storage, client persistence.
Claude Code
$ npx -y skills add bovinphang/frontend-craft --skill fec-browser-storage --agent claude-code
Codex
$ npx skills add bovinphang/frontend-craft --skill fec-browser-storage -a codex -y
Cursor
$ npx skills add bovinphang/frontend-craft --skill fec-browser-storage -a cursor -y
Gemini CLI
$ npx skills add bovinphang/frontend-craft --skill fec-browser-storage -a gemini-cli -y
GitHub Copilot
$ npx skills add bovinphang/frontend-craft --skill fec-browser-storage -a github-copilot -y
OpenCode
$ npx skills add bovinphang/frontend-craft --skill fec-browser-storage -a opencode -y
Windsurf
$ npx skills add bovinphang/frontend-craft --skill fec-browser-storage -a windsurf -y
name: fec-browser-storage description: Use when choosing, implementing, or reviewing browser storage such as localStorage, sessionStorage, IndexedDB, cookies, client persistence, offline data, secure storage, or cleanup strategy; Chinese triggers include browser storage, client persistence.
Choose the appropriate client storage solution based on data size, security requirements, and lifecycle.
1. First determine the data sensitivity, volume, life cycle, whether it needs to be spread across tabs, and whether it needs to be sent with the request. 2. Use localStorage for a small amount of non-sensitive preferences; use sessionStorage for tab-level temporary data; use IndexedDB for large amounts of structured data or offline caching; prioritize httpOnly cookies for authentication status. 3. Encapsulate unified key prefix, JSON parse/stringify, exception handling, expiration cleanup and quota protection. 4. Sensitive data is processed according to security rules, and plain text tokens, passwords, and credit card information are not put into storage that can be read by JS. 5. Review privacy mode, storage quotas, sanitization policies, and cross-browser compatibility.
Load [references/storage-patterns.md](references/storage-patterns.md) when it comes to storage selection tables, localStorage/sessionStorage wrappers, IndexedDB examples, cookie helpers, and sensitive data rules.
Produce a unified storage/cookie/db package, the key has a namespace, the data has an expiration or cleanup policy, and sensitive data only enters the appropriate security boundary.
frontend-craft is a universal frontend plugin that brings the same opinionated engineering standards to all 15 AI coding assistants.
Use when reviewing or improving frontend accessibility, semantic structure, keyboard support, focus management, ARIA labels,…
Use when absorbing ideas, capabilities, workflows, architecture, quality systems, ecosystem extensions, or engineering practices…
Use when designing, implementing, or reviewing frontend-to-backend API integration, typed API clients, REST/tRPC/OpenAPI client…
Use when frontend work needs to communicate data, action, state, permission, validation, or business-rule needs to backend teams…
Use when building or reviewing Canvas 2D, Three.js/WebGL, React Three Fiber, GLSL shaders, ShaderToy-to-WebGL adaptation, 2D/3D…
Use when the user asks for general frontend code review, PR review, merge-readiness assessment, architecture maintainability,…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.