Skip to content
Back to skills

Script To Package

ASecurity

Turn a constants-at-top pipeline script into a configured, resumable, tested CLI.

  • 8 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 19, 2026
ai-agents

Works with

  • cli

Security analysis

A100/100

Scanned September 19, 2026

npx -y skills add Adilmunawar/ZD-claude-plugin --skill script-to-package --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Script To Package?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Script To Package
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/adilmunawar-script-to-package/badge)](https://www.skillsdirectory.com/skills/adilmunawar-script-to-package)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: script-to-package
disable-model-invocation: true
argument-hint: "<script.py>"
description: Turn a constants-at-top pipeline script into a configured, resumable, tested CLI.
---

1. Extract the constants block into a `@dataclass Config` with defaults and a `from_args()`/YAML loader. Keep names identical so results are reproducible.
2. Replace literal tokens/keys/paths with `os.environ[...]` and relative `working_directory` paths; fail fast with a clear message if missing.
3. Wrap the body in `main(cfg)`; make loops resumable with a progress file; add `--dry-run` that prints the plan (chunks, batches) without running.
4. Add `pyproject.toml` entry point `zd-<stage>`, a `tests/test_<stage>.py` with one synthetic-input smoke test, and a README section (inputs, outputs, constants table).
5. Run the original and the new version on a small AOI; diff outputs (counts, total area); report.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…