doc-comments
Purpose
Developer-facing comments and doc comments in this repository are read by contributors, months or years after they were written, with none of the context you have right now. This skill defines who that reader is, what each kind of comment is for, and which patterns are banned.
Scope boundary: rustdoc inside declare_lint_rule! / declare_assist_rule!
blocks is end-user documentation generated into the website. Load this skill for
comment hygiene, but use
lint-rule-development for the audience,
content structure, examples, and option documentation. Its content rules take
precedence for those blocks.
The Reader
For developer-facing comments, write for a Biome contributor who is competent in Rust but has no access to your current context: not this conversation, not the pull request, not the issue, not the diff. They see only the repository at HEAD.