bovinphang/frontend-craft/fec-browser-storage
Claude Code and agent skill by bovinphang/frontend-craft
- community
Checking that the SKILL.md file is still in the repository.
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.
Install
npx vskill@latest install bovinphang/frontend-craft/fec-browser-storageSKILL.md
The same SKILL.md was published earlier as bovinphang/frontend-craft/fec-browser-storage.
Browser storage
Purpose
Choose the appropriate client storage solution based on data size, security requirements, and lifecycle.
Procedure
- 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.
- 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.
- Encapsulate unified key prefix, JSON parse/stringify, exception handling, expiration cleanup and quota protection.
- 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.
- Review privacy mode, storage quotas, sanitization policies, and cross-browser compatibility.
Detailed reference
Load references/storage-patterns.md when it comes to storage selection tables, localStorage/sessionStorage wrappers, IndexedDB examples, cookie helpers, and sensitive data rules.
Constraints
- localStorage/sessionStorage is a synchronous API, and big data reading and writing will block the main thread.
- Except for httpOnly cookies, client-side storage can be read by XSS.
- Cookies are automatically carried with each request and are not suitable for big data.
- There are browser differences in IndexedDB quota and privacy mode behavior.
- Do not pass token or sensitive data in the URL.
Expected Output
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.
Security
- Security scanPassed, 95 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 repositoryCheckingskills/fec-browser-storage/SKILL.md
Popularity
- Repository stars
- 22
- Repository forks
- 3
- Repository npm downloads, 7 days
- 248
- 7-day trend score
- 27
Stars and forks are for the whole GitHub repository, not this skill alone. Downloads are for the repository's npm package. Refreshed 2 Oct 2026, a month ago.
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/bovinphang/frontend-craft/fec-browser-storage)