home/coding/extract-duplicated-logic-2

Extract Duplicated Logic

GPTClaudeDeepSeek··1,275 copies·updated 2026-07-14
extract-duplicated-logic-2.prompt
# Prompt 16 — Extract Duplicated Logic

**Category:** Refactor  ·  **Source:** Appendix A, appendices.md:180-188

## The prompt

when to use it

Community prompt sourced from the open-source GitHub repo regardo911/claude-code-ship-12 (MIT). A "Extract Duplicated Logic" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.

tags

codingcommunitydeveloper

source

regardo911/claude-code-ship-12 · MIT