function-docstrings

Write concise docstrings for functions. Intended for junior developers who need help describing inputs, outputs, and errors.

Last repository push
GitHub Stars
171
Forks
36
Issues / PRs
7

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "function-docstrings" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-7e36849dc02910ad06470cfa9fdacb6c7a4a758434fad50b55ee0bfebb0c3767. Verify the upstream source and version against https://github.com/proflead/codex-skills-library before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

github.com

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Write concise docstrings for functions. Intended for junior developers who need help describing inputs, outputs, and errors.

0 Downloads

Introduction source: third_party · proflead · 0.0.1 Reference

SkillPi interpretation

Tasks
Write concise docstrings for functions. Use when a junior developer needs help describing inputs, outputs, and errors.
Inputs and outputs
Function signature and behavior. Edge cases or error conditions. Project docstring style guide.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
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.

Current listing version

0.0.1

Verify the source revision ↗

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value75/100

Highlights

  • 面向初级开发者编写函数文档字符串,具有明确的实用价值和广泛受众
Trigger Precision85/100

Highlights

  • 触发描述清晰,明确指出适用场景和用户群体,边界清晰
Structure and Standards88/100

Highlights

  • 结构完整,包含 Purpose、Inputs、Workflow、Output、Quality bar,步骤清晰,frontmatter 完整
Execution Reliability90/100

Areas to improve

  • description写错位置 Reported severity: Minor

    顶层 frontmatter 中 description 字段为空,实际描述内容位于 skill_body 内部

    Recommendation: 建议将 description 内容移至顶层 frontmatter 的 description 字段,保持规范一致

Highlights

  • 无外部工具依赖,纯流程指导,逻辑完整,无执行风险
Evidence Verifiability (mean of the first four)85/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.