Rule-Based Linting
Lint documents against specified rules with customizable standards that reflect your organization's voice and structure.
Write once, enforce everywhere. Define your rules and watch AI conform to your standards.
AI-Lint bridges the gap between AI capabilities and human documentation standards. Instead of adapting to how AI writes, define your rules and watch AI conform to your standards.
AI-Lint is an experimental project exploring AI capabilities for document linting. It provides a flexible framework for defining and enforcing documentation standards through a rule-based system. The tool integrates with AI platforms like Cline and other AI coding tools via MCP (Model Context Protocol) servers.
# Quick installation
git clone https://github.com/ToyB0x/ai-lint.git
cd ai-lint
pnpm install && pnpm build
{
"mcpServers": {
"@ai-lint/mcp": {
"command": "node",
"args": [
"/PATH/TO/YOUR_DIR/ai-lint/apps/mcp/dist/index.js"
],
"autoApprove": [],
"disabled": false
}
}
}
You (AI assistants like Cline or Roo Code) must follow these important rules:
- Verify that the MCP Server @ai-lint/mcp is properly set up
- If not set up correctly, inform the user "The @ai-lint/mcp configuration is incorrect" and halt all subsequent processing
- If set up correctly, execute @ai-lint/mcp's load-remote-act-rule and apply the following rules
# Technical Term Consistency Rule
## Purpose
- Ensure consistent use of technical terms
- Prevent confusion from terminology variations
## Rule
Technical terms must be used consistently throughout the document.