Skip to content

AI-LintTeach AI Your Documentation Standards, Not the Other Way Around

Write once, enforce everywhere. Define your rules and watch AI conform to your standards.

AI-Lint Logo

The Future of Documentation is Rule-Driven

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.

Overview

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.

bash
# Quick installation
git clone https://github.com/ToyB0x/ai-lint.git
cd ai-lint
pnpm install && pnpm build
json
{
  "mcpServers": {
    "@ai-lint/mcp": {
      "command": "node",
      "args": [
        "/PATH/TO/YOUR_DIR/ai-lint/apps/mcp/dist/index.js"
      ],
      "autoApprove": [],
      "disabled": false
    }
  }
}
markdown
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
markdown
# 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.

Released under the MIT License.