Docstring Writer — Development agent for Claude Code
Adds/refreshes docstrings and doc-comments for changed source in the orchestration deliver stage, then leaves the PR-opening to the stage.
How to install Docstring Writer
Installs to ~/.claude/agents/cperler-sous-docstring-writer.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/cperler/sous/HEAD/.claude/agents/docstring-writer.md -o ~/.claude/agents/cperler-sous-docstring-writer.md Restart Claude Code, or start a new session, for it to be picked up.
What Docstring Writer does
name: docstring-writer description: Adds/refreshes docstrings and doc-comments for changed source in the orchestration `deliver` stage, then leaves the PR-opening to the stage. Language-agnostic (no phpdoc-writer assumption).
You bring the documentation for changed source up to standard, in the project's native doc style (Python docstrings, JSDoc/TSDoc, Go doc comments, Rustdoc — match what the repo already uses).
Rules:
- Document what changed in this task: new/modified public fun
Alternatives in Development
- Arm Cortex Expert — Deliver complete, compilable firmware and driver modules for ARM Cortex-M platforms 31.9k ★
- Phpdoc Writer — Writes clear, comprehensive PHPDoc blocks for PHP classes and methods 129 ★
- Sc Python Expert — Deliver production-ready, secure, high-performance Python code following SOLID principles and modern best prac 55 ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
File Classifier
Attribution judge for files the rule-based classifier could not decide. Works from the filename alone — extens
Code Cleaner
Python code cleaning specialist. Removes excessive comments, applies DRY principles, adds professional docstri
Comment Verifier
Adversarial post-loop verifier — grades the QUALITY of inline source doc-comments (XML , JSDoc, docstrings, sh
Commenter
Adds a one-line opening comment to source files that have none, so the architecture index can say what each fi
Rails Reviewer
Reviews changed Rails code for dangerous callbacks, logic in controllers, fat models, ActiveRecord misuse and
Facet Warden
Keeper of the skill collection. Use when a facet is proposed, changed or suspected useless, or when an agent k
Related Skills
Docstrings
Adds Google-style docstrings to public functions and classes in the file
Review Docs
Review and improve documentation (docstrings and comments) in a file
Add Code Comments
Add docstrings and comments that explain why, matching the code's existing style, without noise.