Create New Slash Command

Create kebab-case slash command documentation files for Cursor and Claude.

2|Updated Jan 30, 2026
One-click install
npx skills add https://github.com/LinXueyuanStdio/viben --skill create-new-slash-command
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Create New Slash Command
Source: https://github.com/LinXueyuanStdio/viben/tree/main/packages/core/templates/codex/skills/create-command
Command: npx skills add https://github.com/LinXueyuanStdio/viben --skill create-new-slash-command

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you quickly create a new slash command documentation file in multiple agent platforms without manually duplicating formatting and conventions.

Core Features & Use Cases

  • Kebab-case command creation: Converts the provided command name into a consistent kebab-case identifier for file generation.
  • Description-driven command structuring: Chooses an appropriate command outline (initialization, pre-development, code check, recording, generation) based on what the description implies.
  • Dual-platform sync: Creates the command in both .cursor/commands/ (with viben- prefix) and .claude/commands/viben/ so behavior stays aligned across tools.
  • Standardized output: Returns the created command name, file paths, usage string, and the provided description.

Quick Start

Create a slash command named review-pr with a description that explains how it should review pull request code changes against project guidelines.

Frequently Asked Questions about Create New Slash Command

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

FAQPage Schema
How do I create synchronized slash commands across Cursor and Claude?

To create synchronized slash commands across Cursor and Claude, provide a command name and description to generate paired documentation in both `.cursor/commands/` and `.claude/commands/viben/` directories.

How do I generate a kebab-case slash command for agent tooling?

Generating a kebab-case slash command requires providing a command name and description, which the system converts into a consistent kebab-case identifier for file generation and shared command discovery.

Does the slash command generation require a specific naming convention?

Yes, slash command generation strictly requires kebab-case naming for the command identifier to ensure standardized file creation and consistent tool-command definitions across platforms.

What is the best way to structure a slash command for team workflows?

The best way to structure a slash command for team workflows is using a description-driven approach that selects an appropriate command outline like initialization, pre-development, code check, recording, or generation.

Can I use this to create slash commands with a viben- prefix in Cursor?

Yes, you can create Cursor slash commands with a `viben-` prefix by providing a command description, which automatically generates the file in the `.cursor/commands/` directory.

Why does my dual-platform slash command need a usage summary?

A dual-platform slash command needs a confirmed usage summary to return the created command name, file paths, and usage string, ensuring behavior stays aligned across Cursor and Claude tools.