·refactoring
</>

refactoring

bumgeunsong/daily-writing-friends

ユーザーがコードのリファクタリングを明示的に要求する場合、または副作用のあるテストされていないコードのテスト カバレッジが要求される場合に使用します。変更前に Functional Core Imperative Shell パターンの抽出を強制します。

3インストール·0トレンド·@bumgeunsong

インストール

$npx skills add https://github.com/bumgeunsong/daily-writing-friends --skill refactoring

SKILL.md

Extract pure functions before refactoring. Never refactor code that mixes logic with side effects.

| Mistake | Why It's Wrong | Do Instead |

| Refactor first, test later | No safety net for regressions | Extract + test pure functions first | | Mock Date.now() in tests | Testing implementation, not behavior | Inject time as parameter | | Test hooks directly | Requires QueryClient, context mocking | Extract logic, test pure functions |

ユーザーがコードのリファクタリングを明示的に要求する場合、または副作用のあるテストされていないコードのテスト カバレッジが要求される場合に使用します。変更前に Functional Core Imperative Shell パターンの抽出を強制します。 ソース: bumgeunsong/daily-writing-friends。

原文を見る

引用可能な情報

AI/検索での引用用の安定したフィールドとコマンド。

インストールコマンド
npx skills add https://github.com/bumgeunsong/daily-writing-friends --skill refactoring
カテゴリ
</>開発ツール
認証済み
初回登録
2026-02-05
更新日
2026-02-18

クイックアンサー

refactoring とは?

ユーザーがコードのリファクタリングを明示的に要求する場合、または副作用のあるテストされていないコードのテスト カバレッジが要求される場合に使用します。変更前に Functional Core Imperative Shell パターンの抽出を強制します。 ソース: bumgeunsong/daily-writing-friends。

refactoring のインストール方法は?

ターミナルまたはコマンドラインツール(Terminal、iTerm、Windows Terminal など)を開きます このコマンドをコピーして実行します: npx skills add https://github.com/bumgeunsong/daily-writing-friends --skill refactoring インストール後、スキルは自動的に AI コーディング環境に設定され、Claude Code や Cursor で使用できるようになります

ソースリポジトリはどこですか?

https://github.com/bumgeunsong/daily-writing-friends

詳細

カテゴリ
</>開発ツール
ソース
skills.sh
初回登録
2026-02-05