val1813/kwcode/docstring

Claude Code and agent skill by val1813/kwcode

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Install

npx vskill@latest install val1813/kwcode/docstring

SKILL.md

领域知识

  • 默认用Google风格docstring,项目已有NumPy风格则跟随
  • 一行摘要用祈使句("计算xxx"而非"这个函数计算xxx")
  • Args段:每个参数一行,格式 name (type): 描述
  • Returns段:写明类型和含义,多返回值用tuple说明各元素
  • Raises段:只列主动raise的异常,不列底层传播的
  • 示例(Examples):给出可直接运行的doctest片段
  • 类docstring写在class行下方,描述职责而非实现
  • 中文项目用中文写docstring,英文项目用英文,混合项目跟随已有风格
  • 私有方法(_前缀)可省略docstring,公开API必须有
  • 装饰器不影响docstring位置,始终写在def下一行

经验规则(自动生成)

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
688
Repository forks
92
7-day trend score
33

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 3 Sep 2026, a month ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/val1813/kwcode/docstring/badge)](https://verified-skill.com/skills/val1813/kwcode/docstring)

Something wrong with this skill or its page? Tell us.