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.
Was der Skill vermittelt
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.
Funktionen
- Decide which Pinia state to sync
- Avoid watcher writes to synced state
- Assign leader-owned actions and persistence
- Test multi-window state sync
Überblick
- Herausgeber
- Moeru AI
- Tool
- Frontend-Design
Installation
Das Projekt dokumentiert keine Installationsschritte, die wir bestätigen konnten. Zur Anleitung des Projekts
Was enthalten ist
- agents/openai.yaml
MCP-Server und Skills können Code auf deinem Rechner ausführen und auf deine Daten zugreifen. Prüfe den Quellcode, bevor du etwas installierst.
Details
| Angabe | Wert | Quelle |
|---|---|---|
| Typ | Skill | |
| Tool | Frontend-Design | |
| Herausgeber | Moeru AI | Quelle |
| Offizieller Status | In der Dokumentation nicht angegeben | |
| Braucht API-Key oder Anmeldung | In der Dokumentation nicht angegeben | |
| Enthält Skripte | Nein | Quelle |
| Plattformen | In der Dokumentation nicht angegeben | |
| KI-Clients | In der Dokumentation nicht angegeben | |
| Lizenz | MIT | Quelle |
| Preis | In der Dokumentation nicht angegeben | |
| Aktivität | Letzter Commit am 13. Nov. 202651.383 GitHub-SterneKeine Download-Daten verfügbar (nicht auf npm oder PyPI) | Quelle |
| Links | Repository Website |
Quellen
- Skill-Datei (SKILL.md)github.com/moeru-ai/airi · Belegt: Enthält Skripte10. Nov. 2026
- GitHub-Repositorygithub.com/moeru-ai/airi · Belegt: Lizenz, Herausgeber, Aktivität13. Nov. 2026
- Ordner im Repository (enforce-rules-for-pinia-synced)github.com/moeru-ai/airi · Belegt: Enthält Skripte10. Nov. 2026