-
review the current work for inline comments, consolidate useful technical information into proper rustdoc docstrings:
-
remove trivial inline comments
-
move comments explaining why or tech specs into rust docstrings
-
follow rustdoc conventions: Use # Examples , # Panics , # Errors , # Safety sections where appropriate
-
treat docstrings as tech specs with additional (start simple first line(s), move to spec lower, with intra-doc links)
-
remove implementation-specific qualifiers and trailing parenthesized text
-
remove comments used for section markers
-
do NOT outright remove docstrings, especially from pubs
-
MUST keep docstrings thorough and technical
-
briefly rework any inelegant or verbose code
-
check for tramp data, unecessary vars that could be inlined, performative error handling, etc.
-
prefer data-oriented orthogonal approaches
rust-cleanup
- review the current work for inline comments, consolidate useful technical information into proper rustdoc docstrings:
Safety Notice
This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.
Copy this and send it to your AI assistant to learn
Install skill "rust-cleanup" with this command: npx skills add alb-o/pw-rs/alb-o-pw-rs-rust-cleanup
Source Transparency
This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.
Related Skills
Related by shared tags or category signals.