add-ishlib-tool

Scaffold and register new ishlib CLI tools in tools.py with tests.

Updated Mar 19, 2021
One-click install
npx skills add https://github.com/ishkamiel/ishlib --skill add-ishlib-tool
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: add-ishlib-tool
Source: https://github.com/ishkamiel/ishlib/tree/main/.claude/skills/add-ishlib-tool
Command: npx skills add https://github.com/ishkamiel/ishlib --skill add-ishlib-tool

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Add a new top-level ishlib CLI tool to the project and the registry when you need to extend ishlib with a new command-line utility, scaffold a new CLI under pyishlib, or register a new tool in the ishlib plugin registry. Also trigger when the user mentions wanting a new ish<name> command that should live in src/pyishlib/.

Core Features & Use Cases

  • Clear steps to register a new CLI tool in src/pyishlib/tools.py and scaffold the Python package under src/pyishlib/<name>/, followed by tests and launcher integration.
  • End-to-end workflow from registration to launcher generation that enables a new ish<name> command to be discovered and executed.
  • Supports optional documentation updates as part of the integration.

Quick Start

Register and scaffold a new ishlib CLI tool following the steps above.

Frequently Asked Questions about add-ishlib-tool

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

FAQPage Schema
How do I scaffold a new CLI tool in Python and register it in an existing project?

Scaffolding a new CLI tool involves registering the tool in tools.py, generating the Python package directory under src/pyishlib/, and wiring tests to ensure the new command-line utility is properly integrated and executable.

What's the best way to add a new ish command to a Python CLI registry?

The best way to add a new ish command is to follow an end-to-end workflow that updates the plugin registry, scaffolds the Python package directory, and renders launchers to ensure the command is discovered and executed seamlessly.

How does launcher generation work when extending a Python CLI tool?

Launcher generation works by rendering executable entry points after a new CLI tool is registered and scaffolded, ensuring the Python package is wired correctly to allow the command-line utility to be invoked directly.

Does scaffolding a new CLI tool include setting up tests and documentation?

Yes, scaffolding a new CLI tool includes wiring tests for the Python package and supports optional documentation updates as part of the integration process to maintain project consistency.

When do I need to update tools.py for a new command-line utility?

You need to update tools.py when you want to extend the project with a new top-level CLI tool, ensuring the new command is registered in the plugin registry before scaffolding the Python package and generating launchers.