slash-command-system

Community

Document and extend CC-Connect slash commands.

Authorliuyu520
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Documents how built-in slash commands are defined, registered, and routed within CC-Connect to help developers understand, debug, and extend the command system.

Core Features & Use Cases

  • Registry-based command definitions: two-layer registration with names (aliases) and IDs, plus an adapter pipeline for different handler signatures.
  • Command routing and matching: exact and prefix matching with ambiguity handling, and privileged command checks.
  • i18n and localization: centralized translation keys for built-in commands and multi-language descriptions.
  • Extensibility patterns: composite commands, subcommands, aliases, and clear extension points in initBuiltinCommands.

Quick Start

Add your new command entry in initBuiltinCommands, update the i18n key, and recompile to test the new command.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 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: slash-command-system
Download link: https://github.com/liuyu520/cc-connect-fork/archive/main.zip#slash-command-system

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.