enforce-rules-for-pinia-synced
A contributor skill in the AIRI repository covering Vue state stores built with Pinia whose state is shared between Electron windows by the pinia-plugin-synced package.
What the skill teaches
A contributor skill in the AIRI repository covering Vue state stores built with Pinia whose state is shared between Electron windows by the pinia-plugin-synced package. It explains that the plugin copies snapshots and routes actions through a leader window rather than sharing Vue refs, so only stores that truly need cross-window ownership should sync, and only small, cloneable source-of-truth state. Watchers must not write synced state directly; they may call an idempotent, awaited synced action instead. Side-effecting actions belong to the leader and must be async, persistence needs one explicit owner, every renderer must set its leadership mode, and a multi-window test should show that remote snapshots do not trigger local writes.
Capabilities
- Decide which Pinia state to sync
- Avoid watcher writes to synced state
- Assign leader-owned actions and persistence
- Test multi-window state sync
About
- Publisher
- Moeru AI
- Tool
- Frontend design
Install
The project doesn't document install steps that we could confirm. See the project's own instructions
What's inside
- agents/openai.yaml
MCP servers and skills can run code on your computer and act on your data. Review the source before installing.
Details
| Fact | Value | Source |
|---|---|---|
| Type | Skill | |
| Tool | Frontend design | |
| Publisher | Moeru AI | source |
| Official status | Not stated in its documentation | |
| Needs an API key or sign-in | Not stated in its documentation | |
| Includes scripts | No | source |
| Platforms | Not stated in its documentation | |
| AI clients | Not stated in its documentation | |
| Licence | MIT | source |
| Pricing | Not stated in its documentation | |
| Activity | Last commit Nov 13, 202651,383 GitHub starsDownload data not available (not on npm or PyPI) | source |
| Links | Repository Website |
Sources
- Skill file (SKILL.md)github.com/moeru-ai/airi · Backs: Includes scriptsNov 10, 2026
- GitHub repositorygithub.com/moeru-ai/airi · Backs: Licence, Publisher, ActivityNov 13, 2026
- Folder in the repository (enforce-rules-for-pinia-synced)github.com/moeru-ai/airi · Backs: Includes scriptsNov 10, 2026