v0.1.6·Advanced
Skills
Build and deploy custom skills for the CLI

Skills

Skills are reusable units of functionality that extend the CLI's capabilities.

What are Skills?

Skills enable you to:

  • Package custom commands and utilities
  • Share functionality across projects
  • Build domain-specific extensions
  • Create specialized workflows

Anatomy of a Skill

A skill consists of:

  • Manifest - Configuration and metadata
  • Handler - Core implementation
  • Dependencies - Required libraries and tools
  • Documentation - Usage instructions

Creating a Skill

// skill.ts
export const createMySkill = (config?: SkillConfig) => {
  return {
    name: 'my-skill',
    version: '1.0.0',
    execute: async (args) => {
      // Your skill logic here
    }
  }
}

Using Skills

Integrate skills into your CLI configuration:

skills:
  - name: my-skill
    version: 1.0.0
    config: {}

Best Practices

  • Keep skills focused and single-purpose
  • Document all available options
  • Provide clear error messages
  • See best practices for more details
© 2025 UI Lab • Built for humans and machines