DrLux

Docstrings — Design skill for Claude Code

Design community

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

Terminal
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 (omit self/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 Repository