blikblum/firebase-starter/manage-reatom-stores
Claude Code and agent skill by blikblum/firebase-starter
- community
Checking that the SKILL.md file is still in the repository.
Create or update Reatom stores in this repo while preserving the shared base domain boundary. Use when adding a store under `src/stores`, changing store state shape, adding computed atoms, or coordinating related service updates.
Install
npx vskill@latest install blikblum/firebase-starter/manage-reatom-storesSKILL.md
The same SKILL.md was published earlier as blikblum/firebase-starter/manage-reatom-stores.
Manage Reatom Stores
Follow these steps to create or update stores using the existing appSession patterns.
1) Separate domain values from application state
Import shared entities and input contracts from their base/* domain module. Define local interfaces beside the store only for application state such as loading, saving, selection, pagination, and errors. Keep React-app-specific session contracts in src/api; do not place shared domain types or rules there.
Example:
2) Create or update the store atom
Add a new file in src/stores/* or update the existing atom.
Example:
Keep initial state explicit, and prefer small, focused atoms.
Add name strings as the second parameter to atom and computed for easier debugging.
3) Add or update service functions (if needed)
If store updates involve side effects or async logic, place functions in src/stores/*.service.ts and mutate state via *.set. Follow the manage-app-services skill for Firebase mapping, input parsing, subscription lifecycle, and error handling.
Validate service arguments and external data before placing domain values in an atom. Firebase snapshots, API responses, route input, and other untrusted values must be parsed with a schema exported by base; do not cast them to a domain type. Keep parsing and error handling in the service rather than the atom or consuming component.
4) Update usages
Search for all usages and update them to match the new store shape.
Use:
rg -n "moviesListAtom|movieCountAtom|fetchMovies" src
After updating TypeScript store code, run:
pnpm --filter react-reatom-shadcn check:typespnpm --filter base exec tsc --noEmitwhen a shared schema or type changes
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 repositoryCheckingpackages/react-reatom-shadcn/.agents/skills/manage-reatom-stores/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/blikblum/firebase-starter/manage-reatom-stores)