CLI Development Skill

Official

Develop and test the Scratch CLI.

Authorscratch
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides patterns and guidance for developing and testing the Scratch Command Line Interface (CLI), streamlining the development workflow.

Core Features & Use Cases

  • Command Addition: Clear steps for adding new CLI commands.
  • Build Pipeline Modification: Guidance on updating build steps and configuration.
  • Template Management: Instructions for adding and updating project templates.
  • Testing Framework: Procedures for running unit, E2E, and integration tests.
  • Use Case: A developer needs to add a new scratch publish command. They can follow the documented steps to create the handler, register it, and test it thoroughly.

Quick Start

Follow the instructions in the SKILL.md file to add a new CLI command.

Dependency Matrix

Required Modules

None required

Components

references

💻 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: CLI Development Skill
Download link: https://github.com/scratch/scratch/archive/main.zip#cli-development-skill

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 471,000+ vetted skills library on demand.