Automated technical writing style and quality enforcement. Lint documentation with Vale, check for inclusive language, enforce style guides, and analyze readability metrics.
Lints technical documentation for style, readability, inclusive language, and terminology consistency.
npx claudepluginhub a5c-ai/babysitterThis skill is limited to using the following tools:
README.mdAutomated technical writing style and quality enforcement.
Invoke this skill when you need to:
| Parameter | Type | Required | Description |
|---|---|---|---|
| inputPath | string | Yes | Path to documentation file or directory |
| action | string | Yes | lint, readability, terminology, inclusive |
| styleGuide | string | No | Style guide to apply (google, microsoft, custom) |
| configPath | string | No | Path to Vale or custom config |
| glossaryPath | string | No | Path to terminology glossary |
| minReadability | number | No | Minimum readability score (0-100) |
{
"inputPath": "./docs",
"action": "lint",
"styleGuide": "google",
"configPath": ".vale.ini",
"minReadability": 60
}
{
"files": 25,
"errors": 8,
"warnings": 34,
"suggestions": 56,
"issues": [
{
"file": "docs/api/authentication.md",
"line": 42,
"column": 15,
"rule": "Google.Passive",
"message": "In general, use active voice instead of passive voice.",
"severity": "warning",
"context": "The token is validated by the server."
}
],
"readabilityScores": {
"fleschKincaid": 62.5,
"gunningFog": 10.2,
"avgSentenceLength": 18.3,
"avgWordLength": 5.1
}
}
{
"inconsistencies": [
{
"term": "backend",
"variants": ["back-end", "back end", "Backend"],
"preferred": "backend",
"occurrences": [
{ "file": "docs/arch.md", "line": 15, "found": "back-end" },
{ "file": "docs/guide.md", "line": 42, "found": "Backend" }
]
}
],
"undefined": [
{
"term": "microservice",
"occurrences": 12,
"suggestion": "Add to glossary with definition"
}
]
}
StylesPath = .vale/styles
MinAlertLevel = suggestion
Packages = Google, Microsoft, write-good, alex
[*.md]
BasedOnStyles = Vale, Google, write-good
# Custom rules
Google.Passive = warning
Google.We = suggestion
Google.Will = warning
Google.Wordiness = warning
write-good.Passive = warning
write-good.Weasel = warning
write-good.TooWordy = suggestion
# Disable specific rules
Vale.Spelling = NO
[*.mdx]
BasedOnStyles = Vale, Google
[CHANGELOG.md]
BasedOnStyles = Vale
# .vale/styles/Custom/Terminology.yml
extends: substitution
message: "Use '%s' instead of '%s'."
level: error
ignorecase: true
swap:
back-end: backend
front-end: frontend
e-mail: email
log-in: login
set-up: setup
on-premise: on-premises
blacklist: blocklist
whitelist: allowlist
master: main
slave: replica
# .vale/styles/Custom/ActiveVoice.yml
extends: existence
message: "Avoid passive voice: '%s'"
level: warning
tokens:
- 'is being'
- 'was being'
- 'has been'
- 'have been'
- 'had been'
- 'will be'
- 'is done'
- 'was done'
- 'are done'
- 'were done'
{
"allow": [
"execute"
],
"profanitySureness": 2,
"noBinary": true
}
<!-- Before -->
The user himself must configure the whitelist.
Click the master switch to enable.
<!-- After -->
The user must configure the allowlist.
Click the primary switch to enable.
| Metric | Range | Interpretation |
|---|---|---|
| Flesch-Kincaid | 0-100 | Higher = easier (60-70 ideal for docs) |
| Gunning Fog | 0-20 | Lower = easier (8-12 ideal) |
| SMOG Index | 0-20 | Years of education needed |
| Coleman-Liau | 0-20 | Grade level |
{
"file": "docs/quickstart.md",
"metrics": {
"fleschKincaid": 65.2,
"gunningFog": 9.8,
"smog": 10.1,
"colemanLiau": 11.2,
"automatedReadability": 10.5
},
"statistics": {
"sentences": 45,
"words": 823,
"syllables": 1247,
"complexWords": 89,
"avgSentenceLength": 18.3,
"avgWordLength": 4.8
},
"suggestions": [
"Break up long sentences (3 sentences over 30 words)",
"Simplify complex words: 'implementation' -> 'setup'",
"Reduce jargon density in paragraphs 3-5"
]
}
terms:
- term: API
definition: Application Programming Interface
usage: Always use uppercase API, not Api or api
- term: backend
definition: Server-side application code
usage: One word, lowercase (not back-end or back end)
- term: SDK
definition: Software Development Kit
usage: Always use uppercase SDK
expansion_first_use: true
- term: OAuth
definition: Open Authorization standard
usage: Capital O, lowercase auth
prohibited:
- term: simple
reason: Subjective; what's simple for one may not be for another
- term: easy
reason: Subjective; use specific guidance instead
- term: just
reason: Minimizing; implies task is trivial
- term: obviously
reason: May make readers feel inadequate
{
"devDependencies": {
"vale": "^3.0.0",
"alex": "^11.0.0",
"write-good": "^1.0.0",
"textstat": "^0.7.0",
"proselint": "^0.13.0"
}
}
# Install Vale packages
vale sync
# Lint documentation
vale docs/
# Check inclusive language
npx alex docs/
# Write-good analysis
npx write-good docs/**/*.md
# Generate readability report
node scripts/readability.js docs/
| Rule | Microsoft | Vale Default | |
|---|---|---|---|
| Passive Voice | Warning | Warning | Suggestion |
| Future Tense | Warning | Off | Off |
| First Person | Suggestion | Off | Off |
| Contractions | Allowed | Discouraged | Off |
| Oxford Comma | Required | Required | Off |
Activates when the user asks about AI prompts, needs prompt templates, wants to search for prompts, or mentions prompts.chat. Use for discovering, retrieving, and improving prompts.
Search, retrieve, and install Agent Skills from the prompts.chat registry using MCP tools. Use when the user asks to find skills, browse skill catalogs, install a skill for Claude, or extend Claude's capabilities with reusable AI agent components.
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill content", or needs guidance on skill structure, progressive disclosure, or skill development best practices for Claude Code plugins.