Skip to main content
VectorLint gives you two ways to bring your style guide into reviews. Understanding which to use and when to combine them is the starting point for any content quality workflow:
  • VECTORLINT.md file: the global style instructions in plain language. Create this file from your style guide and place it in your project root. VectorLint applies its contents to every review, making your tone, terminology, and baseline standards active across all rules automatically. Use it for broad, always-applicable guidance. See Project Configuration for details.
  • Rule pack files: the targeted rules for specific standards. Create these as separate Markdown files as described below. Each file instructs the LLM to review content against one specific standard: grammar, headline quality, AI pattern detection, technical accuracy, and so on. Rules are organized into packs and mapped to file patterns in .vectorlint.ini. Rule pack files live in subdirectories under RulesPath. See File Structure Reference below.
If you can write a prompt for it, you can lint for it with VectorLint.

Creating your VECTORLINT.md

Place a VECTORLINT.md file in your project root to define global style instructions that apply to every review. VectorLint uses its contents as context for every rule it runs. Keep this file concise. VectorLint emits a warning if the file exceeds approximately 4,000 tokens, as very large contexts can degrade performance and increase API costs.

Extract rules from an existing style guide

If your team already has a style guide, use the following prompt with any capable LLM to convert it into a VECTORLINT.md-optimized file. Paste your full style guide after the prompt.
Target your VECTORLINT.md file at under 800 tokens. This leaves room for rule-specific instructions without approaching the warning threshold.
To help you get started, the VectorLint docs repository includes an example VECTORLINT.md covering common technical writing rules that you can copy and adapt.

Creating rule pack files

Rule pack files are optional Markdown files, each defining a targeted rule for a specific standard. Unlike VECTORLINT.md, which sets broad context for every review, rule pack files enforce precise, measurable criteria. You can create as many as your content workflow requires and organize them into packs mapped to specific file patterns in .vectorlint.ini. Each rule file has two parts: YAML frontmatter that configures how VectorLint handles the result, and a Markdown body that is the actual prompt sent to the LLM.

Rule Anatomy

Required frontmatter fields

Optional frontmatter fields

Review modes

VectorLint supports two review modes, chosen with the type field.

Check rules

The LLM returns a list of specific violations. VectorLint scores the result using error density (violations per 100 words), so a single error in a short document weighs more than the same error in a long one.
Scoring: Start at 10. Each percentage point of error density deducts points according to the rule’s strictness level, set in the rule’s frontmatter. A score below 10 triggers a violation at the configured severity. Strictness levels (set per rule in frontmatter):

Judge rules

The LLM scores content against multiple weighted criteria using a 1–4 rubric. VectorLint normalizes each score to a 1–10 scale and computes a weighted average. Define criteria in the frontmatter and expand each into a rubric section in the Markdown body:

Targeting Specific Content

The target field lets you review a specific portion of a document (for example, only the H1 headline) rather than the full content.
When required: true: If the pattern doesn’t match, VectorLint reports an immediate error with the suggestion text, and skips LLM review. When required: false (or omitted): If the pattern doesn’t match, VectorLint reviews the full document instead.

File Structure Reference

To run the Acme pack on all Markdown files:

Examples

AI Pattern Detector (Judge)

Next Steps