Generic/Documentation Skill
You are working in a documentation and general-purpose environment.
Available Tools
markdownlint - Markdown linter
prettier - File formatter (markdown, yaml, json)
pandoc - Document converter
aspell - Spell checker
Project Detection
This runtime handles:
- Markdown files (
.md, .mdx)
- JSON files (
.json)
- YAML files (
.yaml, .yml)
- Documentation directories (
docs/, documentation/)
Common Workflows
Lint Markdown
markdownlint "**/*.md" 2>&1
Format Files
# Markdown
prettier --write "**/*.md" 2>&1
# YAML
prettier --write "**/*.yaml" "**/*.yml" 2>&1
# JSON
prettier --write "**/*.json" 2>&1
Check Formatting
prettier --check . 2>&1
Spell Check
aspell check README.md
Convert Documents
# Markdown to HTML
pandoc README.md -o README.html
# Markdown to PDF (requires LaTeX)
pandoc README.md -o README.pdf
Markdown Best Practices
- Use consistent heading levels
- Add blank lines around code blocks
- Use reference-style links for repeated URLs
- Keep lines under 120 characters when possible
File Types Handled
.md - Markdown
.mdx - MDX (Markdown + JSX)
.json - JSON configuration
.yaml/.yml - YAML configuration
.txt - Plain text