Frontmatter validation
Checks required fields like title and sidebar.order.
Splash pages must include hero fields and
template: splash.
The f5xc-docs-tools plugin validates MDX content files for the f5xc-salesdemos documentation pipeline. It catches common build-breaking issues before they reach CI, including bare JSX characters, invalid imports, broken image references, and incomplete frontmatter.
v1.1.2 Productivity/plugin install f5xc-docs-tools@f5xc-salesdemos-marketplaceThis skill activates automatically when Claude detects you are working with MDX files in an f5xc-salesdemos content repository. It performs seven validation checks:
Frontmatter validation
Checks required fields like title and sidebar.order.
Splash pages must include hero fields and
template: splash.
MDX syntax pitfalls
Detects bare < characters and unescaped \{ \}
braces that break MDX parsing.
Import validation
Validates imports against an allowlist of Starlight built-in and f5xc-salesdemos theme components.
Component attributes
Checks required props for components like Screenshot, Aside, Code, LinkCard, Card, and Badge.
Image references
Verifies that referenced images exist in the docs/images/
directory.
Structure checks
Ensures docs/index.mdx exists and image directories
contain no stray MDX files.
Export and code blocks
Verifies that variables used in Code component code
props have matching exports.
The skill intelligently scopes its review:
docs/**/*.mdx
files, only those files are revieweddocs/**/*.mdx files are reviewedFindings are grouped by severity:
Each finding includes the file path, line number, and a description of the issue.
/f5xc-docs-tools:review-mdx [path-or-glob]Runs the mdx-content-reviewer skill on demand.
Arguments:
| Argument | Required | Description |
|---|---|---|
path-or-glob | No | File path or glob pattern to scope the review. Defaults to all docs/**/*.mdx files. |
Examples:
# Review all MDX files in docs//f5xc-docs-tools:review-mdx
# Review a specific file/f5xc-docs-tools:review-mdx docs/getting-started.mdx
# Review files matching a glob/f5xc-docs-tools:review-mdx docs/guides/*.mdxOutput: A summary line at the end reports total files reviewed and finding counts by severity.
The plugin validates imports against these sources:
Starlight built-in components (@astrojs/starlight/components):
Aside Badge Card CardGrid Code FileTree Icon
LinkCard Steps TabItem Tabs
f5xc-salesdemos theme components (@f5xc-salesdemos/docs-theme/components/):
Banner Icon LinkCard Screenshot
| Component | Required Props | Optional Props |
|---|---|---|
| Screenshot | alt + at least one of light or dark | — |
| Aside | type | title |
| Code | code, lang | title, frame, mark, ins, del |
| LinkCard (theme) | title, href | description, icon |
| Card | title | icon |
| Badge | text | variant |
| Steps | — | — |
| Tabs / TabItem | TabItem: label | — |
| CardGrid | — | — |
| FileTree | — | — |
Common issues the plugin catches:
| Pitfall | Problem | Fix |
|---|---|---|
Bare < | MDX interprets as JSX tag | Use &lt;, inline code, or rephrase |
Unescaped \{ \} | MDX treats as JSX expression | Use inline code, escape with \, or use code block |
| Braces in filenames | Astro cannot process the file | Never use \{ or \} in .mdx filenames |