All skills
SKILL.md / ko

refactoring-with-contract-preservation

alsdmlals4-eng/Base

Use when code, documents, data, automation, or skills need structural simplification while preserving behavior, interfaces, compatibility, and outputs.

Install refactoring-with-contract-preservation in 1 command

skills CLI: The skills CLI downloads this skill from GitHub and puts the folder where your agent looks for skills. Add -g to install it for every project instead of the current one.

Claude Code

Run in your terminal, inside the project.

npx skills add alsdmlals4-eng/Base --skill refactoring-with-contract-preservation -a claude-code

Codex

Installs into .agents/skills for Codex.

npx skills add alsdmlals4-eng/Base --skill refactoring-with-contract-preservation -a codex

claude.ai

No terminal needed. Works on Free, Pro, Max, Ultra, Team and Enterprise plans.

  1. Download the skill folder (the one with SKILL.md) from GitHub and zip it. The folder name must match the skill name.
  2. In Settings, Capabilities, turn on code execution and file creation.
  3. Open Customize, Skills, click +, Create skill, Upload a skill, pick the zip and switch it on.

Read SKILL.md and any scripts before you run it. Claude Code guide · Codex guide · Security checklist

What it does

Use when code, documents, data, automation, or skills need structural simplification while preserving behavior, interfaces, compatibility, and outputs.

Source on GitHub: alsdmlals4-eng/Base

Example prompt

Paste this after installing. Replace the task with your own.

Use the refactoring-with-contract-preservation skill for this task: [describe what you want in one or two sentences]. Before you change anything, list the files you will read or edit and the steps you will take.

Or let your agent review and install it

Paste this prompt into Claude Code or Codex in your project. Your agent can review the source and install the complete folder.

GitHub file

Path
skills/refactoring-with-contract-preservation/SKILL.md
Source updated
16/08/2026

SKILL.md

read only

Open the full file on GitHub

Read the current instructions on GitHub. Full text appears here only when the repository has a recognized license.

Read SKILL.md on GitHub

Get the free Claude Code skills PDF

A short guide to the skills worth installing first, sent in Telegram by Anton Shumeiko. It also opens the free Claude Skills course.

Open in Telegram

About the refactoring-with-contract-preservation skill

refactoring-with-contract-preservation is an Agent Skill from the alsdmlals4-eng/Base GitHub repository, which has 0 stars and 0 forks. The skill file is skills/refactoring-with-contract-preservation/SKILL.md on the main branch: open it on GitHub.

Description: Use when code, documents, data, automation, or skills need structural simplification while preserving behavior, interfaces, compatibility, and outputs.

Repository licence: MIT. Categories: Productivity. Source updated: 2026-08-16.

Start of SKILL.md

Refactoring with Contract Preservation ## Core principle 리팩토링은 기능을 다시 설계하는 일이 아니라 **승인된 동작과 계약을 유지한 채 구조를 개선**하는 일이다. 기능 추가·삭제·정책 변경과 같은 PR에 섞지 않는다. 도달 불가·오래된 자료의 제거는 `pruning-stale-and-nonfunctional-material`, SKILL.md의 조건부 상세 분리는 `simplifying-skill-bodies`, 의도적 기능 변경은 별도 작업 계약, 최종 diff·런타임·회귀 증거는 `reviewing-and-validating-project-changes`가 책임진다. ##…

Install refactoring-with-contract-preservation in 1 command

Claude Code: npx skills add alsdmlals4-eng/Base --skill refactoring-with-contract-preservation -a claude-code

Codex: npx skills add alsdmlals4-eng/Base --skill refactoring-with-contract-preservation -a codex

claude.ai: download the skill folder from GitHub and zip it, turn on code execution and file creation in Settings, Capabilities, then upload the zip in Customize, Skills, Create skill, Upload a skill. Read SKILL.md and any scripts first. Step-by-step guides: install in Claude Code, install in Codex and the security checklist.

Example prompt

Use the refactoring-with-contract-preservation skill for this task: [describe what you want in one or two sentences]. Before you change anything, list the files you will read or edit and the steps you will take.

More skills from alsdmlals4-eng/Base

Related skills

  • scrapling-official (D4Vinci/Scrapling): Scrape web pages using Scrapling with anti-bot bypass (like Cloudflare Turnstile), stealth headless browsing, spiders framework, adaptive scraping, and JavaScript…
  • agentic-workflows (mono/SkiaSharp): Route gh-aw workflow design/create/debug/upgrade requests to the right prompts.
  • adversarial-review (a5c-ai/babysitter): Fresh adversarial code review with binary PASS/FAIL verdicts, evidence citations, and anchoring bias prevention via fresh reviewer spawning.
  • bom (aklofas/kicad-happy): BOM (Bill of Materials) management for electronics projects — the workflow skill that coordinates DigiKey, Mouser, LCSC, element14, JLCPCB, PCBWay, and KiCad skills…
  • benchmark-due-diligence (daymade/claude-code-skills): Runs adversarial due-diligence on a benchmark the user envies — a founder, KOL, company, or product whose claimed success looks inflated — splitting marketing bubble…
  • aaai-artifact-evaluation (brycewang-stanford/Awesome-Journal-Skills): Use when packaging AAAI code, data, multimedia appendices, technical appendices, reproducibility evidence, and post-acceptance artifact releases without violating…

Browse the free Claude skills catalogue