validate_doc
Validate markdown content for critical errors, warnings, and info before manually committing to the knowledge repo.
Instructions
Validate a markdown document before committing it to the knowledge repo. Read-only.
Does not write any files or modify the index. Not needed when using
the write_*() tools — they validate internally. Use this only when
you are writing raw markdown and committing it manually via git.
Args:
content: Full markdown content to validate
category: Target category — one of: "architecture", "api",
"bugfix", "best-practice", "setup", "changelog", "test", "docs"
project: Target project name (optional)
Returns:
"OK" if the document passes all checks, or a list of issues
tagged [!] critical (blocks indexing), [~] warning, [i] info.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | ||
| category | No | docs | |
| project | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |