script-validate

Validate Python scripts for docstrings, argparse, encoding, and README compliance.

Updated Apr 2, 2026
One-click install
npx skills add https://github.com/oogDZ/2 --skill script-validate
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: script-validate
Source: https://github.com/oogDZ/2/tree/main/.claude/skills/script-validate
Command: npx skills add https://github.com/oogDZ/2 --skill script-validate

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates validation of Python scripts to ensure compliance with coding standards, including docstrings, CLI definitions, encoding, and README registration.

Core Features & Use Cases

  • Docstring & metadata validation: checks presence and quality of module and function docstrings.
  • Argparse validation: validates CLI interfaces, arguments, and help texts against definitions.
  • Encoding checks: ensures UTF-8 encoding and proper handling of non-ASCII data.
  • Readme cross-reference: verifies that scripts are documented and linked in the project README.
  • Use Case: during code reviews or pre-merge audits to enforce standardization.

Quick Start

Run the validator on a target Python script to emit a compliance report.

Frequently Asked Questions about script-validate

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I validate Python scripts for docstrings and argparse compliance?

Validate Python scripts for standard compliance by parsing module and function docstrings, verifying argparse CLI definitions, checking UTF-8 encoding, and confirming README linkage to generate a structured report.

How do I check if my Python script is registered in the project README?

Check README registration by cross-referencing the target Python script against the project README to verify that the script is properly documented and linked.

Can I use this to enforce encoding standards for non-ASCII data in Python?

Yes, you can enforce encoding standards by running validation checks that ensure Python scripts use UTF-8 encoding and properly handle non-ASCII data.

What is the best way to automate Python code reviews for coding standards?

Automate Python code reviews by running a validator during pre-merge audits to catch standard violations early, producing a structured compliance report for development workflows.

Does Python script validation check argparse help texts against definitions?

Yes, argparse validation checks CLI interfaces by validating arguments and help texts against their definitions to ensure standard compliance.