Docstrings — Design skill for Claude Code
Adds Google-style docstrings to public functions and classes in the file.
How to install Docstrings
Installs to ~/.claude/commands/drlux-claude-code-template-docstrings.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/DrLux/claude-code-template/HEAD/.claude/commands/docstrings.md -o ~/.claude/commands/drlux-claude-code-template-docstrings.md Restart Claude Code, or start a new session, for it to be picked up.
What Docstrings does
name: docstrings description: Adds Google-style docstrings to public functions and classes in the file
Add docstrings in Google Style format to all public functions, methods and classes (not starting with `_`) in the current or specified file.
- First line: concise description (do not repeat the function name).
Args:with type and description (omitself/cls).Returns:type and description of the return value.Raises:exceptions that may be raised.Example:optional,
Alternatives in Design
- Brand Guidelines — Apply Anthropic's official brand colors and typography to artifacts 94.1k ★
- Planning With Files — Claude Code skill implementing Manus-style persistent markdown planning — the workflow pattern behind the $2B 17.4k ★
- Explanatory Output Style — Educational output mode with insights about implementation choices 14k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Add Code Comments
Add docstrings and comments that explain why, matching the code's existing style, without noise.
Claude Skill Debug Walk
Claude Code skill: walk one code behavior like a debugger, with a Markdown report and a Step Functions-style e
Claude Visual Style Skill
🇨🇳 中文文档 This project is an implementation of an agent skill using public prompts. All design style prompts a
ShanireZskills
ShanireZskills: public Agent Skills marketplace for competitive-programming C++ style and K-12 teaching workfl
Utility
CSS utility class creation and updates. Use when adding, modifying, or checking Dialtone CSS utilities (d- cla
UI Lint
Lint Flutter UI code for design-token violations, a11y gaps and too many widget classes per file (mobile-taste
Related Agents
Doc Test Alignment
Audits a staged/branch diff for new public API surface (exceptions, classes, public functions, CLI commands, I
Code Cleaner
Python code cleaning specialist. Removes excessive comments, applies DRY principles, adds professional docstri
Docstring Writer
Adds/refreshes docstrings and doc-comments for changed source in the orchestration deliver stage, then leaves