slash-command-creation-reuse
CommunitySpeed up new slash commands by reusing patterns.
Authorliuyu520
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps teams create new slash commands by reusing proven patterns (descriptor in index.ts, implementation file, and centralized registration) to reduce boilerplate and ensure consistency across commands.
Core Features & Use Cases
- Reuse command skeletons to accelerate the creation of new slash commands, ensuring standard interfaces and lifecycle.
- Enforce a clean architecture: descriptor (index.ts), implementation (my-command.ts), and registration (commands.ts) with lazy loading.
- Use context-aware patterns for setMessages, onDone, resume, and command flow to enable reliable interactions within the REPL or UI.
Quick Start
Create a new command by following the index.ts descriptor pattern, implement its logic in the implementation file, and register it in the central command registry.
Dependency Matrix
Required Modules
None requiredComponents
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-creation-reuse Download link: https://github.com/liuyu520/cc_source/archive/main.zip#slash-command-creation-reuse Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.