-
-
Notifications
You must be signed in to change notification settings - Fork 30
Expand file tree
/
Copy path.agnix.toml
More file actions
53 lines (51 loc) · 1.91 KB
/
Copy path.agnix.toml
File metadata and controls
53 lines (51 loc) · 1.91 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
severity = "Warning"
target = "Generic"
exclude = [
"node_modules/**",
".git/**",
"target/**",
# Historical Docusaurus snapshots duplicate generated docs and push the repo
# over the default self-lint file cap.
"website/versioned_docs/**",
# Exclude all test fixtures (they intentionally contain invalid configs)
"tests/fixtures/**",
]
[rules]
skills = true
hooks = true
agents = true
memory = true
plugins = true
xml = true
mcp = true
imports = true
cross_platform = true
agents_md = true
generic_instructions = true
frontmatter_validation = true
xml_balance = true
import_references = true
# Disable rules that don't apply to this repo:
# - XP-001/002/003: We document tool paths, so mentioning them is expected
# - XP-006: We intentionally have both CLAUDE.md and AGENTS.md
# - VER-001: Version pinning not needed for the linter itself
# - CC-MEM-006: Negative instructions are sometimes necessary in CLAUDE.md
# - PE-003: Weak language in docs is acceptable
disabled_rules = [
"XP-001", # We document tool paths, mentioning them is expected
"XP-002", # Same as XP-001
"XP-003", # Same as XP-001
"XP-006", # Intentionally have both CLAUDE.md and AGENTS.md (kept identical)
"VER-001", # Version pinning not needed for the linter itself
"CC-MEM-006", # Negative instructions are sometimes necessary
"PE-003", # Weak language in docs is acceptable
"CDX-AG-005", # AGENTS.md uses structured code blocks for API documentation
"CC-MEM-009", # CLAUDE.md is intentionally detailed - it's the project memory
"CC-SK-017", # Intentional - version is a client-specific frontmatter field
]
# agnix's own plugin skill is a Claude Code skill, so its 'argument-hint'
# frontmatter is intentional. Suppress XP-SK-001 for that file only rather
# than globally, so the rule still fires elsewhere.
[[overrides]]
paths = ["plugin/skills/agnix/SKILL.md"]
disabled_rules = ["XP-SK-001"]