·refactoring

Use when user explicitly asks to refactor code, or when test coverage is requested for untested code with side effects. Enforces Functional Core Imperative Shell pattern extraction before any changes.

3Installs·0Trend·@bumgeunsong

Installation

$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 |

Use when user explicitly asks to refactor code, or when test coverage is requested for untested code with side effects. Enforces Functional Core Imperative Shell pattern extraction before any changes. Source: bumgeunsong/daily-writing-friends.

View raw

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/bumgeunsong/daily-writing-friends --skill refactoring
Category
</>Dev Tools
Verified
First Seen
2026-02-05
Updated
2026-02-18

Quick answers

What is refactoring?

Use when user explicitly asks to refactor code, or when test coverage is requested for untested code with side effects. Enforces Functional Core Imperative Shell pattern extraction before any changes. Source: bumgeunsong/daily-writing-friends.

How do I install refactoring?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/bumgeunsong/daily-writing-friends --skill refactoring Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor

Where is the source repository?

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

Details

Category
</>Dev Tools
Source
skills.sh
First Seen
2026-02-05