SkillTrust

← All skills

docstring-generator

100 / 100 · Low risk

Fine to try.

By espennilsen/pi (GitHub) · coding · 122 stars · scanned at commit bc93c75

Generate and update language-idiomatic doc comments for TypeScript (TSDoc/JSDoc) and Rust (Rustdoc). Use when asked to "add docs", "document this file", "generate docstrings", "add JSDoc", "add Rustdoc", "write TSDoc", or when working with TypeScript or Rust source files that need documentation comments. Supports file-level and selection-level operations. Deterministic and idempotent — safe to run repeatedly on the same code. Does NOT change behavior, rename symbols, or refactor code.

Works with any agent that supports SKILL.md skills.

What this skill can do

We found nothing in the files we read that matches our rules. That does not prove the skill is safe: see the limits of static scanning.

Install

Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.

if [ -e ~/.agents/skills/'docstring-generator' ] || [ -L ~/.agents/skills/'docstring-generator' ]; then echo 'A skill folder named docstring-generator already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/espennilsen/pi' "$d" && git -C "$d" checkout --quiet 'bc93c758ce40b8824a0884c5a5f97f33fb27dea0' -- 'skills/docstring-generator' && mkdir -p ~/.agents/skills && cp -R "$d"/'skills/docstring-generator' ~/.agents/skills/'docstring-generator' && rm -rf "$d"; fi

Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'docstring-generator' ~/.claude/skills/'docstring-generator' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.

Badge for your README

The badge for espennilsen/pi shows the score of its lowest-scoring skill.

SkillTrust badge for espennilsen/pi

[![SkillTrust](https://zalavijaysinh.github.io/skilltrust/badges/espennilsen/pi.svg)](https://zalavijaysinh.github.io/skilltrust/repos/espennilsen/pi/)

Score history

DateVersionScore
2026-11-10bc93c75100