Skip to content

Commit da3d122

Browse files
docs: add single-file linting examples
Document new single-file mode with usage examples: - Auto-detect type: cclint ./agents/my-agent.md - Multiple files: cclint a.md b.md c.md - Override type: cclint --type agent ./custom/file.md - Explicit file flag: cclint --file agents (for edge cases)
1 parent b65a932 commit da3d122

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

CLAUDE.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@ cclint commands # lint only commands
1515
cclint skills # lint only skills
1616
cclint plugins # lint only plugin manifests
1717

18+
# Single-file mode
19+
cclint ./agents/my-agent.md # lint one file (auto-detect type)
20+
cclint path/to/file.md # lint by path
21+
cclint a.md b.md c.md # lint multiple files
22+
cclint --type agent ./custom/file.md # override type detection
23+
cclint --file agents # lint file literally named "agents"
24+
1825
# Common flags
1926
cclint --root /path/to/project agents # specify project root
2027
cclint --scores agents # show quality scores (0-100)

0 commit comments

Comments
 (0)