Agent skill

Mcaf Solid Maintainability

by managedcode in managedcode/Storage

Apply SOLID, SRP, cohesion, composition-over-inheritance, and small-file discipline to code changes.

MITAuto-check passedAgent Workflows

Install Mcaf Solid Maintainability

skills CLI
$ npx skills add managedcode/Storage --skill mcaf-solid-maintainability -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install managedcode/Storage mcaf-solid-maintainability --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/managedcode/Storage.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.codex/skills/mcaf-solid-maintainability .claude/skills/mcaf-solid-maintainability && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
mcaf-solid-maintainability
GitHub stars
138
Token cost
~1.1k tokens
SKILL.md length
523 words
Files
4 (incl. references)
Skills in repo
41
Repo updated
First seen
Licence
MIT

At a glance

Apply SOLID, SRP, cohesion, composition-over-inheritance, and small-file discipline to code changes.

  • Works in 3 steps: Read the nearest AGENTS.md and confirm… → Run this skill's Workflow through the… → Return the Required Result Format with…
  • Refactoring large files
  • SKILL.md covers Trigger On, Value, Do Not Use For and Inputs, plus 8 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Mcaf Solid Maintainability is an agent skill from managedcode/Storage. Apply SOLID, SRP, cohesion, composition-over-inheritance, and small-file discipline to code changes. Use when refactoring large files or classes, setting maintainability limits in AGENTS.md, documenting justified exceptions, or reviewing design quality.

Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including reference files (for example `references/exception-handling.md`, `references/limits-and-exceptions.md` and `references/maintainability.md`). Compatibility notes: Requires repository write access; uses maintainability limits from root or local AGENTS.md.

It sits in Agent Workflows, covering Design review and critique, Refactoring and Agent instruction files. The repository describes itself as: Storage library provides a universal interface for accessing and manipulating data in different cloud blob storage providers. The licence is MIT.

When your agent uses it

  • Refactoring large files
  • Setting maintainability limits in AGENTS.md
  • Documenting justified exceptions
  • Reviewing design quality

Example prompts

  • “/mcaf-solid-maintainability”

Requirements

  • Compatibility (from SKILL.md): Requires repository write access; uses maintainability limits from root or local `AGENTS.md`.

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. Read the nearest AGENTS.md and confirm scope and constraints.
  2. Run this skill's Workflow through the Ralph Loop until outcomes are acceptable.
  3. Return the Required Result Format with concrete artifacts and verification evidence.

What it can do on your machine

Read from SKILL.md and the folder at commit 5d32121. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Requires repository write access; uses maintainability limits from root or local `AGENTS.md`.

    From compatibility in the SKILL.md frontmatter.

Context cost

Mcaf Solid Maintainability loads about 1.1k tokens when it runs, and up to ~2.4k if it reads all its reference files. Until then it costs about 71 tokens; SKILL.md has 523 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~71
When it runs · the whole SKILL.md, loaded when a task matches
~1.1k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~2.4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from managedcode/Storage at commit 5d32121, republished under its MIT licence (© managedcode). 523 words, ~1,096 tokens.

Download SKILL.mdSave it as .claude/skills/mcaf-solid-maintainability/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
mcaf-solid-maintainability
description
Apply SOLID, SRP, cohesion, composition-over-inheritance, and small-file discipline to code changes. Use when refactoring large files or classes, setting maintainability limits in `AGENTS.md`, documenting justified exceptions, or reviewing design quality.
compatibility
Requires repository write access; uses maintainability limits from root or local `AGENTS.md`.

MCAF: SOLID Maintainability

Trigger On

  • files, classes, or functions are too large or too coupled
  • maintainability limits in AGENTS.md need to be added or tightened
  • a change needs a justified temporary exception

Value

  • produce a concrete project delta: code, docs, config, tests, CI, or review artifact
  • reduce ambiguity through explicit planning, verification, and final validation skills
  • leave reusable project context so future tasks are faster and safer

Do Not Use For

  • writing architecture docs without touching code structure or policy
  • cosmetic formatting-only edits

Inputs

  • the nearest AGENTS.md
  • the code under change
  • current testing seams and dependency boundaries

Quick Start

  1. Read the nearest AGENTS.md and confirm scope and constraints.
  2. Run this skill's Workflow through the Ralph Loop until outcomes are acceptable.
  3. Return the Required Result Format with concrete artifacts and verification evidence.

Workflow

  1. Read the active values for:
    • file_max_loc
    • type_max_loc
    • function_max_loc
    • max_nesting_depth
    • exception_policy
  2. Evaluate the change through SOLID:
    • single responsibility
    • explicit dependencies
    • composition before inheritance
    • boundaries that are easy to test
  3. Remove hardcoded values and inline string literals from implementation code by moving them into named constants, enums, configuration, or dedicated types.
  4. Split by responsibility, not by arbitrary line count alone.
  5. If a limit must be exceeded temporarily, document the exception exactly where exception_policy requires it.

