Skip to main content

source-file-boundary-refactor

Split or contain large source files according to the source-file boundary ADR without changing behavior opportunistically.

소스 정보

저장소
clawic/Clawix
최근 소스 활동
2026년 5월 15일 12:49
감지된 SKILL.md 언어
영어
스타
8
포크
0

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
source-file-boundary-refactor
description
Split or contain large source files according to the source-file boundary ADR without changing behavior opportunistically.
keywords
["source-size","refactor","boundaries","large-files","modules"]
# source-file-boundary-refactor Reduce source-file boundary debt. ## Procedure 1. Read the source-file boundary ADR and current baseline before editing. 2. Identify the responsibility boundary: parsing, registry data, UI state, rendering, service wiring, tests, fixtures, or utilities. 3. Extract one responsibility at a time while preserving public behavior. 4. Keep entrypoints thin: parse flags, delegate, and return. 5. Add or preserve tests that prove behavior did not change. 6. Update baselines only for accepted exceptions, not to hide new growth. ## Constraints - Do not mix behavior changes into mechanical extraction unless needed for compilation. - Do not grow files above limits except for extraction or explicit architecture approval. - Prefer existing package patterns over new abstraction styles.
GitHub에서 보기