@buresmi7/agent-doc-rules-docs-validator
v0.8.2
Published
Markdown, security, and link validation CLI for agent-doc-rules projects
Readme
Docs Validator
@buresmi7/agent-doc-rules-docs-validator provides deterministic Markdown validation
for repositories that use the agent-doc-rules skill.
Install
pnpm add -D @buresmi7/agent-doc-rules-docs-validatorCommands
agent-doc-rules-docs init
agent-doc-rules-docs markdown
agent-doc-rules-docs wording
agent-doc-rules-docs security
agent-doc-rules-docs links
agent-doc-rules-docs checkinit creates a starter agent-doc-rules.config.json. Use
agent-doc-rules-docs init --print to preview the config without writing files.
markdown, wording, security, and links run the corresponding
deterministic phases. check runs them in that order and stops on the first
failure. For security-review scope, see
security-review.md.
Config
The CLI reads agent-doc-rules.config.json from the repository root. CLI flags
override config values, and config values override built-in defaults.
{
"docs": {
"include": ["*.md", "docs/**/*.md", "packages/**/*.md"],
"exclude": ["node_modules/**", ".git/**"],
"links": {
"skip": ["^https://github.com/example/archived"]
},
"wording": {
"writeGood": {
"passive": false,
"illusion": false,
"weasel": false,
"adverb": false,
"tooWordy": false,
"eprime": false,
"fail": false
},
"forbiddenTerms": [],
"allow": ["intentional example"]
},
"security": {
"allow": ["intentional fixture"]
}
}
}Use --skip <regex> for repeated Linkinator skip patterns and --no-fragments
when fragment validation is too strict for a specific repository. Use
docs.wording.writeGood to tune the deterministic prose linter. Use
docs.wording.forbiddenTerms only for project-specific phrases that must fail.
AI sentence-level style review lives in
@buresmi7/agent-doc-rules-docs-duplicates as
agent-doc-rules-docs-duplicates style.
See the skill package Config Reference for the full config model.
