Command Palette

Search for a command to run...

UnylyUnyly
Back to skills

function-docstrings

FreeNo executable scriptsNot checked

Write concise docstrings for functions. Use when a junior developer needs help describing inputs, outputs, and errors.

profleadby proflead★ 171 GitHub stars

About this skill

Function Docstrings

Purpose

Write concise docstrings for functions.

Inputs to request

  • Function signature and behavior.
  • Edge cases or error conditions.
  • Project docstring style guide.

Workflow

  1. Describe purpose in one sentence.
  2. List parameters with types and meaning.
  3. State return value and error conditions.

Output

  • Docstring block in project style.

Quality bar

  • Keep wording precise and minimal.
  • Match the project formatting style.

Install function-docstrings in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

FAQ

What does the function-docstrings skill do?

Write concise docstrings for functions. Use when a junior developer needs help describing inputs, outputs, and errors.

How do I install the function-docstrings skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the function-docstrings skill run scripts?

No, this skill is instructions only (SKILL.md) with no executable scripts.

Related skills

Compare function-docstrings with