Dictator
Enforces strict structural boundaries, naming conventions, and file hygiene across codebases before running heavier semantic linters.
Dictator is a high-speed structural gatekeeper designed to enforce code hygiene, file boundaries, naming conventions, and section ordering before heavy semantic linters ever touch your files. By executing sandboxed WebAssembly decrees in parallel, it catches structural violations in milliseconds, eliminating noise from AI code generators and standardizing formatting across multi-language monorepos. It integrates seamlessly into local workflows, CI pipelines, and AI assistants via a dedicated Model Context Protocol (MCP) server, offering diff-scoped checks and automated fixes to maintain spotless codebases.
主な機能
01Comprehensive Git integration with automatic handling of ignore hierarchies and branch merge bases
02Diff-scoped enforcement to target only modified lines on pull requests and pre-commit hooks
03Built-in MCP server support allowing AI assistants to safely inspect and auto-fix codebase structure
04Sandboxed, parallel decree execution powered by WebAssembly (WASM) components
05Sub-millisecond structural validation of line limits, whitespace, naming conventions, and metadata ordering
0628 GitHub stars
ユースケース
01Validating and auto-formatting structural irregularities in AI-generated code before heavy quality linters run
02Optimizing CI pipelines by failing fast on structural violations within milliseconds
03Enforcing consistent file organization, visibility ordering, and formatting across multi-language monorepos