kit-extensions

Develop custom KIT CLI extensions using Go and the Yaegi interpreter.

118|17|Updated Feb 26, 2026
One-click install
npx skills add https://github.com/mark3labs/kit --skill kit-extensions
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: kit-extensions
Source: https://github.com/mark3labs/kit/tree/main/skills/kit-extensions
Command: npx skills add https://github.com/mark3labs/kit --skill kit-extensions

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a comprehensive guide for developers to create custom extensions for the KIT (Knowledge Inference Tool) CLI, enabling enhanced functionality and tailored workflows.

Core Features & Use Cases

  • Extension Development: Learn how to write single-file Go programs that hook into Kit's lifecycle.
  • Customization: Register new tools, slash commands, widgets, keyboard shortcuts, and more.
  • Use Case: You need to integrate a custom code linter as a tool within Kit, or create a new slash command to quickly generate boilerplate code for your projects.

Quick Start

Create a new extension by writing a Go program with an Init(api ext.API) function and placing it in the appropriate extensions directory.

Frequently Asked Questions about kit-extensions

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

FAQPage Schema
How do I build custom extensions for the Kit CLI?

You can customize Kit by registering new tools, slash commands, widgets, and keyboard shortcuts. This allows integrating custom logic like code linters or code generation commands.

Can I use Go to develop agent extensions for Kit?

Developing Kit extensions requires a Go program featuring an `Init(api ext.API)` function. The program utilizes the Yaegi interpreter to facilitate context manipulation and tool registration without external dependencies.

What is the best way to integrate a custom code linter into Kit?

You can extend Kit's capabilities by defining custom commands and tools through extension development. This enables tailored workflows like generating boilerplate code or running custom logic during specific lifecycle events.

How does lifecycle event handling work when developing Kit CLI extensions?

Yes, the extension system supports UI customization. You can register widgets and define keyboard shortcuts within your Go program to tailor the Kit interface to your specific workflow.