engremran07/gsmvault/alp-store-actions
Claude Code and agent skill by engremran07/gsmvault
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Store actions and methods. Use when: mutating global store state, defining store methods for add/remove/toggle, async store operations with fetch.
Install
npx vskill@latest install engremran07/gsmvault/alp-store-actionsSKILL.md
The same SKILL.md was published earlier as engremran07/gsmvault/alp-store-actions.
Alpine Store Actions
When to Use
- Defining methods that mutate global store state (add, remove, toggle, set)
- Performing async operations (fetch) that update store data
- Encapsulating business logic in store methods rather than inline templates
Patterns
Basic CRUD Actions
Async Action with Fetch
Using Actions in Templates
Anti-Patterns
| Pattern | Problem | Fix | |
|---|---|---|---|
| Mutation logic in templates | Hard to debug, duplicated | Move to store methods | |
fetch() without CSRF header | 403 on POST/PUT/DELETE | Include X-CSRFToken header | |
| No error handling in async actions | Silent failures | Add try/catch, set error state | |
Direct this.items.splice() in template | Reactivity issues | Use store method with reassignment |
Red Flags
- Inline mutation logic duplicated across multiple templates
- Async actions without loading/error state management
- CSRF token missing on mutating fetch calls
Quality Gate
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 repositoryChecking.github/skills/alp-store-actions/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/engremran07/gsmvault/alp-store-actions)