I3Instructionsscope: coreweight: 2fix: guided
I3: Rule specificity
Why this rule exists (Empirical Evidence)
Anthropic converged on: 'Don't [anti-pattern]. Instead [correct]. Because [reason].' — the golden formula after 265 versions. Agent READMEs study: concrete instructions (F1=0.94) understood 2x better than abstract ones (F1=0.42).
Agent READMEs: An Empirical Study of Documentation for LLM-Based Software Engineering Agents (2026)
Anti-pattern (Triggers I3)
- Don't use mocks. - Never edit config files.
Compliant pattern (Passes I3)
- Don't mock the SQLite repository layer in unit tests. Instead run against an in-memory DB fixture. Because mocked queries hid 3 migration regressions.
Verify locally or online
npm install -g agentlint-ai && agentlint check --check I3