build-cli

Builds the unity-mcp-cli TypeScript tool and links it globally.

3.8k|349|Updated Apr 2, 2025
One-click install
npx skills add https://github.com/IvanMurzak/Unity-MCP --skill build-cli
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: build-cli
Source: https://github.com/IvanMurzak/Unity-MCP/tree/main/.claude/skills/build-cli
Command: npx skills add https://github.com/IvanMurzak/Unity-MCP --skill build-cli

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Builds the unity-mcp-cli TypeScript CLI tool and links it globally for terminal use, enabling quick access from any shell.

Core Features & Use Cases

  • Install dependencies and compile TypeScript to produce dist.
  • Build and publish a globally accessible CLI binary for local development.
  • Use in CI or local workflows to simplify setup and execution of MCP tasks via the terminal.

Quick Start

Install dependencies, build the TypeScript project, and globally link the CLI for terminal use.

Frequently Asked Questions about build-cli

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

FAQPage Schema
How do I make a TypeScript CLI tool globally accessible from any terminal?

Yes, npm link exposes the CLI globally, allowing you to run it from any terminal during local development. This Skill automates the dependency installation, TypeScript build, and global linking process.

Do I need Node.js and npm installed to build a global CLI?

Yes, you need Node.js, npm, and TypeScript tooling installed to build the CLI. This Skill performs npm install, npm run build, and npm link to compile and expose the binary globally.

Can I use a globally linked CLI in CI workflows for task automation?

Yes, a globally linked CLI streamlines project setup and task automation in CI workflows. This Skill applies during development and CI by building and linking the CLI for global terminal access.

What's the best way to expose an npm CLI binary for local development?

The best way to expose an npm CLI binary for local development is to compile TypeScript to dist and run npm link. This Skill automates that workflow to produce a globally accessible CLI.

Why does my TypeScript CLI build fail before global linking?

A TypeScript CLI build may fail if Node.js, npm, and TypeScript tooling are not properly configured. This Skill handles the required npm install and build steps before executing the global link.