Skip to main content

mcaf-solid-maintainability

Refactor coupled or oversized code by responsibility, apply repository maintainability limits, and document justified exceptions. Use for design quality changes or maintainability policy.

소스 정보

저장소
managedcode/MCAF
최근 소스 활동
2026년 10월 11일 13:18
감지된 SKILL.md 언어
영어
스타
56
포크
7

설치 방법

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

소스 파일 검토

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

파일 탐색기
4 개 파일

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
mcaf-solid-maintainability
description
Refactor coupled or oversized code by responsibility, apply repository maintainability limits, and document justified exceptions. Use for design quality changes or maintainability policy.
metadata
{"compatibility":"Requires repository write access; uses maintainability limits from root or local `AGENTS.md`."}
# MCAF: SOLID Maintainability Read root/local `AGENTS.md`, the complete affected behavior, callers, contracts, and tests. Preserve accepted architecture and observable behavior during a local refactor; seek approval for material boundary changes. ## Workflow 1. Read the active `file_max_loc`, `type_max_loc`, `function_max_loc`, `max_nesting_depth`, and `exception_policy` from governance. Numeric limits belong there, never in skill metadata. 2. Split by responsibility and cohesion, with explicit dependencies and composition where appropriate. Line count identifies a smell; moving lines alone does not fix it. 3. Apply the repo's literal/configuration rules. Give behavior-defining values a named owner rather than scattering duplicated literals. 4. Complete every affected call site, integration, and regression test. Review behavior preservation, failure paths, and test quality before formatting and planned verification. 5. When a temporary limit breach is justified, document its reason, exact scope, owner, and removal plan where `exception_policy` requires. A debt record does not complete unfinished in-scope work. Deliver a cohesive implementation or the requested policy update, with evidence that behavior and required gates remain sound. ## References - For policy keys and temporary breaches: [limits and exceptions](references/limits-and-exceptions.md). - For design signals: [maintainability](references/maintainability.md). - For runtime failures and API error handling: [exception handling](references/exception-handling.md).
GitHub에서 보기