Deliver

  • smaller, more cohesive code
  • updated maintainability policy when repo rules changed
  • explicit exception records when a temporary breach is justified

Validate

  • size limits are respected or explicitly waived
  • responsibilities are clearer after the change
  • the refactor improves testability instead of only moving lines around
  • literals that matter are named once and reused instead of repeated inline
  • no numeric limit was moved into framework prose or skill metadata
Show full SKILL.md (242 more words)Show less

Ralph Loop

Use the Ralph Loop for every task, including docs, architecture, testing, and tooling work.

  1. Plan first (mandatory):
    • analyze current state
    • define target outcome, constraints, and risks
    • write a detailed execution plan
    • list final validation skills to run at the end, with order and reason
  2. Execute one planned step and produce a concrete delta.
  3. Review the result and capture findings with actionable next fixes.
  4. Apply fixes in small batches and rerun the relevant checks or review steps.
  5. Update the plan after each iteration.
  6. Repeat until outcomes are acceptable or only explicit exceptions remain.
  7. If a dependency is missing, bootstrap it or return status: not_applicable with explicit reason and fallback path.
Required Result Format
  • status: complete | clean | improved | configured | not_applicable | blocked
  • plan: concise plan and current iteration step
  • actions_taken: concrete changes made
  • validation_skills: final skills run, or skipped with reasons
  • verification: commands, checks, or review evidence summary
  • remaining: top unresolved items or none

For setup-only requests with no execution, return status: configured and exact next commands.

Load References

  • read references/limits-and-exceptions.md first
  • open references/maintainability.md for broader design guidance
  • open references/exception-handling.md when documenting a temporary breach

Example Requests

  • "Split this 700-line service into cohesive parts."
  • "Add maintainability limits to AGENTS."
  • "Refactor this class to follow SOLID and document the one exception."

Guardrails

  • numeric limits belong in AGENTS.md, not in the framework guide or skill metadata
  • a justified exception is a debt record, not a permanent escape hatch

© managedcode, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 3 other files (references) in .codex/skills/mcaf-solid-maintainability of managedcode/Storage.

  • SKILL.md
  • references/exception-handling.md
  • references/limits-and-exceptions.md
  • references/maintainability.md

Open the folder on GitHubat commit 5d32121

Compare with similar skills

Mcaf Solid Maintainability next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Mcaf Solid Maintainability compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Mcaf Solid Maintainability this skillmanagedcode/Storage138—~1.1kAutomated safety check: PassMIT
Docslatitude-dev/latitude-llm4.7k—~2.5kAutomated safety check: PassMIT
Steadyagent WorkflowKhalilzhang0825/boring-is-all-you-need173—~1kAutomated safety check: PassMIT
Update Docspeterkrueck/Claude-Code-Development-Kit1.4k—~2.7kAutomated safety check: PassMIT
Claude Md Writerserejaris/personal-corp-os229—~1.6kAutomated safety check: PassMIT
Refresh AgentsUniClipboard/UniClipboard1.8k—~835Automated safety check: PassAGPL-3.0

Similar skills

  • Docs

    latitude-dev/latitude-llm

    Review the current conversation context and git changes, then persist durable repository knowledge into dev-docs/.md by domain and into AGENTS.md for cross-cutting repo rules.

    4.7k GitHub stars~2.5k tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Steadyagent Workflow

    Khalilzhang0825/boring-is-all-you-need

    Local-first Codex workflow for planning, debugging, reviewing, refactoring, improving AGENTS.md, building skills, publishing agent harness repositories, or running complex multi-step coding tasks…

    173 GitHub stars~1k tokensUpdated 1 mo ago
    Agent WorkflowsAuto-check passed
  • Update Docs

    peterkrueck/Claude-Code-Development-Kit

    Update project documentation after code changes. An agent skill from peterkrueck/Claude-Code-Development-Kit.

    1.4k GitHub stars~2.7k tokensUpdated 2 mo ago
    Agent WorkflowsAuto-check passed
  • Claude Md Writer

    serejaris/personal-corp-os

    A skill your agent uses when creating or refactoring CLAUDE.md files - enforces best practices for size, structure, and content organization

    229 GitHub stars~1.6k tokensUpdated 3 days ago
    Agent WorkflowsAuto-check passed
  • Refresh Agents

    UniClipboard/UniClipboard

    Refresh fact-based sections of crates/AGENTS.md (STRUCTURE, WHERE TO LOOK, COMPLEXITY HOTSPOTS, KNOWN BROKEN) from current codebase state.

    1.8k GitHub stars~835 tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Refactor Memory

    vinta/hal-9000

    A skill your agent uses when refactoring Claude Code or Codex memories to remove stale or derivable entries, resolve contradictions, promote standing instructions, or reorganize recall.

    138 GitHub stars~887 tokensUpdated 2 days ago
    Agent WorkflowsAuto-check passed

