rust-cleanup
Installation
SKILL.md
- 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,# Safetysections 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
Related skills
More from alb-o/pw-rs
pw-higgsfield
higgsfield ai image/video generation using pw protocol wrappers. trigger when user wants to generate images or videos.
12pw
core usage of pw (playwright cli) on protocol-first surface. use when user requests browser tasks.
9pw-pair-programming
driver-to-navigator collaboration using pp (send messages, attach files, download artifacts) on pw protocol wrappers.
9