Skip to main content

function-docstrings

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

来源信息

仓库
proflead/codex-skills-library
最近来源活动
2026年1月12日 16:12
检测到的 SKILL.md 语言
英语
星标
167
Forks
37

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
function-docstrings
description
Write concise docstrings for functions. Use when a junior developer needs help describing inputs, outputs, and errors.
# 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.
在 GitHub 查看