mcaf-solid-maintainability
БесплатноБез исполняемых скриптовНе проверенRefactor coupled or oversized code by responsibility, apply repository maintainability limits, and document justified exceptions. Use for design quality…
от managedcode★ 55 звёзд на GitHubОб этом скилле
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
- Read the active
file_max_loc,type_max_loc,function_max_loc,max_nesting_depth, andexception_policyfrom governance. Numeric limits belong there, never in skill metadata. - Split by responsibility and cohesion, with explicit dependencies and composition where appropriate. Line count identifies a smell; moving lines alone does not fix it.
- Apply the repo's literal/configuration rules. Give behavior-defining values a named owner rather than scattering duplicated literals.
- Complete every affected call site, integration, and regression test. Review behavior preservation, failure paths, and test quality before formatting and planned verification.
- When a temporary limit breach is justified, document its reason, exact scope, owner, and removal plan where
exception_policyrequires. 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.
- For design signals: maintainability.
- For runtime failures and API error handling: exception handling.
Установить mcaf-solid-maintainability в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл 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.
Как установить скилл mcaf-solid-maintainability?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл mcaf-solid-maintainability запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic