prd-to-cli

Community

Generate Python CLI projects from API docs.

Authormiguelfg
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill automates the creation of production-ready Python CLI applications from API documentation, significantly reducing the manual effort and time required to build command-line interfaces for APIs.

Core Features & Use Cases

  • Automated Project Scaffolding: Generates a complete Python Click CLI project structure, including pyproject.toml, Makefile, source code (src/), tests, and configuration files.
  • Resource-Based Commands: Creates one Click subcommand group for each API resource defined in the PRD.
  • Batch Processing: Supports processing requests from CSV or TXT (JSON Lines) files for bulk operations.
  • Configurable Output: Allows outputting results in JSON, CSV, or XLSX formats, with options for timestamps.
  • HTTP Library Flexibility: Supports requests, httpx, aiohttp, and urllib3 based on PRD decisions.
  • Use Case: You have a PRD for a new API. Use this Skill to instantly generate a robust Python CLI tool that developers can use to interact with the API, complete with documentation, testing, and batch processing capabilities.

Quick Start

Use the prd-to-cli skill to generate a Python CLI project from the file 'api_spec.prd.md' and save it to the directory './my-cli-project'.

Dependency Matrix

Required Modules

clickpython-dotenvpandasopenpyxlhttpxaiohttpurllib3requestspytestruffblackisort

Components

scriptsassetsreferences

💻 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: prd-to-cli
Download link: https://github.com/miguelfg/api-to-cli-skillset/archive/main.zip#prd-to-cli

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.