Documentation standards
SkillDocs & knowledgeDocumentation standards for docs/ — semantic line breaks, sentence case headings, mermaid diagrams, Next steps grid cards, and the link-don't-duplicate rule. Use when writing or updating any user guide, developer guide, or modeling page.
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the Documentation standards skill
What this skill tells your AI
The instructions your AI receives, as published by hass-energy/haeo in .agents/skills/documentation/SKILL.md and read by ahel’s review.
See documentation-guidelines.md for comprehensive guidelines.
Formatting tools
- Markdown: mdformat for consistent formatting
- JSON: Prettier for consistent formatting
Core principles
- DRY: Link to source code instead of duplicating implementation details
- Guide, don't duplicate: Explain concepts and locations, not line-by-line code
- Link to Home Assistant: Reference HA docs for standard concepts
Semantic line breaks
Use one sentence per line following SemBr specification:
All human beings are born free and equal in dignity and rights.
They are endowed with reason and conscience.
Break lines at semantic boundaries:
- Required: After sentences (., !, ?)
- Recommended: After independent clauses (,, ;, :, —)
- Optional: After dependent clauses for clarity
Never break lines based on column count.
Formatting
- Use backticks for: file paths, filenames, variable names, field entries
- Sentence case for all headings
- American English spelling
Diagrams
Use mermaid for all diagrams:
- Flowcharts for network topology
- XY charts for time series data
- State diagrams for operational modes
Next steps sections
All user-facing pages must end with a Next steps section (heading ## Next steps) using Material grid cards:
## Next steps
<div class="grid cards" markdown>
- :material-battery:{ .lg .middle } **Configure battery**
---
Set up battery storage for your network.
[:material-arrow-right: Battery setup](elements/battery.md)
</div>
Cross-references
- Use descriptive link text: "See the Forecasts guide"
- Reference specific sections when helpful
- User guides link to reference docs, not vice versa
What to avoid
- Duplicating implementation details from code
- Quantitative performance claims without benchmarks
- Line-by-line code explanations
- Plain text file names without links when mentioning specific files
Signals
- GitHub stars
- 65
- Forks
- 21
- Last commit
- Aug 2026
Advanced
- Catalog kind
- skill
- Gateway key
documentation-hass-energy- Source
- github.com/hass-energy/haeo