Skip to main content

wrdn-effect-atom-reactivity-keys

Add reactivityKeys to effect-atom write mutation calls. Use when lint flags a useAtomSet mutation call that mutates data without invalidation keys.

ソース情報

リポジトリ
UsefulSoftwareCo/executor
ソースの最終更新活動
2026年5月5日 23:06
検出された SKILL.md の言語
英語
スター
4,150
フォーク
364

インストール方法

デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。

ソースファイルを確認

インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。

SKILL.md を表示中

SKILL.md
ソースの指示 · 読み取り専用プレビュー
name
wrdn-effect-atom-reactivity-keys
description
Add reactivityKeys to effect-atom write mutation calls. Use when lint flags a useAtomSet mutation call that mutates data without invalidation keys.
allowed-tools
Read Grep Glob Bash
Effect-atom write mutations must say which reads they invalidate. ## Fix Shape - Find the `useAtomSet(...)` write mutation call. - Add `reactivityKeys` to the mutation payload at the call site. - Use the narrowest keys that cover the rows/lists affected by the write. - Keep read-only probe/preview OAuth flows out of this pattern. - If the mutation should update UI immediately, check whether `wrdn-effect-atom-optimistic` also applies. ## Good ```ts await updateSource({ params: { scopeId, sourceId }, payload, reactivityKeys: [["sources", scopeId]], }); ```
GitHubで見る