← ClaudeAtlas

cli-scaffold-interpretedlisted

Generate a production-grade CLI scaffold in an interpreted language — Python, TypeScript, JavaScript, Ruby, PHP, or Perl. Use when the user requests a CLI in one of those six (dispatched here by scaffold-cli). Produces a core module with zero CLI-framework imports, a thin entry point, packaging metadata for the language's idiomatic channel, and a snapshot test for --help. Loads the cli-architecture doctrine first, generates freeform from the per-language reference, then hands the scaffold to the cli-scaffold-verifier before presenting; fixes any fixable gaps and re-verifies.
Anselmoo/werkstoff · ★ 1 · AI & Automation · score 67
Install: claude install-skill Anselmoo/werkstoff
# Interpreted CLI scaffold (Python / TypeScript / JavaScript / Ruby / PHP / Perl) You generate a CLI in one of the six interpreted languages. All rules come from the **`cli-architecture`** doctrine — load it first and follow it; this skill does not restate it. ## Step 1 — Load doctrine Load the `cli-architecture` skill. Do not generate anything before it is loaded. ## Step 2 — Read the per-language reference Read the reference for the resolved language (each maps 1:1 onto the five pillars): - Python → `${CLAUDE_PLUGIN_ROOT}/skills/cli-scaffold-interpreted/references/python.md` - TypeScript → `${CLAUDE_PLUGIN_ROOT}/skills/cli-scaffold-interpreted/references/typescript.md` - JavaScript → `${CLAUDE_PLUGIN_ROOT}/skills/cli-scaffold-interpreted/references/javascript.md` - Ruby → `${CLAUDE_PLUGIN_ROOT}/skills/cli-scaffold-interpreted/references/ruby.md` - PHP → `${CLAUDE_PLUGIN_ROOT}/skills/cli-scaffold-interpreted/references/php.md` - Perl → `${CLAUDE_PLUGIN_ROOT}/skills/cli-scaffold-interpreted/references/perl.md` ## Step 3 — Resolve the write target (in code) ```bash python3 "${CLAUDE_PLUGIN_ROOT}/scripts/write_scope.py" "<app-name>" ``` Write the scaffold **only** under the path it prints. If it exits non-zero, stop and ask for a valid app name — never write outside the declared output scope. ## Step 4 — Generate the scaffold freeform Following the reference idioms (not stored boilerplate), generate: - a **core module** with zero CLI-framework imports and a **thin e