goke

Build type-safe TypeScript command-line applications with schema-based argument parsing.

1.3k|109|Updated Sep 2, 2025
One-click install
npx skills add https://github.com/remorses/kimaki --skill goke
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: goke
Source: https://github.com/remorses/kimaki/tree/main/discord/skills/goke
Command: npx skills add https://github.com/remorses/kimaki --skill goke

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill simplifies the creation of command-line interfaces (CLIs) for TypeScript projects, handling complex argument parsing, type coercion, and help message generation automatically.

Core Features & Use Cases

  • Schema-based Type Coercion: Automatically converts string inputs to numbers, booleans, arrays, or objects using Zod, Valibot, or ArkType schemas.
  • Command & Subcommand Management: Organizes CLI logic into hierarchical commands and subcommands with support for aliases and variadic arguments.
  • Automated Help Generation: Creates comprehensive --help output based on command descriptions, option schemas, and examples.
  • Use Case: Develop a CLI tool for deploying applications, managing databases, or interacting with an API, ensuring type safety and a great user experience.

Quick Start

Use the goke skill to create a new CLI application named 'mycli' with a 'serve' command.

Frequently Asked Questions about goke

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

FAQPage Schema
How do I build a type-safe CLI in TypeScript with schema-based argument parsing?

Build a type-safe CLI in TypeScript by using a framework that integrates schema libraries like Zod to automatically coerce string inputs into typed objects and manage commands. This approach handles parsing and generates help output automatically.

Can I use Zod schemas to validate and coerce command-line arguments in TypeScript?

Yes, you can use Zod schemas to validate and coerce command-line arguments in TypeScript. The framework automatically converts string inputs to numbers, booleans, arrays, or objects based on your defined schema, ensuring robust type inference.

What is the best way to generate automated help messages for a command-line application?

The best way to generate automated help messages is using a CLI framework that automatically creates comprehensive --help output based on your command descriptions, option schemas, and examples without requiring manual string formatting.

Does this TypeScript CLI framework support hierarchical commands and subcommands?

Yes, this TypeScript CLI framework supports hierarchical commands and subcommands. It organizes CLI logic efficiently with support for command aliases and variadic arguments to structure complex command-line interfaces.

Do I need external dependencies to handle argument parsing for a TypeScript CLI?

No, you do not need external dependencies to handle argument parsing for a TypeScript CLI. This framework provides zero-dependency management for commands, options, and automated help generation while supporting optional schema integration.

Why does schema-based type coercion matter for command-line interface development?

Schema-based type coercion matters for command-line interface development because raw string inputs require validation and conversion. Using schemas ensures arguments are safely coerced into typed data structures, preventing runtime errors and improving developer experience.