This is the antidote to documentation that lives in a wiki somewhere and rots while the code evolves. It teaches Claude to write comments that explain *why* code exists, not what it does, across four levels: file headers that show how pieces fit together, function docs that describe contracts and edge cases, inline comments for non-obvious decisions, and architectural notes for big tradeoffs. The philosophy is simple: write for future you, your teammates, and AI assistants who only see one file at a time. Includes language-specific patterns for TypeScript, Swift, Python, and React. Best for teams who've learned the hard way that separate documentation drifts but comments next to code get updated together.

install copies · 90 days. Times the install command was copied on this site in the last 90 days, bots filtered.
21
skills.sh installs
629
GitHub stars
49
last updated
Aug 21, 2026

Install

$ npx -y skills add petekp/claude-code-setup --skill code-comments --agent claude-code

Installs into .claude/skills of the current project.

Files

Code comments

Delete every comment that is not on the keep list. When you are not sure a comment fits an item, delete it. A comment that explains our own code usually means the code should change: make the code say it, then delete the comment. Before adding a comment while writing code, hold it to the same list.

Keep list

A comment stays only when it is one of these, and only while its claim holds today:

Sponsors

Details

Repository
github.com/petekp/claude-code-setup
Category
Documentation
First seen
Jun 3, 2026
1adobe avatardevelopmentadobe/skillsGenerate comprehensive technical documentation for developers taking over an AEM Edge Delivery Services project. Analyzes codebase structure, custom implementat604skills.sh installs
2davila7 avatarprompt-engineeringdavila7/claude-code-templatesExpert guide on prompt engineering patterns, best practices, and optimization techniques. Use when user wants to improve prompts, learn prompting strategies, or604skills.sh installs
3adobe avatarauthoringadobe/skillsGenerate comprehensive documentation for content authors taking over an AEM Edge Delivery Services project. Analyzes the project structure and produces a comple599skills.sh installs
4adobe avataradminadobe/skillsGenerate comprehensive admin documentation for AEM Edge Delivery Services project handover. Creates admin guide covering Config Service setup, permissions, acce596skills.sh installs
5netresearch avatarjira-syntaxnetresearch/jira-skillUse when writing or formatting Jira descriptions, comments, or any text destined for Jira. Converts Markdown to Jira wiki markup, provides templates (bug report596skills.sh installs
6mhattingpete avatarcodebase-documentermhattingpete/claude-skills-marketplaceGenerates comprehensive documentation explaining how a codebase works, including architecture, key components, data flow, and development guidelines. Use when u594skills.sh installs