plugins/compact-reviewer/skills/maintainability/SKILL.md
Use when reviewing Compact contracts for long-term maintainability, identifying technical debt, planning upgrade strategies, or assessing modularity and refactoring needs.
npx skillsauth add aaronbassett/midnight-knowledgebase compact-reviewer:maintainabilityInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
4 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Evaluate long-term maintainability and identify technical debt.
This skill activates for queries about:
Trigger words: maintainability, technical debt, upgrade, modular, refactor, future-proof
| Factor | Good | Poor | |--------|------|------| | Modularity | Separated concerns | Monolithic | | Coupling | Loose | Tight | | Documentation | Current | Missing/stale | | Dependencies | Minimal | Excessive | | Complexity | Low | High |
Evaluate code separation:
Consider future changes:
Look for:
Check for:
tools
Use when setting up Midnight development environment, installing Compact compiler and developer tools, configuring proof server, verifying prerequisites, or getting started with Midnight development.
tools
--- name: midnight-tooling:midnight-debugging description: Use when encountering Midnight errors like "compact: command not found", "ERR_UNSUPPORTED_DIR_IMPORT", version mismatches, proof server failures, "@midnight-ntwrk" package errors, or compilation failures. --- # Midnight Environment Debugging Expert knowledge for identifying and resolving common Midnight development toolchain issues. ## Diagnostic Approach When encountering Midnight-related errors, follow this systematic approach: 1.
tools
Use when checking Midnight version compatibility, understanding pragma language_version, verifying compiler and runtime version relationships, or troubleshooting version mismatch errors between Midnight components.
tools
Use when setting up CI/CD for Midnight projects, configuring GitHub Actions for Compact contract compilation, running TypeScript tests in CI, validating version consistency, or automating contract builds.