Skip to content

Every session, every agent

Rules your agents keep

Write your project's rules once, in your repo. They sit in .lintsure/rules.yml, so every session, every teammate and every agent gets the same ones. Drift Guard holds the agent to them.

Plain sentences

Write each rule the way you'd say it

Each rule is a sentence the agent will read. You can also ask your agent in plain words, like "Lintsure: never touch the payment code".

Read the Drift Guard docs
.lintsure/rules.yml
  1. 1rules:
  2. 2 - note: "Payments only go through lib/pay.ts."
  3. 3 - protect: "migrations/**"
  4. 4 say: "Don't edit migrations that already ran."
  5. 5 - deps: true

Back in front of the agent

Rules come back after a reset

At the start of a session and when a long conversation is compacted, your rules are put back in front of the agent, kept short.

Session start
Lintsure: 3 project rules
· Payments only go through lib/pay.ts.
· Don't edit migrations that already ran.
· Ask before adding dependencies.

Every agent

The same rules in every tool

Share them with Claude Code, Cursor, Codex and Gemini CLI, so it doesn't matter which agent picks up the task.

Share with your other agents
Agents with your rules
  • Claude CodePlugin
  • CursorHooks
  • CodexHooks
  • Gemini CLIHooks

What it can't do

  • Rules hold only what is written down.
  • Checks are patterns, so a rule can be missed. Review what matters.

Lintsure is a readiness tool, not an audit, a certification or legal advice.

Add the plugin to Claude Code

In Claude Code
/plugin marketplace add lintsure/plugin
/plugin install lintsure@lintsure

That's all. It runs on your machine, needs no account and sends nothing to lintsure.com. A hosted workspace is optional. The same guards run in Cursor, Gemini CLI and Codex through adapters in the plugin's repo.