fp-immutable
✓TypeScript の実践的な不変パターン - スプレッド演算子、ネストされた更新、読み取り専用型、および突然変異が実際に問題ない場合
SKILL.md
| Add to array end | [...arr, item] | | Add to array start | [item, ...arr] | | Remove from array | arr.filter(x => x !== item) | | Update array item | arr.map(x => x.id === id ? {...x, ...updates} : x) | | Update object prop | {...obj, prop: newValue} | | Remove object prop | const {prop, ...rest} = obj | | Merge objects | {...defaults, ...overrides} |
| Deep update | Use Immer or nested spread | | Prevent mutation | readonly types or Object.freeze() |
TypeScript の実践的な不変パターン - スプレッド演算子、ネストされた更新、読み取り専用型、および突然変異が実際に問題ない場合 ソース: whatiskadudoing/fp-ts-skills。
ターミナルまたはコマンドラインツール(Terminal、iTerm、Windows Terminal など)を開きます このコマンドをコピーして実行します: npx skills add https://github.com/whatiskadudoing/fp-ts-skills --skill fp-immutable インストール後、スキルは自動的に AI コーディング環境に設定され、Claude Code や Cursor で使用できるようになります
引用可能な情報
AI/検索での引用用の安定したフィールドとコマンド。
- インストールコマンド
npx skills add https://github.com/whatiskadudoing/fp-ts-skills --skill fp-immutable- カテゴリ
- </>開発ツール
- 認証済み
- ✓
- 初回登録
- 2026-02-01
- 更新日
- 2026-02-18
クイックアンサー
fp-immutable とは?
TypeScript の実践的な不変パターン - スプレッド演算子、ネストされた更新、読み取り専用型、および突然変異が実際に問題ない場合 ソース: whatiskadudoing/fp-ts-skills。
fp-immutable のインストール方法は?
ターミナルまたはコマンドラインツール(Terminal、iTerm、Windows Terminal など)を開きます このコマンドをコピーして実行します: npx skills add https://github.com/whatiskadudoing/fp-ts-skills --skill fp-immutable インストール後、スキルは自動的に AI コーディング環境に設定され、Claude Code や Cursor で使用できるようになります
ソースリポジトリはどこですか?
https://github.com/whatiskadudoing/fp-ts-skills