creating-zed-extensions

Create Rust/WASM Zed extensions with custom slash commands and integrations.

121|16|Updated Oct 10, 2025
One-click install
npx skills add https://github.com/pr-pm/prpm --skill creating-zed-extensions
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: creating-zed-extensions
Source: https://github.com/pr-pm/prpm/tree/main/.claude/skills/creating-zed-extensions
Command: npx skills add https://github.com/pr-pm/prpm --skill creating-zed-extensions

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill eliminates the complexity of developing custom Zed extensions by providing clear templates, examples, and workflows for creating slash commands, language support, and integrations.

Core Features & Use Cases

  • Slash Command Development: Create custom assistant commands like /deploy, /analyze, or /fetch-docs.
  • Extension Architecture: Understand Rust/WASM extension structure and the Zed Extension API.
  • Use Case: Imagine you need to quickly deploy code from within Zed. Use this Skill to create a /deploy command that builds and deploys your project directly from the assistant panel.

Quick Start

Use the creating-zed-extensions skill to generate a basic Zed extension template with a simple echo command that returns user input.

Frequently Asked Questions about creating-zed-extensions

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

FAQPage Schema
How do I create a custom slash command in Zed?

Create a slash command by implementing the zed::Extension trait in Rust, defining run_slash_command in your extension, and declaring it in extension.toml. Deploy via the Zed extension registry to make it available in the assistant panel.

What programming language and tools do I need to build Zed extensions?

Build Zed extensions using Rust compiled to WebAssembly (WASM). You'll need Cargo, extension.toml for metadata, and familiarity with the Zed Extension API to implement custom functionality.

Can I add language support and themes to Zed through extensions?

Yes. Zed extensions support language services, custom grammars, and color themes alongside slash commands. Use the Extension trait to register these components and expose them through the extension registry.

How do I integrate MCP servers with my Zed extension?

Implement MCP server connections within your Rust/WASM extension by handling server lifecycle in run_slash_command and emitting SlashCommandOutput results compatible with Zed's extension registry.

Do I need prior Rust experience to build Zed extensions?

Rust knowledge is essential since extensions use the Rust/WASM framework and Zed Extension API. Familiarity with traits, async patterns, and WASM compilation will accelerate development.

What happens when a user invokes a slash command I've created?

Zed calls your extension's run_slash_command handler with user input. Your handler processes the request and emits SlashCommandOutput back to the assistant panel, displaying results to the user.