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.
O que a skill ensina
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.
O que faz
- Decide which Pinia state to sync
- Avoid watcher writes to synced state
- Assign leader-owned actions and persistence
- Test multi-window state sync
Sobre
- Publicador
- Moeru AI
- Ferramenta
- Design de frontend
Instalação
O projeto não documenta passos de instalação que tenhamos conseguido confirmar. Veja as instruções do próprio projeto
O que tem dentro
- agents/openai.yaml
Servidores MCP e skills podem executar código no seu computador e agir sobre os seus dados. Revise o código-fonte antes de instalar.
Detalhes
| Fato | Valor | Fonte |
|---|---|---|
| Tipo | Skill | |
| Ferramenta | Design de frontend | |
| Publicador | Moeru AI | fonte |
| Status oficial | Não informado na documentação | |
| Exige chave de API ou login | Não informado na documentação | |
| Inclui scripts | Não | fonte |
| Plataformas | Não informado na documentação | |
| Clientes de IA | Não informado na documentação | |
| Licença | MIT | fonte |
| Preço | Não informado na documentação | |
| Atividade | Último commit em 13 de nov. de 202651.383 estrelas no GitHubDados de download indisponíveis (não está no npm nem no PyPI) | fonte |
| Links | Repositório Site |
Fontes
- Arquivo da skill (SKILL.md)github.com/moeru-ai/airi · Comprova: Inclui scripts10 de nov. de 2026
- Repositório no GitHubgithub.com/moeru-ai/airi · Comprova: Licença, Publicador, Atividade13 de nov. de 2026
- Pasta no repositório (enforce-rules-for-pinia-synced)github.com/moeru-ai/airi · Comprova: Inclui scripts10 de nov. de 2026