"Enforces PEP-257 Google-style docstrings for Python and detailed JSDoc comments for JavaScript/Node.js utilities."
Install
npx skillscat add cmsfornerd/cmsfornerd2/docstring-and-jsdoc Install via the SkillsCat registry.
SKILL.md
Docstring and JSDoc Documentation Standard Skill
This skill enforces strict function-level, module-level, and class-level documentation standards across Python and JavaScript codebases.
Operational Standards
Python Docstrings (PEP-257 & Google Style):
- All modules, classes, public functions, and internal helper functions must contain PEP-257 compliant docstrings formatted according to the Google Python Style Guide.
- Specify
Args,Returns,Raises, andExamplesections where applicable.
JavaScript / Node.js JSDoc Comments:
- All CJS and ESM scripts must carry detailed module header JSDoc blocks and
@param/@returnsannotations for every function.
- All CJS and ESM scripts must carry detailed module header JSDoc blocks and
Bash Utility Headers:
- Include clear script headers detailing description, prerequisites, usage, and line-by-line operational comments.
Deep State of Mind (DSOM) For My AI Protocol | Harisfazillah Jamel (LinuxMalaysia) | 2026-09-05
Standard: UK English | DBP-standard Bahasa Melayu Malaysia (Piawai) | GNU General Public License v3.0