Audit a repository for maintainability and produce a scored assessment. Use when evaluating tech debt, naming clarity, code organization, or how easy a codebase is to change.
Evaluates how easy the codebase is to understand, modify, and maintain over time. Checks naming clarity, file organization, dependency freshness, tech debt markers, documentation, and code style enforcement. A high score means a developer can onboard quickly and make changes confidently; a low score means the codebase is difficult to work with.
getUserById, validateEmail, CustomerOrderRepositoryx, temp, doStuff, data2, flagpackage.json, build.gradle, requirements.txt, Gemfile, or equivalent. Check for packages multiple major versions behind their current release or packages flagged as deprecated.
TODO, FIXME, or HACK commentsTODO, FIXME, and HACK across all source files. Count total occurrences and check whether any include ticket references or explanatory context.
.eslintrc, .prettierrc, .editorconfig, pyproject.toml, rubocop.yml, or equivalent. Check CI configuration for lint or format steps.
Uses the global finding-count thresholds as defaults:
No domain-specific adjustments for Maintainability.
Scoped audit: If a scoped file list is provided in the subagent prompt, restrict ALL sampling and analysis to only those files. Skip criteria that cannot be evaluated from the scoped files and note them as "not assessed (out of scope)."
README, config files (.eslintrc, .prettierrc, .editorconfig), and dependency manifestsTODO, FIXME, and HACK markers across all source filesThis skill supports future tech-specific criteria via the references/ directory. At v2, matching references/<stack>.md files will be loaded automatically to add language-specific maintainability checks.
Return results as structured JSON:
{
"category": "maintainability",
"score": 6,
"confidence": "High",
"findings": [
{
"severity": "MAJOR",
"description": "47 TODO/FIXME markers found with no ticket references or explanatory context",
"location": "src/ (multiple files)",
"recommendation": "Triage existing markers: resolve, link to a tracking ticket, or delete stale ones"
}
],
"top_recommendations": [
"Add a README covering project setup, configuration, and architecture overview",
"Introduce ESLint and Prettier with CI enforcement to standardize code style",
"Triage the 47 TODO/FIXME markers and link remaining ones to tracking tickets"
],
"summary": "Below-average maintainability -- missing README, no style enforcement, and high untracked tech debt density make onboarding and safe modification difficult"
}