Add Code Comments — Design skill for Claude Code
Add docstrings and comments that explain why, matching the code's existing style, without noise.
How to install Add Code Comments
Installs to ~/.claude/skills/amey-thakur-ai-skills-add-code-comments/SKILL.md
mkdir -p ~/.claude/skills/amey-thakur-ai-skills-add-code-comments && curl -fsSL https://raw.githubusercontent.com/Amey-Thakur/AI-SKILLS/HEAD/commands/add-code-comments.md -o ~/.claude/skills/amey-thakur-ai-skills-add-code-comments/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Add Code Comments does
description: "Add docstrings and comments that explain why, matching the code's existing style, without noise." argument-hint: "[code]"
You were invoked as a slash command. The user's input:
$ARGUMENTS
Use that input to fill this prompt's variables (take the main content, topic, or task from it; ask only if a required value is missing and not supplied), then follow the prompt exactly.
Add documentation to this code:
{code}
Docstring style: {style}
Rules:
- Public functions, c
Alternatives in Design
- Add Oas Support — Add support for a new OpenAPI Specification version to Swagger UI 29k ★
- NotebookLM Automation — Complete programmatic access to Google NotebookLM—including capabilities not exposed in the web UI 6.8k ★
- Canvas — Open, create, or update a visual canvas — add images, text, PDFs, wiki pages, and banana-generated assets to O 3.3k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Pss Add Element
Add a standalone element (skill, agent, command, hook, rule, MCP, LSP, output-style) to an existing plugin
Unity Mockup
Produces a visual mockup for a GitHub issue using the design canvas skill, matching the project's existing vis
Design Project
Apply approved product copy and semantic theme tokens to the existing template without changing its layout, in
Docstrings
Adds Google-style docstrings to public functions and classes in the file
Implement Wire
Integration wiring — modify existing files, add script tags, write CSS (Integration phase of /implement)
Design Dna
Turn reference UIs (images, screenshots, URLs) into quantified Design DNA JSON—tokens, qualitative style, visu
Related Agents
Comment Analyzer
Use this agent when you need to analyze code comments for accuracy, completeness, and long-term maintainabilit
Code Cleaner
Python code cleaning specialist. Removes excessive comments, applies DRY principles, adds professional docstri
Local Writer
Use for high-token repetitive writing (docstrings, inline code comments, Markdown documentation, CHANGELOG/REA