SKILL.md
Check HashiCorp Style Guide
Validates against all rules in templates/styleguide.md.
Arguments
- file-paths: One or more
.mdxfiles (required) - --fix / -f: Apply auto-fixable corrections
- --report-only / -r: Report without changes
Top 12 Guidelines
- Active voice — subject performs action
- Present tense — avoid "will" for immediate actions
- No future promises — avoid "new"/"currently"
- No abbreviations — TF, TFE, TFC, TFC4B, TFCB, HCP TF, VSO, COM
- "We" for HashiCorp only
- "You" for reader actions
- Linear flow — no "above"/"below", use "following"
- No unnecessary words — "in order to" → "to"
- Simplest words — "lets" not "enables/allows"
- No foreign/jargon — avoid "via", "etc.", Latin words
- No adjacent elements without separation
- Mix prose and lists
Additional rules from styleguide.md
Grammar/punctuation (serial commas), markdown formatting, heading sentence case, link formatting, code block syntax, alert usage, word choice, inclusive language.
Auto-fixable
Present tense ("will show" → "shows"), word choice ("allows/enables" → "lets"), foreign words ("via" → "using"), unnecessary phrases ("in order to" → "to"), abbreviations ("TF" → "Terraform"), simple passive voice.
Manual review required
Complex passive voice (sentence restructuring), "we" usage (context-dependent), adjacent elements, directional references ("above"/"below" → specific section links).
Instructions
- Read target document(s)
- Read
templates/styleguide.mdfor all style rules - Check document against every applicable rule
- Report findings with line numbers, current text, suggested fix, [AUTO-FIX] or [MANUAL]
- Apply fixes with Edit tool if --fix provided