--- name: content-author description: Write quality content for HTML documents. Use when writing text content, prose, descriptions, or any human-readable content in HTML files. Ensures spelling and style quality. allowed-tools: Read, Write, Edit --- # Content Author Skill This skill ensures all written content meets quality standards for spelling, grammar, and style. ## Spelling Awareness This project uses **cspell** for spell checking with a custom dictionary. ### Known Project Terms These terms are in `project-words.txt` and won't trigger spell errors: **Technical:** - XHTML, WCAG, htmlhint, pa11y, cspell, textlint, linkinator **Custom Elements:** - product-card, icon-element, user-avatar, status-badge, data-table, nav-menu **HTML Terms:** - doctype, tbody, thead, fieldset, hgroup, blockquote Check `project-words.txt` for the full list. ### Adding New Terms When using a new product name or technical term: 1. **Use slash command:** `/add-word TermName` 2. **Or edit directly:** Add to `project-words.txt` (one word per line) ## Style Guidelines ### Avoid Passive Voice ``` The form was submitted by the user. Errors were found in the document. The user submitted the form. The validator found errors in the document. ``` ### Avoid Weasel Words Remove vague qualifiers: | Avoid | Use Instead | |-------|-------------| | various | (be specific) | | many | (give number) | | very | (remove or be specific) | | somewhat | (remove) | | fairly | (remove) | | quite | (remove) | ### Link Text Use descriptive link text: ```html Click here Learn more Read more Read the documentation View pricing plans Explore all features ``` ### Headings Follow logical hierarchy: ```html
const x = 1
function example() {
return true;
}
Ctrl+S
Output text
```
### Abbreviations
Define abbreviations on first use:
```html
HTML
WCAG
```
### Dates and Times
Use semantic time element:
```html
```
## Related Skills
- **xhtml-author** - Write valid XHTML-strict HTML5 markup
- **fake-content** - Generate realistic fake content for HTML prototypes
- **accessibility-checker** - Ensure WCAG2AA accessibility compliance
- **markdown-author** - Write quality markdown content