More from managedcode/Storage

All 41 skills in this repo
  • Mcaf Adr Writing

    managedcode/Storage

    Create or update an ADR under docs/ADR/ for architectural decisions, dependency changes, data-model changes, or cross-cutting policy shifts.

    138 GitHub stars~951 tokensUpdated today
    Auto-check passed
  • Mcaf Agile Delivery

    managedcode/Storage

    Shape delivery workflow around backlog quality, roles, ceremonies, and engineering feedback.

    138 GitHub stars~883 tokensUpdated today
    Auto-check passed
  • Mcaf Architecture Overview

    managedcode/Storage

    Create or update docs/Architecture.md as the global architecture map for a solution.

    138 GitHub stars~950 tokensUpdated today
    Auto-check passed
  • Mcaf CI CD

    managedcode/Storage

    Design or refine CI/CD workflows, quality gates, release flow, and safe AI-assisted pipeline authoring.

    138 GitHub stars~981 tokensUpdated today
    Auto-check passed
  • Mcaf Code Review

    managedcode/Storage

    Prepare for, perform, or tighten code review workflow: PR scope, review checklist, reviewer expectations, and merge hygiene.

    138 GitHub stars~957 tokensUpdated today
    Auto-check passed
  • Mcaf Devex

    managedcode/Storage

    Improve developer experience for multi-component solutions: onboarding, F5 contract, cross-platform tasks, local inner loop, and reproducible setup.

    138 GitHub stars~911 tokensUpdated today
    Auto-check passed

Questions about Mcaf Solid Maintainability

What does Mcaf Solid Maintainability do?

Apply SOLID, SRP, cohesion, composition-over-inheritance, and small-file discipline to code changes. Mcaf Solid Maintainability is an agent skill from managedcode/Storage. Apply SOLID, SRP, cohesion, composition-over-inheritance, and small-file discipline to code changes.

When should I use Mcaf Solid Maintainability?

Mcaf Solid Maintainability fits situations like: refactoring large files; setting maintainability limits in AGENTS.md; documenting justified exceptions; reviewing design quality.

How do I install Mcaf Solid Maintainability in Claude Code?

Run `npx skills add managedcode/Storage --skill mcaf-solid-maintainability -a claude-code`. Or copy the skill folder (.codex/skills/mcaf-solid-maintainability in managedcode/Storage) into .claude/skills/mcaf-solid-maintainability in your project. Claude Code loads it when a task matches its description.

How do I install Mcaf Solid Maintainability in Codex?

Run `npx skills add managedcode/Storage --skill mcaf-solid-maintainability -a codex`. Or copy the skill folder (.codex/skills/mcaf-solid-maintainability in managedcode/Storage) into .agents/skills/mcaf-solid-maintainability in your project. Codex loads it when a task matches its description.

Can I use Mcaf Solid Maintainability in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add managedcode/Storage --skill mcaf-solid-maintainability -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/mcaf-solid-maintainability, .gemini/skills/mcaf-solid-maintainability, .github/skills/mcaf-solid-maintainability and .opencode/skills/mcaf-solid-maintainability in your project.

What does Mcaf Solid Maintainability need to run?

SKILL.md names no scripts, command-line tools or credentials: Mcaf Solid Maintainability is instructions for the agent only. Compatibility (from SKILL.md): Requires repository write access; uses maintainability limits from root or local `AGENTS.md`..

Does Mcaf Solid Maintainability access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Mcaf Solid Maintainability safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Mcaf Solid Maintainability use?

Mcaf Solid Maintainability is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Mcaf Solid Maintainability use?

About 1.1k tokens (SKILL.md is roughly 4.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.3k tokens, read only when the agent opens those files.

What are the alternatives to Mcaf Solid Maintainability?

Skills that share tags, products or a category with Mcaf Solid Maintainability: Docs (latitude-dev/latitude-llm, 4.7k stars), Steadyagent Workflow (Khalilzhang0825/boring-is-all-you-need, 173 stars), Update Docs (peterkrueck/Claude-Code-Development-Kit, 1.4k stars) and Claude Md Writer (serejaris/personal-corp-os, 229 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Mcaf Solid Maintainability?

managedcode (a GitHub organization) maintains it in managedcode/Storage, which has 138 GitHub stars. The repository holds 41 skills in this directory. The repository was last updated on October 7, 2026.

Source: managedcode/Storage on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.