document-code vs pdf
Side-by-side comparison of two Claude Agent Skills. Pick the right one for Claude Code or Claude Desktop.
Decide whether a comment belongs, and write the ones that do — in Ruby, YAML, a Dockerfile, a shell script, tests or config. Use it before adding any comment…
Comparison
| Feature | document-code | |
|---|---|---|
| Bundled scripts | no | yes |
| Allowed tools | any | any |
| Install scope | personal | personal |
| Category | documents | documents |
| Verified | — | |
| License | MIT | Complete terms in LICENSE.txt |
| Author | hoblin | Anthropic |
| Repo | hoblin/claude-ruby-marketplace | anthropics/skills |
When to pick document-code
Decide whether a comment belongs, and write the ones that do — in Ruby, YAML, a Dockerfile, a shell script, tests or config. Use it before adding any comment, docstring or YARD block, including one you are about to write mid-implementation, and before deleting or rewording one already there. Use it when finished code carries no documentation, when asked to document code or add YARD, and when auditing what a file or a diff already carries. Use it unprompted when a review says a comment restates the code, narrates reasoning, is outdated, or should be deleted rather than shortened. Not for prose documents — a README, a wiki page, a plan or a ticket.
When to pick pdf
Use this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs, filling PDF forms, encrypting/decrypting PDFs, extracting images, and OCR on scanned PDFs to make them searchable. If the user mentions a .pdf file or asks to produce one, use this skill.
Looking for something else? Browse all skills.