script-quality-gate

Official

Enforce consistent, well-documented Python scripts.

AuthorOpen-Earth-Foundation
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill ensures runnable Python scripts and CLI entrypoints adhere to documented standards, preventing ambiguity and drift in project codebases.

Core Features & Use Cases

  • Docstring enforcement: require a top-level module docstring describing purpose and usage.
  • Argparse & CLI consistency: ensure command-line interfaces follow the project's conventions and provide helpful --help output.
  • main entrypoint & logging: verify presence of a main() guard and proper logging configuration.
  • Use Case: When adding a new script or modifying an existing CLI, run this skill to validate structure, naming, and packaging.

Quick Start

Run the gate against a new or updated script to verify docstrings, argparse, main, and logging conventions are satisfied.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: script-quality-gate
Download link: https://github.com/Open-Earth-Foundation/CityCatalyst/archive/main.zip#script-quality-gate

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.