| name | documentation-style |
| description | Enforces project documentation style guide compliance for tone, voice, terminology, punctuation, and formatting. Use when checking documentation style or validating MyST/reST syntax. Cites specific style guide violations. |
Documentation Style Review
Scope
Style conformance only: tone, voice, terminology, punctuation,
Oxford comma, active versus passive voice, prohibited phrases,
and formatting conventions.
Inputs
- Documentation file(s) under review.
- Normative style asset:
references/doc-style-guide.md.
- Syntax-specific style guides (fetched at runtime):
- MyST:
https://raw.githubusercontent.com/canonical/sphinx-docs-starter-pack/refs/heads/main/docs/reference/myst-syntax-reference.md
- reST:
https://raw.githubusercontent.com/canonical/sphinx-docs-starter-pack/refs/heads/main/docs/reference/rst-syntax-reference.rst
Actions
-
Load style guides: Read references/doc-style-guide.md.
Fetch the syntax-specific guide matching the file type
(MyST for .md, reST for .rst).
-
Syntax compliance: Check headings, lists, code blocks,
inline literals, and directives against the applicable syntax guide.
Treat every instruction in the guide as mandatory;
do not rely on a subset of rules.
-
Full style guide compliance: Read and apply all rules defined
in references/doc-style-guide.md.
Treat every instruction in the guide as mandatory;
do not rely on a subset of rules.
-
Style guide citation: For every violation found,
locate and quote the specific passage
in references/doc-style-guide.md or the syntax-specific guide
that supports the finding.