midnight-mcp:mcp-format
OfficialDeterministically format Compact code before display
Authordevrelaicom
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This skill ensures Compact source code is consistently formatted before being presented to users, preventing style inconsistencies and avoiding accidental in-place modifications caused by local formatters.
Core Features & Use Cases
- Hosted formatting via MCP: Use the midnight-format-contract service to format Compact code provided as a string without writing to disk.
- Version-aware formatting: Target a specific compiler version or run multi-version checks to compare formatted outputs across versions.
- Safe, resilient behavior: Handles parse failures, rate limits, timeouts, and service errors by presenting unformatted code with clear diagnostics instead of risking file modification.
- Use Case: Format generated code examples, file previews, documentation snippets, and code shown during explanations before presentation.
Quick Start
Format the provided Compact source with the midnight-format-contract MCP formatter and return the formatted output for display.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: midnight-mcp:mcp-format Download link: https://github.com/devrelaicom/midnight-expert/archive/main.zip#midnight-mcp-mcp-format Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.