fleetlint Policy for a fleet of repositories
v0.4
Getting started

public/no-agent-files

Public repositories track no agent instruction files

Severityerror
Tiersall
Stacksany
Scoperoot
Kindexpr
Sourcelibrary v0.1.0
Selected byfleetlint-slop@v0.1.0

Requirement

No agent instruction files are tracked in a public repository: CLAUDE.md, CLAUDE.local.md, AGENTS.md, GEMINI.md, .github/copilot-instructions.md, .cursorrules, .windsurfrules, .clinerules, .aider* and the .claude/, .agent/ and .cursor/ directories stay local (listed in .git/info/exclude).

Why

For projects that keep agent tooling out of their published tree: the files describe one contributor’s local setup, not the project, and go stale for everyone else.

Applies when

repo.public

Check

For each item in:

tracked().filter(f, f.matches(r'(^|/)(CLAUDE(\.local)?|AGENTS|GEMINI)\.md$|(^|/)\.(claude|agent|cursor)/|(^|/)\.(cursorrules|windsurfrules|clinerules)(/|$)|(^|/)\.aider[^/]*(/|$)|(^|/)\.github/copilot-instructions\.md$'))
false

Fix

git rm –cached the files and list them in .git/info/exclude so they stay local.

Agent instruction: Untrack the listed files with git rm –cached, add them to .git/info/exclude (not .gitignore), and commit.

See: https://fleetlint.org/baseline/#public-repositories, https://fleetlint.org/slop/#repository-and-files


Generated by fleetlint docs from catalog v0.1.0.